Automated classification of actions in bug reports of mobile apps

Hui Liu*, Mingzhu Shen, Jiahao Jin, Yanjie Jiang

*此作品的通讯作者

科研成果: 书/报告/会议事项章节会议稿件同行评审

14 引用 (Scopus)

摘要

When users encounter problems with mobile apps, they may commit such problems to developers as bug reports. To facilitate the processing of bug reports, researchers proposed approaches to validate the reported issues automatically according to the steps to reproduce specified in bug reports. Although such approaches have achieved high success rate in reproducing the reported issues, they often rely on a predefined vocabulary to identify and classify actions in bug reports. However, such manually constructed vocabulary and classification have significant limitations. It is challenging for the vocabulary to cover all potential action words because users may describe the same action with different words. Besides that, classification of actions solely based on the action words could be inaccurate because the same action word, appearing in different contexts, may have different meaning and thus belongs to different action categories. To this end, in this paper we propose an automated approach, called MaCa, to identify and classify action words in Mobile apps' bug reports. For a given bug report, it first identifies action words based on natural language processing. For each of the resulting action words, MaCa extracts its contexts, i.e., its enclosing segment, the associated UI target, and the type of its target element by both natural language processing and static analysis of the associated app. The action word and its contexts are then fed into a machine learning based classifier that predicts the category of the given action word in the given context. To train the classifier, we manually labelled 1,202 actions words from 525 bug reports that are associated with 207 apps. Our evaluation results on manually labelled data suggested that MaCa was accurate with high accuracy varying from 95% to 96.7%. We also investigated to what extent MaCa could further improve existing approaches (i.e., Yakusu and ReCDroid) in reproducing bug reports. Our evaluation results suggested that integrating MaCa into existing approaches significantly improved the success rates of ReCDroid and Yakusu by 22.7% = (69.2%-56.4%)/56.4% and 22.9%= (62.7%-51%)/51%, respectively.

源语言英语
主期刊名ISSTA 2020 - Proceedings of the 29th ACM SIGSOFT International Symposium on Software Testing and Analysis
编辑Sarfraz Khurshid, Corina S. Pasareanu
出版商Association for Computing Machinery, Inc
128-140
页数13
ISBN(电子版)9781450380089
DOI
出版状态已出版 - 18 7月 2020
活动29th ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2020 - Virtual, Online, 美国
期限: 18 7月 202022 7月 2020

出版系列

姓名ISSTA 2020 - Proceedings of the 29th ACM SIGSOFT International Symposium on Software Testing and Analysis

会议

会议29th ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2020
国家/地区美国
Virtual, Online
时期18/07/2022/07/20

指纹

探究 'Automated classification of actions in bug reports of mobile apps' 的科研主题。它们共同构成独一无二的指纹。

引用此