Title :
A novel approach based on formal methods for clone detection
Author :
Cuomo, Antonio ; Santone, Antonella ; Villano, Umberto
Author_Institution :
Dept. of Eng., Univ. of Sannio, Benevento, Italy
Abstract :
This paper presents an approach based on formal methods for detecting code clones. The methodology followed performs the analysis on Java bytecode, which is transformed into CCS (Calculus of Communicating Systems) processes which are successively checked for equivalence. A prototype tool targeted at the detection of Type 2 clones is presented. The experiments conducted on programs of different size assess the validity of the proposed approach, pointing out possible improvements for future research.
Keywords :
Java; calculus of communicating systems; formal verification; Java bytecode; calculus of communicating systems; code clone detection; formal method; Abstracts; Algebra; Cloning; Java; Prototypes; Semantics; Syntactics; CCS; Clone detection; Formal Methods;
Conference_Titel :
Software Clones (IWSC), 2012 6th International Workshop on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1794-8
DOI :
10.1109/IWSC.2012.6227879