Recovering traceability links between source code and fixed bugs via patch analysis

  • Authors:
  • Christopher S. Corley;Nicholas A. Kraft;Letha H. Etzkorn;Stacy K. Lukins

  • Affiliations:
  • University of North Alabama, Florence, AL, USA;The University of Alabama, Tuscaloosa, AL, USA;The University of Alabama in Huntsville, Huntsville, AL, USA;The University of Alabama in Huntsville, Huntsville, AL, USA

  • Venue:
  • Proceedings of the 6th International Workshop on Traceability in Emerging Forms of Software Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Traceability links can be recovered using data mined from a revision control system, such as CVS, and an issue tracking system, such as Bugzilla. Existing approaches to recover links between a bug and the methods changed to fix the bug rely on the presence of the bug's identifier in a CVS log message. In this paper we present an approach that relies instead on the presence of a patch in the issue report for the bug. That is, rather than analyzing deltas retrieved from CVS to recover links, our approach analyzes patches retrieved from Bugzilla. We use BugTrace, the tool implementing our approach, to conduct a case study in which we compare the links recovered by our approach to links recovered by manual inspection. The results of the case study support the efficacy of our approach. After describing the limitations of our case study, we conclude by reviewing closely related work and suggesting possible future work.