Improving bug localization using structured information retrieval
Ripon K. Saha, Matthew Lease, Sarfraz Khurshid D et al. · IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2013
Locating bugs is important, difficult, and expensive, particularly for large-scale systems. To address this, natural language information retrieval techniques are increasingly being used to suggest potential faulty source files given bug reports. While these techniques are very scalable, in practice their effectiveness remains low in accurately localizing bugs to a small number of files. Our key insight is that structured information retrieval based on code constructs, such as class and method names, enables more accurate bug localization. We present BLUiR, which embodies this insight, requires only the source code and bug reports, and takes advantage of bug similarity data if available. We build BLUiR on a proven, open source IR toolkit that anyone can use. Our work provides a thorough grounding of IR-based bug localization research in fundamental IR theoretical and empirical knowledge and practice. We evaluate BLUiR on four open source projects with approximately 3,400 bugs. Results show that BLUiR matches or outperforms a current state-of-the-art tool across applications considered, even when BLUiR does not use bug similarity data used by the other tool.
Cited by 390 works. doi:10.1109/ase.2013.6693093
Authors
References
- Latent dirichlet allocation
- The anatomy of a large-scale hypertextual Web search engine
- Term-weighting approaches in automatic text retrieval
- Introduction to information retrieval
- Introduction to Information Retrieval
- Probabilistic Latent Semantic Indexing
- Relevance feedback in information retrieval
- No Silver Bullet Essence and Accidents of Software Engineering
- Probabilistic latent semantic indexing
- 10.1162/jmlr.2003.3.4-5.993