Mislabeled issues reduce accuracy of bug finding tools in software
Noisy Issues, Noisy Results: Mislabeling in Information Retrieval-based Bug Localization
Software Engineering
Summary
Bug-finding tools use bug reports to guess where bugs are in software code. This paper shows that many bug reports have incorrect labels, which affects how well these tools seem to work. The authors studied a large number of bug reports and found about one-third were mislabeled. When these wrong labels were removed, the bug-finding tools performed worse than expected. The paper highlights that to fairly compare bug-finding tools, the bug report data needs to be accurate.
What this means in practice
- •For software maintenance teams: Improve validation of bug report data to get more accurate results from bug localization tools used in fixing software defects.
- •For software testing engineers: Adjust testing benchmarks to exclude mislabeled bug issues to better measure and compare bug localization techniques.
Authors
Moumita Asad, Rafed Muhammad Yasir, Yirui He, Ziyao He, Sam Malek
Abstract
Information Retrieval-based Bug Localization (IRBL) leverages bug reports to identify faulty source files. Evaluations of IRBL approaches primarily rely on labeled issues from issue tracking systems. However, prior research has shown that issue labels are frequently incorrect in open-source projects, threatening the validity of IRBL evaluations. Existing studies have primarily examined traditional IRBL techniques on small datasets, overlooking modern approaches and the partial overlap between noisy and cleaned datasets. In this paper, we conduct a large-scale empirical study to investigate the prevalence and impact of mislabeled issues in IRBL benchmarks. We analyze five benchmark datasets comprising over 55,000 issue reports and find that, on average, 34.82% of issues are mislabeled. We further evaluate six IRBL techniques, spanning traditional, deep learning-based, and large language model-based approaches using the widely adopted Ye et al. benchmark and statistical methods that account for dataset overlap. Our results show that removing mislabeled issues from evaluation datasets significantly reduces measured performance across all six techniques, with Mean Reciprocal Rank decreasing by 4.68%-21.74%. Although mislabeling does not change the relative ranking of techniques, it affects the magnitude of their performance differences. These findings highlight the importance of reliable evaluation data for ensuring valid and meaningful comparisons of IRBL techniques.