DocumentCode
1664964
Title
Identifying similar code with program dependence graphs
Author
Krinke, Jens
Author_Institution
Lehrstuhl Softwaresysteme, Passau Univ., Germany
fYear
2001
fDate
6/23/1905 12:00:00 AM
Firstpage
301
Lastpage
309
Abstract
We present an approach to identifying similar code in programs based on finding similar subgraphs in attributed directed graphs. This approach is used on program dependence graphs and therefore considers not only the syntactic structure of programs but also the data flow within (as an abstraction of the semantics). As a result, there is no tradeoff between precision and recall; our approach is very good in both. An evaluation of our prototype implementation shows that the approach is feasible and gives very good results despite the non polynomial complexity of the problem
Keywords
computational complexity; computational linguistics; data flow analysis; directed graphs; software maintenance; attributed directed graphs; data flow; non polynomial complexity; program dependence graphs; similar code identification; similar subgraphs; syntactic program structure; Flow graphs; Polynomials; Programming profession; Prototypes; Software maintenance; Software prototyping; Software systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering, 2001. Proceedings. Eighth Working Conference on
Conference_Location
Stuttgart
ISSN
1095-1350
Print_ISBN
0-7695-1303-4
Type
conf
DOI
10.1109/WCRE.2001.957835
Filename
957835
Link To Document