arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.04347cs.SEcs.PL
收藏

通过轻量级众包测试应对Android碎片化问题

Taming Android Fragmentation through Lightweight Crowdsourced Testing

Xiaoyu Sun, Xiao Chen, Yonghui Liu, John Grundy, Li Li

AI总结:

针对现有工具仅能检测特定Android兼容性问题的不足,提出轻量级众包测试方法LAZYCOW,可在真实设备上有效识别验证API引发的兼容性问题,实用性获用户认可。

摘要:

Android碎片化指的是Android设备与操作系统版本的极度多样性。这种多样性导致开发者无法在所有支持的设备上测试应用,使得大量兼容性bug散落在社区中,进而造成糟糕的用户体验。为缓解这一问题,已有研究人员设计了多种方案来自动检测此类兼容性问题。然而,当前最先进的工具仅能检测特定类型的兼容性问题(即由API签名演变引发的兼容性问题),也就是说,许多其他重要类型的兼容性问题仍未被覆盖。例如,真实设备上的定制化操作系统版本以及操作系统的语义变化都可能引发严重的兼容性问题,这类问题很难通过静态检测发现。针对这一现状,我们提出了一种新颖的轻量级众包测试方法LAZYCOW,以填补这一研究空白,实现通过众包力量应对Android碎片化的可能。具体而言,众包测试是传统移动测试机制的新兴替代方案,允许开发者在真实设备上测试产品,从而定位特定平台的问题。在真实Android设备上开展的数千个测试用例的实验结果表明,LAZYCOW能够有效自动识别并验证由API引发的兼容性问题。此外,通过定性指标调研用户体验后发现,用户满意度充分证明LAZYCOW在实际应用中具备实用性且受到欢迎。

英文摘要:

Android fragmentation refers to the overwhelming diversity of Android devices and OS versions. These lead to the impossibility of testing an app on every supported device, leaving a number of compatibility bugs scattered in the community and thereby resulting in poor user experiences. To mitigate this, our fellow researchers have designed various works to automatically detect such compatibility issues. However, the current state-of-the-art tools can only be used to detect specific kinds of compatibility issues (i.e., compatibility issues caused by API signature evolution), i.e., many other essential types of compatibility issues are still unrevealed. For example, customized OS versions on real devices and semantic changes of OS could lead to serious compatibility issues, which are non-trivial to be detected statically. To this end, we propose a novel, lightweight, crowdsourced testing approach, LAZYCOW, to fill this research gap and enable the possibility of taming Android fragmentation through crowdsourced efforts. Specifically, crowdsourced testing is an emerging alternative to conventional mobile testing mechanisms that allow developers to test their products on real devices to pinpoint platform-specific issues. Experimental results on thousands of test cases on real-world Android devices show that LAZYCOW is effective in automatically identifying and verifying API-induced compatibility issues. Also, after investigating the user experience through qualitative metrics, users' satisfaction provides strong evidence that LAZYCOW is useful and welcome in practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑