{"title":"Selecting a set of appropriate metrics for detecting code clones","authors":"Geetika Bansal, Rajkumar Tekchandani","doi":"10.1109/IC3.2014.6897221","DOIUrl":null,"url":null,"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.","PeriodicalId":444918,"journal":{"name":"2014 Seventh International Conference on Contemporary Computing (IC3)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Seventh International Conference on Contemporary Computing (IC3)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IC3.2014.6897221","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8
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.