AppSPIN: reconfiguration-based responsiveness testing and diagnosing for Android Apps

计算机科学 瓶颈 Android(操作系统) 移动应用程序 嵌入式系统 控制重构 操作系统 万维网
作者
Zhanyao Lei,Wei Zhao,Zhenkai Ding,Mingyuan Xia,Zhengwei Qi
出处
期刊:Automated software engineering [Springer Science+Business Media]
卷期号:29 (2)
标识
DOI:10.1007/s10515-022-00347-9
摘要

App responsiveness is the most intuitive interpretation of App performance from the users’ perspective. Traditional performance profilers only focus on one type of program activity (e.g., CPU profiling). In contrast, the cause of slow responsiveness can be diverse or even due to the joint effect of multiple kinds. Also, various test configurations, such as device hardware and wireless connectivity, can dramatically impact particular program activities and indirectly affect App responsiveness. Conventional mobile testing lacks mechanisms to reveal configuration-sensitive bugs. In this paper, we propose AppSPIN, a tool to diagnose App responsiveness bugs and systematically explore configuration-sensitive bugs automatically. AppSPIN instruments the App to collect program events and UI responsiveness. The instrumented App is exercised with automated monkey testers, and AppSPIN correlates excessive and lengthy program events with poor responsiveness detected at runtime. The diagnosis process also synthesizes the major resource bottleneck for the App under test. After one test run, AppSPIN automatically alters the test configuration with most bottlenecked resources to further explore responsiveness bugs that occur only with particular test configurations. Our experiments with 30 real-world Apps show that AppSPIN can detect 123 unique responsiveness bugs and successfully diagnose the cause for 87% cases with an average of 15-minute test time and negligible overhead. Also, with altered test configurations, AppSPIN uncovers a considerable number of new bugs within four extra test runs.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
学术小白two完成签到,获得积分10
刚刚
上官若男应助daqi采纳,获得10
刚刚
天涯发布了新的文献求助10
刚刚
1秒前
1秒前
贪玩大侠完成签到,获得积分10
1秒前
1秒前
1秒前
肉肉完成签到 ,获得积分10
1秒前
lxq完成签到,获得积分10
2秒前
3秒前
datang完成签到,获得积分10
3秒前
ck发布了新的文献求助10
3秒前
zy完成签到,获得积分10
3秒前
Zz完成签到,获得积分10
3秒前
3秒前
3秒前
3秒前
4秒前
chq0010完成签到 ,获得积分10
4秒前
wkjfh举报实验的兔纸求助涉嫌违规
4秒前
Yang发布了新的文献求助10
5秒前
白白完成签到 ,获得积分20
5秒前
5秒前
123321发布了新的文献求助10
6秒前
自然的赛凤完成签到 ,获得积分20
6秒前
负责秋天完成签到,获得积分10
6秒前
6秒前
6秒前
Ding发布了新的文献求助10
7秒前
phenory发布了新的文献求助10
7秒前
7秒前
orixero应助哈哈哈采纳,获得10
7秒前
科研通AI6.4应助yoowt采纳,获得10
8秒前
baicunli发布了新的文献求助30
8秒前
缥缈的忆山完成签到,获得积分10
8秒前
gelx发布了新的文献求助10
9秒前
研友_VZG7GZ应助周萍洋采纳,获得10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
晶种分解过程与铝酸钠溶液混合强度关系的探讨 8888
Les Mantodea de Guyane Insecta, Polyneoptera 2000
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
Leading Academic-Practice Partnerships in Nursing and Healthcare: A Paradigm for Change 800
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6421818
求助须知:如何正确求助?哪些是违规求助? 8240891
关于积分的说明 17514982
捐赠科研通 5475756
什么是DOI,文献DOI怎么找? 2892653
邀请新用户注册赠送积分活动 1869005
关于科研通互助平台的介绍 1706436