[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1900008.1900090acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
research-article

Augmented bug localization using past bug information

Published: 15 April 2010 Publication History

Abstract

Traditional bug localization techniques involve a developer using his or her knowledge of the software system to locate bugs in source code. Various automated techniques simulate knowledge of the system using source code retrieval models such as latent semantic indexing (LSI) and latent Dirichlet allocation (LDA). While these methods do an adequate job, they do not make use of another wealth of information stored in the form of past bug reports. In this paper, I present an extension to the LSI model for bug localization in which the information stored in past bug reports augments the LSI model of bug localization. I describe the details of implementing this process along with the novel patch cartographer tool that is necessary for its execution. Presented along with this description is a pair of case studies verifying the effectiveness of the patch cartographer and process respectively. Results show that the patch cartographer indeed correctly identifies affected methods from a patch file. Additionally, the study of the augmented process shows significant improvement in performance compared to LSI alone.

References

[1]
T. Gyimothy, R. Ferenc, I. Siket, "Empirical validation of object-oriented metrics on open source software for fault prediction", In IEEE Trans. on Softw. Eng., 31(10), October 2005, pp. 897--910.
[2]
A. Kuhn, S. Ducasse and T. Gîrba, "Enriching Reverse Engineering with Semantic Clustering", In Proc. 12th Working Conf. on Reverse Engineering, Pittsburg, PA, November 2005, pp. 133--142.
[3]
A. Kuhn, S. Ducasse, and T. Girba, "Semantic Clustering: Identifying Topics in Source Code", Information Software and Technology, 49(3), Butterworth-Heinemann, Newton, MA, USA, March 2007, pp. 230--243.
[4]
D. Liu, A. Marcus, D. Poshyvanyk, and V. Rajlich, "Feature Location via Information Retrieval Based Filtering of a Single Scenario Execution Trace", In Proc. 22nd IEEE/ACM Int. Conf. on Automated Software Engineering, Atlanta, Georgia, November 2007, pp. 234--243.
[5]
S. Lukins, N. Kraft, L. Etzkorn, "Source Code Retrieval for Bug Localization using Latent Dirichlet Allocation", In 15th Working Conference on Reverse Engineering, Antwerp, Belgium, October 2008, pp. 155--164.
[6]
J. I. Maletic and A. Marcus, "Supporting Program Comprehension using Semantic and Structural Information", In Proc. 23rd Int. Conf. on Software Engineering, Toronto, Ontario, Canada, May 2001, pp. 103--112.
[7]
A. Marcus, V. Rajlich, J. Buchta, M. Petrenko, and A. Sergeyev, "Static Techniques for Concept Location in Object-Oriented Code", In Proc. 13th Int. Workshop on Program Comprehension, St. Louis, MO, USA, 2005, pp. 33--42.
[8]
A. Marcus, A. Sergeyev, V. Rajlich, J. I. Maletic, "An Information Retrieval Approach to Concept Location in Source Code", In Proc. 11th Working Conference on Reverse Engineering, Delft, The Netherlands, November 2004, pp. 214--223.
[9]
H. A. Müller, J. H. Jahnke, D. B. Smith, M.-A. Storey, S. R. Tilley, and K. Wong, "Reverse Engineering: A Roadmap," In Proc. of Future of Software Engineering, Limerick, Ireland, June 2000, pp. 47--60.
[10]
D. Poshyvanyk, Y. G. Guéhéneuc, A. Marcus, G. Antoniol, and V. Rajlich, "Combining Probabilistic Ranking and Latent Semantic Indexing for Feature Location", In Proc. 14th IEEE Int. Conf. on Program Comprehension, Athens, Greece, June 2006, pp. 137--148.
[11]
D. Poshyvanyk, Y. G. Guéhéneuc, A. Marcus, G. Antoniol, and V. Rajlich, "Feature Location Using Probabilistic Ranking of Methods Based on Execution Scenarios and Information Retrieval", IEEE Trans. Softw. Eng., 33(6), June 2007, pp. 420--432.
[12]
D. Poshyvanyk and A. Marcus, "Combining Formal Concept Analysis with Information Retrieval for Concept Location in Source Code", In Proc. 15th IEEE Int. Conf. on Program Comprehension, Banff, Alberta, Canada, June 2007, pp. 37--48.
[13]
Rhino. http://www.mozilla.org/rhino

Cited By

View all
  • (2023)Impact analysis of bug localization accuracy oriented to bug reportSixth International Conference on Advanced Electronic Materials, Computers, and Software Engineering (AEMCSE 2023)10.1117/12.3004582(42)Online publication date: 16-Aug-2023
  • (2021)Opportunities and Challenges in Code Search ToolsACM Computing Surveys10.1145/348002754:9(1-40)Online publication date: 8-Oct-2021
  • (2021)BoostNSift: A Query Boosting and Code Sifting Technique for Method Level Bug Localization2021 IEEE 21st International Working Conference on Source Code Analysis and Manipulation (SCAM)10.1109/SCAM52516.2021.00019(81-91)Online publication date: Sep-2021
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ACMSE '10: Proceedings of the 48th annual ACM Southeast Conference
April 2010
488 pages
ISBN:9781450300643
DOI:10.1145/1900008
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 April 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. LSI
  2. bug localization
  3. bugs
  4. patch

Qualifiers

  • Research-article

Conference

ACM SE '10
Sponsor:
ACM SE '10: ACM Southeast Regional Conference
April 15 - 17, 2010
Mississippi, Oxford

Acceptance Rates

ACMSE '10 Paper Acceptance Rate 48 of 94 submissions, 51%;
Overall Acceptance Rate 502 of 1,023 submissions, 49%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Impact analysis of bug localization accuracy oriented to bug reportSixth International Conference on Advanced Electronic Materials, Computers, and Software Engineering (AEMCSE 2023)10.1117/12.3004582(42)Online publication date: 16-Aug-2023
  • (2021)Opportunities and Challenges in Code Search ToolsACM Computing Surveys10.1145/348002754:9(1-40)Online publication date: 8-Oct-2021
  • (2021)BoostNSift: A Query Boosting and Code Sifting Technique for Method Level Bug Localization2021 IEEE 21st International Working Conference on Source Code Analysis and Manipulation (SCAM)10.1109/SCAM52516.2021.00019(81-91)Online publication date: Sep-2021
  • (2020)A Large-Scale Comparative Evaluation of IR-Based Tools for Bug LocalizationProceedings of the 17th International Conference on Mining Software Repositories10.1145/3379597.3387474(21-31)Online publication date: 29-Jun-2020
  • (2019)Using bug descriptions to reformulate queries during text-retrieval-based bug localizationEmpirical Software Engineering10.1007/s10664-018-9672-z24:5(2947-3007)Online publication date: 1-Oct-2019
  • (2018)Locating bugs without looking backAutomated Software Engineering10.1007/s10515-017-0226-125:3(383-434)Online publication date: 1-Sep-2018
  • (2017)Using Observed Behavior to Reformulate Queries during Text Retrieval-based Bug Localization2017 IEEE International Conference on Software Maintenance and Evolution (ICSME)10.1109/ICSME.2017.100(376-387)Online publication date: Sep-2017
  • (2017)An Improved Method Level Bug Localization Approach Using Minimized Code SpaceEvaluation of Novel Approaches to Software Engineering10.1007/978-3-319-56390-9_9(179-200)Online publication date: 7-Apr-2017
  • (2015)An improved bug localization using structured information retrieval and version history2015 18th International Conference on Computer and Information Technology (ICCIT)10.1109/ICCITechn.2015.7488066(190-195)Online publication date: Dec-2015
  • (2014)Heterogeneous Metric Learning with Content-Based Regularization for Software Artifact RetrievalProceedings of the 2014 IEEE International Conference on Data Mining10.1109/ICDM.2014.147(610-619)Online publication date: 14-Dec-2014
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media