The DOI matches its Crossref record; 36 of the 38 references it cites were found in a registry or an index.
Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports
Abstract
For a large and evolving software system, the project team could receive a large number of bug reports. Locating the source code files that need to be changed in order to fix the bugs is a challenging task. Once a bug report is received, it is desirable to automatically point out to the files that developers should change in order to fix the bug. In this paper, we propose BugLocator, an information retrieval based method for locating the relevant files for fixing a bug. BugLocator ranks all files based on the textual similarity between the initial bug report and the source code using a revised Vector Space Model (rVSM), taking into consideration information about similar bugs that have been fixed before. We perform large-scale experiments on four open source projects to localize more than 3,000 bugs. The results show that BugLocator can effectively locate the files where the bugs should be fixed. For example, relevant buggy files for 62.60% Eclipse 3.1 bugs are ranked in the top ten among 12,863 files. Our experiments also show that BugLocator outperforms existing state-of-the-art bug localization methods.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Introduction to Information Retrieval
Manning, C. D., Raghavan, P., & Schütze, H. (2008) · doi:10.1017/cbo9780511809071 · Cited by 11,288
Foundations of statistical natural language processing
Manning, C. D., & Schütze, H. (1999) · Cited by 9,816
THE POPULATION FREQUENCIES OF SPECIES AND THE ESTIMATION OF POPULATION PARAMETERS
Good, I. J. (1953) · Biometrika · doi:10.1093/biomet/40.3-4.237 · Cited by 3,427
Visualization of test information to assist fault localization
Jones, J. A., Harrold, M. J., & Stasko, J. (2002) · Proceedings of the 24th International Conference on Software Engineering. ICSE 2002 · doi:10.1145/581396.581397 · Cited by 1,301
Empirical evaluation of the tarantula automatic fault-localization technique
Jones, J. A., & Harrold, M. J. (2005) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/1101908.1101949 · Cited by 1,274
Simplifying and isolating failure-inducing input
Zeller, A., & Hildebrandt, R. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/32.988498 · Cited by 1,084
Anvik, J., Hiew, L., & Murphy, G. C. (2006) · Proceedings/Proceedings - International Conference on Software Engineering · doi:10.1145/1134285.1134336 · Cited by 927
The TREC-8 Question Answering Track Report
Voorhees, E. M. (1999) · Cited by 831
Witten, I. H., & Bell, T. (1991) · IEEE Transactions on Information Theory · doi:10.1109/18.87000 · Cited by 737
Predicting the location and number of faults in large software systems
Ostrand, T. J., Weyuker, E. J., & Bell, R. M. (2005) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2005.49 · Cited by 723
Quantitative analysis of faults and failures in a complex software system
Fenton, N., & Ohlsson, N. (2000) · IEEE Transactions on Software Engineering · doi:10.1109/32.879815 · Cited by 702
Bettenburg, N., Just, S., Schröter, A., Weiß, C., Premraj, R., & Zimmermann, T. (2008) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/1453101.1453146 · Cited by 640
Improving the retrieval of information from external sources
Dumais, S. (1991) · Behavior Research Methods, Instruments, & Computers · doi:10.3758/bf03203370 · Cited by 581
An approach to detecting duplicate bug reports using natural language and execution information
Wang, X., Zhang, L., Xie, T., Anvik, J., & Sun, J. (2008) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1368088.1368151 · Cited by 544
Predicting Faults from Cached History
Kim, S., Zimmermann, T., Whitehead, E. J., & Zeller, A. (2007) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2007.66 · Cited by 503
A practical evaluation of spectrum-based fault localization
Abreu, R., Zoeteweij, P., Golsteijn, R., & van Gemund, A. J. C. (2009) · Journal of Systems and Software · doi:10.1016/j.jss.2009.06.035 · Cited by 496
Scalable statistical bug isolation
Liblit, B., Naik, M., Zheng, A. X., Aiken, A., & Jordan, M. I. (2005) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1065010.1065014 · Cited by 480
Poshyvanyk, D., Guéhéneuc, Y., Marcus, A., Antoniol, G., & Rajlich, V. (2007) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2007.1016 · Cited by 469
An information retrieval approach to concept location in source code
Marcus, A., Sergeyev, A., Rajlich, V., & Maletic, J. I. (2005) · Working Conference on Reverse Engineering (WCRE) · doi:10.1109/wcre.2004.10 · Cited by 458
Search Engines: Information Retrieval in Practice
Levene, M. (2010) · The Computer Journal · doi:10.1093/comjnl/bxq039 · Cited by 348
A discriminative model approach for accurate duplicate bug report retrieval
Sun, C. P., Lo, D., Wang, X., Jiang, J., & Khoo, S. (2010) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1806799.1806811 · Cited by 341
Self-citationBug localization using latent Dirichlet allocation
Lukins, S. K., Kraft, N. A., & Etzkorn, L. H. (2010) · Information and Software Technology · doi:10.1016/j.infsof.2010.04.002 · Cited by 314
Statistical Debugging: A Hypothesis Testing-Based Approach
Liu, C., Long, F., Yan, X., Han, J., & Midkiff, S. P. (2006) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2006.105 · Cited by 288
Duplicate bug reports considered harmful … really?
Bettenburg, N., Premraj, R., Zimmermann, T., & Kim, S. (2008) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2008.4658082 · Cited by 278
Retrieval from software libraries for bug localization
Rao, S., & Kak, A. C. (2011) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/1985441.1985451 · Cited by 255
Extraction of bug localization benchmarks from history
Dallmeier, V., & Zimmermann, T. (2007) · doi:10.1145/1321631.1321702 · Cited by 219
Feature location via information retrieval based filtering of a single scenario execution trace
Liu, D., Marcus, A., Poshyvanyk, D., & Rajlich, V. (2007) · doi:10.1145/1321631.1321667 · Cited by 214
LETTER TO THE EDITOR: THE KULLBACK-LEIBLER DISTANCE
Kullback, S. (1987) · Cited by 197
On the use of relevance feedback in IR-based concept location
Gay, G., Haiduc, S., Marcus, A., & Menzies, T. (2009) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2009.5306315 · Cited by 185
An investigation of the relationships between lines of code and defects
Zhang, H. (2009) · Proceedings/Proceedings - Conference on Software Maintenance · doi:10.1109/icsm.2009.5306304 · Cited by 156
Self-citationExperimental evaluation of using dynamic slices for fault location
Zhang, X., He, H., Gupta, N., & Gupta, R. (2005) · International Symposium on Automated Analysis-Driven Debugging (AADEBUG) · doi:10.1145/1085130.1085135 · Cited by 152
Combining Probabilistic Ranking and Latent Semantic Indexing for Feature Identification
Poshyvanyk, D., Marcus, A., Rajlich, V., Guéhéneuc, Y., & Antoniol, G. (2006) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2006.17 · Cited by 126
Feature identification: a novel approach and a case study
Antoniol, G., & Guéhéneuc, Y. (2005) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsm.2005.48 · Cited by 112
Predicting faults from cached history
Kim, S., Zimmermann, T., Whitehead, E. J., & Zeller, A. (2008) · India Software Engineering Conference · doi:10.1145/1342211.1342216 · Cited by 91
Identifying the starting impact set of a maintenance request: a case study
Antoniol, G., Canfora, G., Casazza, G., & Lucia, A. D. (2002) · Euromicro Conference on Software Maintenance and Reengineering (CSMR) · doi:10.1109/csmr.2000.827331 · Cited by 89
Software process data quality and characteristics
Bachmann, A., & Bernstein, A. (2009) · doi:10.1145/1595808.1595830 · Cited by 80
Flagged first, then by citations
2 of the 38 references couldn’t be matched to a known paper.
Research works printed but not linked: 5
- 10.2307/2333344 · DOI
- garcia, 2006, Description Advantages and Limitations of the Classic Vector Space Model
- 10.1162/jmlr.2003.3.4-5.993 · DOI
- deerwester, 1988, Improving Information Retrieval with Latent Semantic Indexing, Proceedings of the American Society for Information Science Annual Meeting, 25, 36
- dallmeier, 2007, Automatic Extraction of Bug Localization Benchmarks from History
Cited by
Sorted by citations
A Survey on Software Fault Localization
Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2521368 · Cited by 1,110
Demystifying LLM-Based Software Engineering Agents
Xia, C. S., Deng, Y., Dunn, S., & Zhang, L. (2025) · Proceedings of the ACM on Software Engineering · doi:10.1145/3715754 · Cited by 849
A Novel Neural Source Code Representation Based on Abstract Syntax Tree
Zhang, J., Wang, X., Zhang, H., Sun, H., Wang, K., & Liu, X. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00086 · Cited by 738
Self-citationImproving bug localization using structured information retrieval
Saha, R. K., Lease, M., Sarfraz Khurshid, D., & Perry, D. E. (2013) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2013.6693093 · Cited by 421
An Empirical Study of Fault Localization Families and Their Combinations
Zou, D., Liang, J., Xiong, Y., Ernst, M. D., & Zhang, L. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2892102 · Cited by 282
Metadata
- Authors
- Zhou, J., Zhang, H., & Lo, D.
- Affiliations
- Tsinghua University (CN)
- Singapore Management University (SG)
- Venue
- 2012 34th International Conference on Software Engineering (ICSE)
- Publisher
- IEEE
- Published
- 2012-06
- Pages
- 14-24
- ISSN
- 0270-5257 (ISSN-L)
- OpenAlex
- W3149255455
- Cited by
- 507
- References
- 38
- Citations by year
- 2026: 26 · 2025: 34 · 2024: 31 · 2023: 53 · 2022: 57 · 2021: 58 · 2020: 42 · 2019: 41 · 2018: 28 · 2017: 39 · 2016: 27 · 2015: 31 · 2014: 18 · 2013: 20 · 2012: 2
- FWCI
- 17.86
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
- Funders
- National Natural Science Foundation of China
- Tsinghua University
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Keywords
- bug localization, bug reports, information retrieval, text similarity, eclipses, open source software
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review