AUTOMATIC DETECTING AND REMOVAL DUPLICATE CODES CLONES

Z. Al-Saffar, Shahenda S. Sarhan, Samir Elmougy · International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information Sciences · 2016

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.

Read the paper · More papers on PaperTik