DocumentCode
685522
Title
Detecting Program Changes from Edit History of Source Code
Author
Kitsu, Eijirou ; Omori, Tatsuya ; Maruyama, Kazunori
Author_Institution
Grad. Sch. Inf. Sci. & Eng., Ritsumeikan Univ., Kusatsu, Japan
Volume
1
fYear
2013
fDate
2-5 Dec. 2013
Firstpage
299
Lastpage
306
Abstract
Detecting program changes helps maintainers to figure out the evolution of the changed program. For this, several line-based difference tools have been proposed, which extract differences between two versions of the program. Unfortunately, these tools do not provide enough support to program comprehension since a single commitment stored in a version control system contains multiple changes that are intermingled with each other. Therefore, the maintainers have to untangle them by hand. This work is troublesome and time-consuming. This paper proposes a novel mechanism that automatically detects individual program changes. For this, it restores snapshots of the program from the history of edit operations for the target source code and compares class members that result from syntax analysis for respective snapshots. In addition, the mechanism provides several options of aggregating fine-grained changes detected based on the edit history. The maintainers can select their suitable levels of summarization of program changes. The paper also shows experimental results with a running implementation of the change detection tool. Through the experiment, the detection mechanism presents various kinds of summarized information on program changes, which might facilitate maintainers´ activities for program comprehension.
Keywords
configuration management; software maintenance; source code (software); changed program evolution; class members; line-based difference tools; program change detection; program change summarization; program comprehension; source code edit history; syntax analysis; version control system; Control systems; Educational institutions; History; Java; Software; Syntactics; Software change detection; change-aware development environment; program analysis; software evolution;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2013 20th Asia-Pacific
Conference_Location
Bangkok
ISSN
1530-1362
Print_ISBN
978-1-4799-2143-0
Type
conf
DOI
10.1109/APSEC.2013.48
Filename
6805419
Link To Document