Title :
Code Clone Detection on Specialized PDGs with Heuristics
Author :
Higo, Yoshiki ; Kusumoto, Shinji
Author_Institution :
Grad. Sch. of Inf. Sci. & Technol., Osaka Univ., Suita, Japan
Abstract :
PDG-based code clone detection is suitable for detecting on-contiguous code clones while other detection techniques, line-, token-, or AST-based techniques are not. However, PDG-based detection has lower performance for detecting contiguous code clones than the other techniques. Moreover, PDG-based detection is time consuming, so that application to actual software systems is not feasible. The present paper proposes PDG specializations and detection heuristics for enhancing PDG-based code clone detection. The experiment in this paper shows that the proposed methods are effective for PDG-based code clone detection by applying them to 4 open source systems.
Keywords :
directed graphs; software engineering; PDG detection heuristics; PDG-based code clone detection; open source systems; program dependency graph; software systems; Cloning; Computational complexity; Computational efficiency; Image edge detection; Information science; Merging; Software systems; code clone; program dependency graph;
Conference_Titel :
Software Maintenance and Reengineering (CSMR), 2011 15th European Conference on
Conference_Location :
Oldenburg
Print_ISBN :
978-1-61284-259-2
DOI :
10.1109/CSMR.2011.12