Title of article :
Increasing clone maintenance support by unifying clone detection and refactoring activities
Author/Authors :
Tairas، نويسنده , , Robert and Gray، نويسنده , , Jeff، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2012
Pages :
11
From page :
1297
To page :
1307
Abstract :
Context detection tools provide an automated mechanism to discover clones in source code. On the other side, refactoring capabilities within integrated development environments provide the necessary functionality to assist programmers in refactoring. However, we have observed a gap between the processes of clone detection and refactoring. ive s paper, we describe our work on unifying the code clone maintenance process by bridging the gap between clone detection and refactoring. h an Eclipse plug-in called CeDAR (Clone Detection, Analysis, and Refactoring), we forward clone detection results to the refactoring engine in Eclipse. In this case, the refactoring engine is supplied with information about the detected clones to which it can then determine those clones that can be refactored. We describe the extensions to Eclipse’s refactoring engine to allow clones with additional similarity properties to be refactored. s aluation of open source artifacts shows that this process yields considerable increases in the instances of clone groups that may be suggested to the programmer for refactoring within Eclipse. sion fying the processes of clone detection and refactoring, in addition to providing extensions to the refactoring engine of an IDE, the strengths of both processes (i.e., more significant detection capabilities and an established framework for refactoring) can be garnered.
Keywords :
Code clones , MAINTENANCE , Refactoring
Journal title :
Information and Software Technology
Serial Year :
2012
Journal title :
Information and Software Technology
Record number :
2374864
Link To Document :
بازگشت