ScholarMate
English简体中文繁體中文
客服热线:400-1616-289
登录注册
期刊论文

Why My App Crashes? Understanding and Benchmarking Framework-Specific Exceptions of Android Apps

Su, Ting; Fan, Lingling*; Chen, Sen; Liu, Yang; Xu, Lihua; Pu, Geguang*; Su, Zhendong南开大学; 南阳理工学院; 天津大学
IEEE Transactions on Software Engineering2022-4-1DOI: 10.1109/TSE.2020.3013438
26被引10阅读
引用收藏
分享

摘要

Mobile apps have become ubiquitous. Ensuring their correctness and reliability is important. However, many apps still suffer from occasional to frequent crashes, weakening their competitive edge. Large-scale, deep analyses of the characteristics of real-world app crashes can provide useful insights to both developers and researchers. However, such studies are difficult and yet to be carried out - this work fills this gap. We collected 16,245 and 8,760 unique exceptions from 2,486 open-source and 3,230 commercial Android apps, respectively, and observed that the exceptions thrown from Android framework (termed "framework-specific exceptions") account for the majority. With one-year effort, we (1) extensively investigated these framework-specific exceptions, and (2) further conducted an online survey of 135 professional app developers about how they analyze, test, reproduce and fix these exceptions. Specifically, we aim to understand the framework-specific exceptions from several perspectives: (i) their characteristics (e.g., manifestation locations, fault taxonomy), (ii) the developers' testing practices, (iii) existing bug detection techniques' effectiveness, (iv) their reproducibility and (v) bug fixes. To enable follow-up research (e.g., bug understanding, detection, localization and repairing), we further systematically constructed, DroidDefects, the first comprehensive and largest benchmark of Android app exception bugs. This benchmark contains 33 reproducible exceptions (with test cases, stack traces, faulty and fixed app versions, bug types, etc.), and 3,696 ground-truth exceptions (real faults manifested by automated testing tools), which cover the apps with different complexities and diverse exception types. Based on our findings, we also built two prototype tools: Stoat+, an optimized dynamic testing tool, which quickly uncovered three previously-unknown, fixed crashes in Gmail and Google+; ExLocator, an exception localization tool, which can locate the root causes of specific exception types. Our dataset, benchmark and tools are publicly available on https://github.com/tingsu/droiddefects.

学科与关键词

关键词
Computer bugsToolsAndroidsHumanoid robotsBenchmark testingMobile applicationsandroid applicationsempirical studyexception analysissoftware testingbug reproducibility
相关
加载中…

文献加载失败,请重试

重试

发表信息

论文状态
公开发表
期刊
IEEE Transactions on Software Engineering
发表日期
2022-04-01
卷期
第 48 卷, 第 4 期
页码
1115-1137
DOI
10.1109/TSE.2020.3013438
语言
ENGLISH
期刊等级
1区
成果收录
SCIE
资助标注
SNSF Spark Project [CRSK-2_190302]; NSFC [61632005, 61532019]; National Research Foundation, Prime Ministers Office, Singapore under its National Cybersecurity RD Program [NRF2018NCR-NCR005-0001]; Singapore National Research Foundation under NCR [NRF2018NCR-NSOE004-0001]; NRF Investigatorship [NRFI06-2020-0022]; Swiss National Science Foundation (SNF) [CRSK-2_190302] Funding Source: Swiss National Science Foundation (SNF)

作者

  • S

    Su, Ting (第一作者)

  • F

    Fan, Lingling (通讯)

    nankai univ · nanyang technol univ

查看全部 7 位作者收起作者
  • C

    Chen, Sen

    nanyang technol univ · tianjin univ

  • L

    Liu, Yang

    nanyang technol univ

  • X

    Xu, Lihua

    new

  • P

    Pu, Geguang (通讯)

  • S

    Su, Zhendong

登录解锁更多功能

  • 收藏这篇,随时在“我的 · 收藏”找回
  • 认领你的成果,生成推广素材
  • 关注作者获取最新成果
  • 加入项目组、协同写作
注册 / 登录

产品服务

  • 科研之友
  • 创新城
  • 科创云

服务支持

  • 帮助中心
  • 隐私政策
  • 服务条款

联系方式

在线客服:【】
客服热线:400-1616-289
电子邮箱:support@scholarmate.com

关注或下载科研之友

微信二维码
微信公众号
客户端下载二维码
下载客户端
科研成果科研人员科研机构科研动态爱瑞思软件

©2026 深圳市科研之友网络服务有限公司

公安备案图标粤公网安备 44030502000213
粤ICP备 16046710 号粤B2-20110417