DocumentCode :
2601561
Title :
iDiff: Interaction-based program differencing tool
Author :
Hoan Anh Nguyen ; Tung Thanh Nguyen ; Hung Viet Nguyen ; Nguyen, Tien N.
Author_Institution :
Electr. & Comput. Eng. Dept., Iowa State Univ., Ames, IA, USA
fYear :
2011
fDate :
6-10 Nov. 2011
Firstpage :
572
Lastpage :
575
Abstract :
When a software system evolves, its program entities such as classes/methods are also changed. System comprehension, maintenance, and other tasks require the detection of the changed entities between two versions. However, existing differencing tools are file-based and cannot handle well the common cases in which the methods/classes are reordered/moved or even renamed/modified. Moreover, many tools show the program changes at the text line level. In this demo, we present iDiff, a program differencing tool that is able to display the changes to classes/methods between two versions and to track the corresponding classes/methods even they were reordered/moved/renamed and/or modified. The key idea is that during software evolution, an entity could change its location, name, order, and even its internal implementation. However, its interaction with other entities would be more stable. iDiff represents a system at a version as an attributed graph, in which the nodes represent program entities, the edges represent the interactions between the nodes. Entities between two versions are matched via an incremental matching algorithm, which takes into account the similarity of interactions for matching. The differences of two versions of the entire system including its program entities are detected based on the matched entities.
Keywords :
graph theory; software maintenance; attributed graph; iDiff; interaction based program differencing tool; software evolution; software maintenance; software recovery; software system; Algorithm design and analysis; Collaboration; Computers; Semantics; Software; Syntactics; Tracking;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Automated Software Engineering (ASE), 2011 26th IEEE/ACM International Conference on
Conference_Location :
Lawrence, KS
ISSN :
1938-4300
Print_ISBN :
978-1-4577-1638-6
Type :
conf
DOI :
10.1109/ASE.2011.6100128
Filename :
6100128
Link To Document :
بازگشت