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 Nature]
卷期号: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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
fan完成签到,获得积分10
1秒前
2秒前
小二郎应助成就的纸飞机采纳,获得10
2秒前
2秒前
顾矜应助大力成危采纳,获得10
3秒前
4秒前
aaaa发布了新的文献求助10
4秒前
4秒前
5秒前
pilgrimmeteor完成签到,获得积分10
5秒前
共享精神应助王木南采纳,获得20
6秒前
愤怒的茉莉完成签到,获得积分10
6秒前
6秒前
linyudie发布了新的文献求助10
7秒前
东123发布了新的文献求助10
7秒前
7秒前
xm发布了新的文献求助10
8秒前
shizi完成签到,获得积分10
8秒前
8秒前
量子星尘发布了新的文献求助10
8秒前
量子星尘发布了新的文献求助10
8秒前
谨慎博超完成签到,获得积分10
9秒前
赘婿应助11采纳,获得10
9秒前
小柠檬完成签到,获得积分10
9秒前
水生的鱼完成签到,获得积分10
10秒前
10秒前
科目三应助榆木小鸟采纳,获得10
10秒前
佛人世间完成签到,获得积分10
10秒前
NXK发布了新的文献求助10
11秒前
川川发布了新的文献求助30
11秒前
王然发布了新的文献求助10
11秒前
酷炫书芹完成签到,获得积分10
12秒前
13秒前
14秒前
天天快乐应助run采纳,获得10
14秒前
14秒前
柔弱凛发布了新的文献求助10
14秒前
15秒前
Ayn发布了新的文献求助10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 2000
从k到英国情人 1500
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Russian Foreign Policy: Change and Continuity 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5727744
求助须知:如何正确求助?哪些是违规求助? 5309981
关于积分的说明 15312237
捐赠科研通 4875187
什么是DOI,文献DOI怎么找? 2618600
邀请新用户注册赠送积分活动 1568248
关于科研通互助平台的介绍 1524927