The Community for Technology Leaders
Green Image
Issue No. 11 - Nov. (2013 vol. 39)
ISSN: 0098-5589
pp: 1597-1610
Dongsun Kim , Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Kowloon, China
Yida Tao , Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Kowloon, China
Sunghun Kim , Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Kowloon, China
Andreas Zeller , Univ. des Saarlandes-Inf., Saarbrucken, Germany
ABSTRACT
To support developers in debugging and locating bugs, we propose a two-phase prediction model that uses bug reports' contents to suggest the files likely to be fixed. In the first phase, our model checks whether the given bug report contains sufficient information for prediction. If so, the model proceeds to predict files to be fixed, based on the content of the bug report. In other words, our two-phase model "speaks up" only if it is confident of making a suggestion for the given bug report; otherwise, it remains silent. In the evaluation on the Mozilla "Firefox" and "Core" packages, the two-phase model was able to make predictions for almost half of all bug reports; on average, 70 percent of these predictions pointed to the correct files. In addition, we compared the two-phase model with three other prediction models: the Usual Suspects, the one-phase model, and BugScout. The two-phase model manifests the best prediction performance.
INDEX TERMS
Predictive models, Feature extraction, Computer bugs, Software, Computational modeling, Data mining, Noise,patch file prediction, Bug reports, machine learning
CITATION
Dongsun Kim, Yida Tao, Sunghun Kim, Andreas Zeller, "Where Should We Fix This Bug? A Two-Phase Recommendation Model", IEEE Transactions on Software Engineering, vol. 39, no. , pp. 1597-1610, Nov. 2013, doi:10.1109/TSE.2013.24
289 ms
(Ver 3.1 (10032016))