Code Clone Detection Using Function Based Similarities and Metrics

Provided by: Creative Commons
Topic: Software
Format: PDF
Code cloning is a process of coping and pasting of code fragment with or without minor alteration like renaming, addition and deletion to the code fragments in the software. The copied and pasted code fragments are known as code clones. Code cloning reduces the time and effort of the software developer but it also decreases the quality of the software like readability, changeability and increases maintainability. So, code clone has to be detected to reduce the cost of maintenance to some extent. In this paper, a new hybrid technique is purposed to detect code clone from the source codes by segmenting the code into number of functions. The proposed technique can detect type 1, type 2 and type 3 clones efficiently.

Find By Topic