Published January 1, 2014
| Version v1
Conference paper
Open
On the Structural Code Clone Detection Problem: A Survey and Software Metric Based Approach
Creators
- 1. Yildiz Tech Univ, Dept Comp Engn, Istanbul, Turkey
Description
Unnecessary repeated codes (clones) have not been well documented and are difficult to maintain. Code clones may become an important problem in software development cycle and they must be fixed in all occurrences. This condition increases significantly software maintenance costs and required effort/duration for understanding the code. Over the years, many techniques have been proposed in order to minimize or prevent the code cloning problems. The main focus of these techniques is on the detection of clones. In such studies, code cloning is studied under two main categories: simple and structural. Simple clone is defined as the similarity that arises from the repetition of the code snippet in the software. Structural clone is defined as the similarity in software structure (i.e. design patterns and object oriented programming class relations). Simple clone detection techniques fail to determine the reasons of code repetition whether it is due to design or not, as they do not look at the code from a wider perspective for repetitive code snippets. In this study, we survey the existing structural clones approaches. We also introduce an approach that utilizes software quality metrics for detecting the structural code clones.
Files
bib-7fd153f1-66d3-4ae2-a32a-0b4fcfdf1d53.txt
Files
(196 Bytes)
| Name | Size | Download all |
|---|---|---|
|
md5:9d6fb3a35632032047d99610a8df1165
|
196 Bytes | Preview Download |