Title :
Lightweight Techniques for Tracking Unique Program Statements
Author :
Spacco, Jaime ; Williams, Chadd
Author_Institution :
Dept. of Comput. Sci., Colgate Univ., Hamilton, NY, USA
Abstract :
Previous work on tracking source locations has focused on tracking lines through multiple revisions of software. In this paper, we explore a new technique for tracking statements, rather than lines, across multiple revisions of Java source code. We show that our statement-tracking technique achieves comparable accuracy for source code than the most accurate line-tracking techniques, while also safely handling all non-executable formatting changes, such as breaking a single statement across many lines, adding or removing whitespace, moving brackets, or re-ordering methods. Finally, we compare the performance of three of the current state-of-the-art techniques for tracking lines across revisions on a series of benchmarks, and discuss the strengths and weaknesses of each technique.
Keywords :
Java; Java source code; lightweight technique; line-tracking technique; unique program statement tracking; Computer science; Java; Position measurement; Robust control; Software debugging; Software standards; Software tools; Spine; USA Councils; Visualization; diff; differencing tools; levenshtein; line-tracking; mining software archives;
Conference_Titel :
Source Code Analysis and Manipulation, 2009. SCAM '09. Ninth IEEE International Working Conference on
Conference_Location :
Edmonton, AB
Print_ISBN :
978-0-7695-3793-1
DOI :
10.1109/SCAM.2009.19