Open Access Open Access  Restricted Access Subscription Access
Open Access Open Access Open Access  Restricted Access Restricted Access Subscription Access

Automatic Method Level Code Clones Removal Using Refactoring


Affiliations
1 Department of CSE, V.R.S. College of Engineering and Technology, Arasur, Villupuram, India
     

   Subscribe/Renew Journal


To improve the design of existing software code. Refactoring doesn‟t change the observable behavior of the software; it improves its internal structure. Software clones appear for a variety of reasons, among which the most obvious is the reuse of existing code (by copy and paste for example), logic or design. Several studies show that about 5% to 20% of software systems can contain duplicated code, which is basically the result of copying existing code fragments and using then by pasting with or without minor modifications. In this paper, we propose a clone removal by refactoring. The refactoring is done with the help of clone manager. It is designed to improve the understandability of the code or change its structure and design, and remove dead code, to make it easier for human maintenance in the future.

Keywords

Refactoring, Duplicated Code, Function Extraction, Generalisation, Renaming, Clone Pair, Clone Clusters.
User
Subscription Login to verify subscription
Notifications
Font Size

Abstract Views: 226

PDF Views: 4




  • Automatic Method Level Code Clones Removal Using Refactoring

Abstract Views: 226  |  PDF Views: 4

Authors

N. Kavitha
Department of CSE, V.R.S. College of Engineering and Technology, Arasur, Villupuram, India
S. Suguna
Department of CSE, V.R.S. College of Engineering and Technology, Arasur, Villupuram, India

Abstract


To improve the design of existing software code. Refactoring doesn‟t change the observable behavior of the software; it improves its internal structure. Software clones appear for a variety of reasons, among which the most obvious is the reuse of existing code (by copy and paste for example), logic or design. Several studies show that about 5% to 20% of software systems can contain duplicated code, which is basically the result of copying existing code fragments and using then by pasting with or without minor modifications. In this paper, we propose a clone removal by refactoring. The refactoring is done with the help of clone manager. It is designed to improve the understandability of the code or change its structure and design, and remove dead code, to make it easier for human maintenance in the future.

Keywords


Refactoring, Duplicated Code, Function Extraction, Generalisation, Renaming, Clone Pair, Clone Clusters.