Title :
Semantic clone detection using method IOE-behavior
Author :
Elva, Rochelle ; Leavens, Gary T.
Author_Institution :
Univ. of Central Florida, Orlando, FL, USA
Abstract :
This paper presents an algorithm for the detection of semantic clones in Java methods. Semantic clones are defined as functionally-identical code fragments. Our detection process operates on the premise that if two code fragments are semantic clones, then their input-output behavior would be identical. We adopt a wholistic approach to the definition of input-output behavior by including not only the parameters and return values of methods; but also their effects, as reflected in the pre- and post-states of the heap. We refer to this as a method´s IOE-behavior (input, output and effects).
Keywords :
Java; program compilers; software maintenance; Java methods; functionally-identical code fragments; input-output behavior; method IOE-behavior; return values; semantic clone detection; Cloning; Educational institutions; Java; Semantics; Syntactics; Testing; USA Councils; Method IOE-behavior; Program Understanding; Semantic Clones; Software Clone Detection;
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.6227874