Title :
Identifying similar code with program dependence graphs
Author_Institution :
Lehrstuhl Softwaresysteme, Passau Univ., Germany
fDate :
6/23/1905 12:00:00 AM
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;
Conference_Titel :
Reverse Engineering, 2001. Proceedings. Eighth Working Conference on
Conference_Location :
Stuttgart
Print_ISBN :
0-7695-1303-4
DOI :
10.1109/WCRE.2001.957835