论文标题

猫头鹰眼睛:通过视觉理解发现UI显示问题

Owl Eyes: Spotting UI Display Issues via Visual Understanding

论文作者

Liu, Zhe, Chen, Chunyang, Wang, Junjie, Huang, Yuekai, Hu, Jun, Wang, Qing

论文摘要

图形用户界面(GUI)提供了软件应用程序和最终用户之间的视觉桥梁,他们可以通过它们相互交互。随着技术和美学的发展,GUI的视觉效果越来越吸引人。但是,这种GUI复杂性对GUI实施构成了巨大的挑战。根据我们对人群测试错误报告的试点研究,显示文本重叠,模糊屏幕,由于软件或硬件兼容性而在不同设备上的GUI渲染期间总是发生缺少图像。它们对应用程序的可用性产生负面影响,导致用户体验差。为了检测这些问题,我们基于对GUI屏幕截图的视觉信息进行建模的深入学习提出了一种新颖的方法Owleye。因此,Owleye可以检测出显示问题的GUI,并在给定GUI中找到问题的详细区域,以指导开发人员修复错误。我们手动构建了一个带有4,470个GUI屏幕截图的大型标签数据集,其中包含UI显示问题,并开发了一种基于启发式的数据增强方法来提高Owleye的性能。评估表明,在检测UI显示问题时,我们的Owleye可以达到85%的精度和84%的召回,而在本地化这些问题的定位中精度为90%。我们还通过在Google Play和F-Droid上使用流行的Android应用程序评估Owleye,并成功地发现了57个以前未定的UI显示问题,其中26个已确认或固定。

Graphical User Interface (GUI) provides a visual bridge between a software application and end users, through which they can interact with each other. With the development of technology and aesthetics, the visual effects of the GUI are more and more attracting. However, such GUI complexity posts a great challenge to the GUI implementation. According to our pilot study of crowdtesting bug reports, display issues such as text overlap, blurred screen, missing image always occur during GUI rendering on different devices due to the software or hardware compatibility. They negatively influence the app usability, resulting in poor user experience. To detect these issues, we propose a novel approach, OwlEye, based on deep learning for modelling visual information of the GUI screenshot. Therefore, OwlEye can detect GUIs with display issues and also locate the detailed region of the issue in the given GUI for guiding developers to fix the bug. We manually construct a large-scale labelled dataset with 4,470 GUI screenshots with UI display issues and develop a heuristics-based data augmentation method for boosting the performance of our OwlEye. The evaluation demonstrates that our OwlEye can achieve 85% precision and 84% recall in detecting UI display issues, and 90% accuracy in localizing these issues. We also evaluate OwlEye with popular Android apps on Google Play and F-droid, and successfully uncover 57 previously-undetected UI display issues with 26 of them being confirmed or fixed so far.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源