Augmenting bug localization with part-of-speech and invocation

Zhou, Yu, Tong, Yanxiang, Chen, Taolue and Han, Jin (2017) Augmenting bug localization with part-of-speech and invocation. International Journal of Software Engineering and Knowledge Engineering, 27 (06) . pp. 925-949. ISSN 0128-1940 [Article] (doi:10.1142/s0218194017500346)

PDF - Final accepted version (with author's formatting)
Download (451kB) | Preview


Bug localization represents one of the most expensive, as well as time-consuming, activities during software maintenance and evolution. To alleviate the workload of developers, numerous methods have been proposed to automate this process and narrow down the scope of reviewing buggy files. In this paper, we present a novel buggy source-file localization approach, using the information from both the bug reports and the source files. We leverage the part-of-speech features of bug reports and the invocation relationship among source files. We also integrate an adaptive technique to further optimize the performance of the approach. The adaptive technique discriminates Top 1 and Top N recommendations for a given bug report and consists of two modules. One module is to maximize the accuracy of the first recommended file, and the other one aims at improving the accuracy of the fixed defect file list. We evaluate our approach on six large-scale open source projects, i.e. ASpectJ, Eclipse, SWT, Zxing, Birt and Tomcat. Compared to the previous work, empirical results show that our approach can improve the overall prediction performance in all of these cases. Particularly, in terms of the Top 1 recommendation accuracy, our approach achieves an enhancement from 22.73% to 39.86% for ASpectJ, from 24.36% to 30.76% for Eclipse, from 31.63% to 46.94% for SWT, from 40% to 55% for ZXing, from 7.97% to 21.99% for Birt, and from 33.37% to 38.90% for Tomcat.

Item Type: Article
Keywords (uncontrolled): Computer Networks and Communications, Software, Artificial Intelligence, Computer Graphics and Computer-Aided Design
Research Areas: A. > School of Science and Technology > Computer Science > Foundations of Computing group
Item ID: 27175
Notes on copyright: Electronic version of an article published asInternational Journal of Software Engineering and Knowledge Engineering 27 (6), pp. 925-950.

© copyright World Scientific Publishing Company
Useful Links:
Depositing User: Jisc Publications Router
Date Deposited: 25 Jul 2019 11:21
Last Modified: 29 Nov 2022 20:43

Actions (login required)

View Item View Item


Activity Overview
6 month trend
6 month trend

Additional statistics are available via IRStats2.