AUTOMATIC DETECTING AND REMOVAL DUPLICATE CODES CLONES | ||||
International Journal of Intelligent Computing and Information Sciences | ||||
Article 6, Volume 16, Issue 3, July 2016, Page 81-93 PDF (2.12 MB) | ||||
Document Type: Original Article | ||||
DOI: 10.21608/ijicis.2016.19841 | ||||
View on SCiNiTO | ||||
Authors | ||||
Z. Al-Saffar1; S. Sarhan1; S. Elmougy2 | ||||
1Department of Computer Science, Faculty of Computers and Information, Mansoura University, Mansoura 35516, Egypt. | ||||
2Department of Computer Science, Faculty of Computers and Information, Mansoura University, Mansoura 35516, Egypt | ||||
Abstract | ||||
Code clones is considered now an important part of improving the overall design of software structure and software maintenance through making the source code more readable and more capable for maintenance. To remove code clones from a written code, refactoring technique could be used. Copying and pasting fragments of codes is a type of code clones that should be handled and has many practical applications such as software and project plagiarism detection clones and copyright infringements. To overcome this problem, we propose a computerized refactoring system to remove duplicate code clones. The simulation results of applying the proposed system showed that it increases the maintainability and quality of software system based on the total lines of code, blank lines and total methods count for the four used Java open source projects. | ||||
Keywords | ||||
Code Clones; Duplicated Code; Code Smells; Clone Refactoring; Clones Removing | ||||
Statistics Article View: 218 PDF Download: 568 |
||||