Title :
An approach to rank code clones for efficient clone management
Author :
Garg, Radhika ; Tekchandani, Rajkumar
Author_Institution :
Comput. Sci. Eng. Dept., Thapar Univ., Patiala, India
Abstract :
Code clone detection has been widely accepted and is being carried out at the industrial level using a number of tools. But along with clone detection, clone management also becomes an important area of research. Clone Management includes refactoring or even removal of clones and works on the resultant information obtained from the clone detection tools. This paper discusses an approach to rank the clone detection results in order to manage them easily. The idea behind the approach is to find out the maintenance overhead of the detected clones to define their criticality, which is calculated using factors like: size of code clone, MCC complexity and frequency of clone repetition. Based on the criticality of the clones, clones are later prioritized, so that the most critical ones can be refactored first and the least critical ones can be refactored later or can even be ignored.
Keywords :
software maintenance; MCC complexity; clone management; clone removal; clone repetition frequency; code clone detection; code clone ranking; code clone size; maintenance overhead; refactoring; Cloning; Complexity theory; Conferences; Maintenance engineering; Software; Synchronization; clone detection; maintenance overhead; prioritization; refactoring;
Conference_Titel :
Advances in Electronics, Computers and Communications (ICAECC), 2014 International Conference on
Conference_Location :
Bangalore
DOI :
10.1109/ICAECC.2014.7002385