DocumentCode :
1928344
Title :
Supporting source code difference analysis
Author :
Maletic, Jonathan I. ; Collard, Michael L.
Author_Institution :
Dept. of Comput. Sci., Kent State Univ., OH, USA
fYear :
2004
fDate :
11-14 Sept. 2004
Firstpage :
210
Lastpage :
219
Abstract :
The paper describes an approach to easily conduct analysis of source-code differences. The approach is termed meta-differencing to reflect the fact that additional knowledge of the differences can be automatically derived. Meta-differencing is supported by an underlying source-code representation developed by the authors. The representation, srcML, is an XML format that explicitly embeds abstract syntax within the source code while preserving the documentary structure as dictated by the developer. XML tools are leveraged together with standard differencing utilities (i.e., diff,) to generate a meta-difference. The meta-difference is also represented in an XML format called srcDiff. The meta-difference contains specific syntactic information regarding the source-code changes. In turn this can be queried and searched with XML tools for the purpose of extracting information about the specifics of the changes. A case study of using the meta-differencing approach on an open-source system is presented to demonstrate its usefulness and validity.
Keywords :
XML; data flow analysis; public domain software; XML format; XML tool; abstract syntax; documentary structure; meta-differencing; open-source system; source code difference analysis; source-code representation; srcDiff; srcML; Code standards; Computer science; Data mining; History; Information analysis; Open source software; Software maintenance; Tree graphs; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
ISSN :
1063-6773
Print_ISBN :
0-7695-2213-0
Type :
conf
DOI :
10.1109/ICSM.2004.1357805
Filename :
1357805
Link To Document :
بازگشت