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.
翻译:Android碎片化是指Android设备和操作系统版本的多样性,这导致无法在每个支持的设备上测试应用程序,使得大量兼容性错误分散在整个社区中,从而导致用户体验差。为了解决这个问题,我们的研究人员设计了各种工具以自动检测这些兼容性问题。然而,当前最先进的工具只能用于检测特定类型的兼容性问题(即由API签名演变引起的兼容性问题),即许多其他关键类型的兼容性问题仍然未被揭示。例如,在实际设备上的定制操作系统版本和操作系统的语义变化可能会导致严重的兼容性问题,这些问题无法通过静态检测解决。为此,我们提出了一种新颖的轻量级众测方法LAZYCOW,以填补这一研究空白,实现通过众包努力驯服Android碎片化的可能性。具体而言,众包测试是传统移动测试机制的一种新兴替代方法,允许开发人员在实际设备上测试产品以针对特定平台问题。在实际的数千个测试用例上的实验结果表明,LAZYCOW在自动识别和验证API引发的兼容性问题方面非常有效。此外,在通过定性指标来研究用户体验后,用户的满意度提供了 LAZYCOW在实践中是有用且受欢迎的强有力的证据。