Title :
LHDiff: Tracking Source Code Lines to Support Software Maintenance Activities
Author :
Asaduzzaman, Muhammad ; Roy, Chanchal K. ; Schneider, Kevin A. ; Di Penta, Massimiliano
Author_Institution :
Dept. of Comput. Sci., Univ. of Saskatchewan, Saskatoon, SK, Canada
Abstract :
Tracking lines across versions of a file is a necessary step for solving a number of problems during software development and maintenance. Examples include, but are not limited to, locating bug-inducing changes, tracking code fragments or vulnerable instructions across versions, co-change analysis, merging file versions, reviewing source code changes, and software evolution analysis. In this tool demonstration, we present a language-independent line-level location tracker, named LHDiff, that can be used to track lines and analyze changes in various kinds of software artifacts, ranging from source code to arbitrary text files. The tool can effectively detect changed or moved lines across versions of a file, has the ability to detect line splits, and can easily be integrated with existing version control systems. It overcomes the limitations of existing language-independent techniques and is even comparable to tools that are language dependent. In addition to describing the tool, we also describe its effectiveness in analyzing source code artifacts.
Keywords :
file organisation; program diagnostics; software maintenance; LHDiff; arbitrary text files; bug-inducing change location; co-change analysis; code fragment tracking; language-independent line-level location tracker; line split detection; software artifacts; software development; software evolution analysis; software maintenance activity; source code artifact analysis; source code line tracking; Benchmark testing; Context; Position measurement; Software maintenance; Syntactics; Tracking; differencing tools; language-independent differencing tool; line tracking;
Conference_Titel :
Software Maintenance (ICSM), 2013 29th IEEE International Conference on
Conference_Location :
Eindhoven
DOI :
10.1109/ICSM.2013.78