Retrieval from software libraries for bug localization
Shivani Rao, Avinash C. Kak · Working Conference on Mining Software Repositories (MSR) · 2011
From the standpoint of retrieval from large software libraries for the purpose of bug localization, we compare five generic text models and certain composite variations thereof. The generic models are: the Unigram Model (UM), the Vector Space Model (VSM), the Latent Semantic Analysis Model (LSA), the Latent Dirichlet Allocation Model (LDA), and the Cluster Based Document Model (CBDM). The task is to locate the files that are relevant to a bug reported in the form of a textual description by a software developer. We use for our study iBUGS, a benchmarked bug localization dataset with 75 KLOC and a large number of bugs (291). A major conclusion of our comparative study is that simple text models such as UM and VSM are more effective at correctly retrieving the relevant files from a library as compared to the more sophisticated models such as LDA. The retrieval effectiveness for the various models was measured using the following two metrics: (1) Mean Average Precision; and (2) Rank-based metrics. Using the SCORE metric, we also compare the retrieval effectiveness of the models in our study with some other bug localization tools.
Cited by 252 works. doi:10.1145/1985441.1985451
Authors
References
- Bugs as deviant behavior
- Finding bugs is easy
- Empirical evaluation of the tarantula automatic fault-localization technique
- An information retrieval approach for automatically constructing software libraries
- Recovering Documentation-to-Source-Code Traceability Links using Latent Semantic Indexing
- Fault localization with nearest neighbor queries
- An information retrieval approach to concept location in source code
- Cluster-based retrieval using language models
- Semantic clustering: Identifying topics in source code
- Finding bugs is easy