An approach to detecting duplicate bug reports using natural language and execution information

TitleAn approach to detecting duplicate bug reports using natural language and execution information
Publication TypeConference Paper
Year of Publication2008
AuthorsWang, X, Zhang, L, Xie, T, Anvik, J, Sun, J
Secondary TitleProceedings of the 30th international conference on Software engineering
Place PublishedNew York, NY, USA
ISBN Number978-1-60558-079-1
Keywordsbug report, duplicate bug report, execution information, information retrieval, natural language

An open source project typically maintains an open bug repository so that bug reports from all over the world can be gathered. When a new bug report is submitted to the repository, a person, called a triager, examines whether it is a duplicate of an existing bug report. If it is, the triager marks it as DUPLICATE and the bug report is removed from consideration for further work. In the literature, there are approaches exploiting only natural language information to detect duplicate bug reports. In this paper we present a new approach that further involves execution information. In our approach, when a new bug report arrives, its natural language information and execution information are compared with those of the existing bug reports. Then, a small number of existing bug reports are suggested to the triager as the most similar bug reports to the new bug report. Finally, the triager examines the suggested bug reports to determine whether the new bug report duplicates an existing bug report. We calibrated our approach on a subset of the Eclipse bug repository and evaluated our approach on a subset of the Firefox bug repository. The experimental results show that our approach can detect 67%-93% of duplicate bug reports in the Firefox bug repository, compared to 43%-72% using natural language information alone.

Full Text