Title :
Selecting a set of appropriate metrics for detecting code clones
Author :
Bansal, Gourab ; Tekchandani, Rajkumar
Author_Institution :
Comput. Sci. & Eng. Dept., Thapar Univ., Patiala, India
Abstract :
Most of the software systems consist of a number of code clones. Although it makes the task of software development easy but at the same time code cloning may cause several maintenance and cost related problems. A number of clone detection techniques have been proposed so far. In this paper, an approach for selecting a set of appropriate metrics from a list of large number of metrics is presented. The proposed approach evaluates a set of independent metrics on the basis of their precision and recall values in clone detection starting from all combinations of one metric and then gradually increasing the number of metrics in the metrics combinations until the complete set of metrics involved in the approach are evaluated. The result of implementing the proposed approach on a C language software system is provided as example.
Keywords :
C language; software maintenance; software metrics; source code (software); C language software system; code clone detection; maintenance problem; software development; software metrics; Cloning; Complexity theory; Software engineering; Software metrics; Software systems; clone class; clone detection; clone pair; code cloning; software metrics;
Conference_Titel :
Contemporary Computing (IC3), 2014 Seventh International Conference on
Conference_Location :
Noida
Print_ISBN :
978-1-4799-5172-7
DOI :
10.1109/IC3.2014.6897221