owl eyes: spotting ui display issues via visual

1
Owl Eyes: Spotting UI Display Issues via Visual Understanding 猫头鹰眼:通过视觉理解发现界面显示缺陷 Zhe Liu , Chunyang Chen , Junjie Wang, Yuekai Huang, Jun Hu, Qing Wang In 35th IEEE/ACM International Conference on Automated Software Engineering (ASE’20) 联系人:刘哲,王俊杰,王青 联系方式:{liuzhe2020, junjie, wq}@iscas.ac.cn OwlEye Link: http://www.owleyes.online:7476/ Demo video: https://www.bilibili.com/video/BV1BK411c7sB 学术论文 Mobile Application u Focus on human computer interaction u Different system settings u UI issues impact on user experience u Manual testing cost is high Automated GUI Testing Tool u Exploring App with random actions u Mainly functional testing u Spot critical crash bugs u Less attention on UI display issues Background Motivation Five Categories of UI display issues u Missing image, Null value, Component occlusion, Text overlap, Blurred screen u Issues don't cause app crash u Issues can be spotted by human eyes Component occlusion Text overlap Missing image Null value Blurred screen OwlEye to model the visual information by deep learning to automatically detect and localize the UI display issues. It builds on the Convolutional Neural Network (CNN) to identify the screenshots with UI display issues, and utilizes Gradient weighted Class Activation Mapping (Grad-CAM) to localize the regions with UI display issues in the screenshots for guiding developers to fix the issues. Approach CNN-based Issues Detection u 12 Convolutional layers u Each layer with Batch Normalization u 6 pooling layers u 4 full connection layers Grad CAM-based Issues Localization u Convolutional layer contains information u Localization map of the important regions u Obtain the Grad-CAM positioning u With the back propagation Heuristics-based Data Augmentation u Generating the UI screenshots with UI display issues from bug-free UI images u Generate 4 kinds of issues screenshots (d) NULL value (c) Missing image (b) Text overlap (a) Component occlusion RQ1: Detection Performance u Precision is 0.85, Recall is 0.84, much better than other baselines RQ2: Localization Performance u UI display issues localization results in an average of 90% RQ3: Usefulness Performance u 57 apps have UI display issues u 10 fixed16 confirmed Evaluation Localization result

Upload: others

Post on 10-Dec-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Owl Eyes: Spotting UI Display Issues via Visual Understanding猫头鹰眼:通过视觉理解发现界面显示缺陷

Zhe Liu , Chunyang Chen , Junjie Wang, Yuekai Huang, Jun Hu, Qing WangIn 35th IEEE/ACM International Conference on Automated Software Engineering (ASE’20)联系人:刘哲,王俊杰,王青 联系方式:{liuzhe2020, junjie, wq}@iscas.ac.cn

OwlEye Link: http://www.owleyes.online:7476/ Demo video: https://www.bilibili.com/video/BV1BK411c7sB

学术论文

• Mobile Applicationu Focus on human computer interactionu Different system settingsu UI issues impact on user experienceu Manual testing cost is high

• Automated GUI Testing Toolu Exploring App with random actionsu Mainly functional testingu Spot critical crash bugsu Less attention on UI display issues

Background Motivation

• Five Categories of UI display issuesu Missing image, Null value, Component

occlusion, Text overlap, Blurred screenu Issues don't cause app crashu Issues can be spotted by human eyes

Component occlusion Text overlap Missing image Null value Blurred screen

OwlEye to model the visual information by deep learning to automatically detect and localize the UI display issues. It builds on the Convolutional Neural Network (CNN) to identify the screenshots with UI display issues, and utilizes Gradient weighted Class Activation Mapping (Grad-CAM) to localize the regions with UI display issues in the screenshots for guiding developers to fix the issues.

Approach

• CNN-based Issues Detectionu 12 Convolutional layersu Each layer with Batch Normalizationu 6 pooling layersu 4 full connection layers

• Grad CAM-based Issues Localizationu Convolutional layer contains informationu Localization map of the important regionsu Obtain the Grad-CAM positioningu With the back propagation

• Heuristics-based Data Augmentation u Generating the UI screenshots with UI display issues from bug-free UI images u Generate 4 kinds of issues screenshots

(d) NULL value(c) Missing image(b) Text overlap(a) Component occlusion

• RQ1: Detection Performance u Precision is 0.85, Recall is 0.84, much

better than other baselines

• RQ2: Localization Performance u UI display issues localization results in

an average of 90%

• RQ3: Usefulness Performance u 57 apps have UI display issuesu 10 fixed,16 confirmed

Evaluation

Localization result