An Empirical Study of a Hybrid Code Clone Detection Approach on Java Byte Code
Ghosh, Aritra, Lee, Young
Abstract
Open-access reader
Ghosh, Aritra, Lee, Young
Abstract
Open-access reader
Code clones increase the complexity of the system; therefore the software maintenance costs. Code clone detection techniques have been proposed and evaluated based on metric value and runtime evaluations. But in the existing methods, many false positive clones are detected. In this paper, we suggest a hybrid approach combining Program Dependence Graph-based technique with Metric-based technique to improve the precision of clone detection. We conduct a case study on two open source code Java projects such as Eclipse-ant and Eclipse-JDT core to show the effectiveness of our tool. The application of this hybrid technique is then compared with the existing clone detection technique, CloneDR. The result shows that our tool increases the performance in precision, recall, false positive and false negative compared to CloneDR.
OpenAlex reports 5 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Code clones increase the complexity of the system; therefore the software maintenance costs. Code clone detection techniques have been proposed and evaluated based on metric value and runtime evaluations. But in the existing methods, many false positive clones are detected. In this paper, we suggest a hybrid approach combining Program Dependence Graph-based technique with Metric-based technique to improve the precision of clone detection. We conduct a case study on two open source code Java projects such as Eclipse-ant and Eclipse-JDT core to show the effectiveness of our tool. The application of this hybrid technique is then compared with the existing clone detection technique, CloneDR. The result shows that our tool increases the performance in precision, recall, false positive and false negative compared to CloneDR.
Key concepts: Computer science, Java, Eclipse, Source code, Code (set theory), Metric (unit), clone (Java method), Programming language