Structural Similarity Detection Using Structure of Control Statements
M. V. Sudhamani, Lalitha Rangarajan · Procedia Computer Science · 2015
In this work we address code clone or duplicated code detection which is one of the major factors that degrades the design and structure of software and lowers the software qualities such as readability, changeability and maintainability. Copying and pasting source code is common practice to reuse the software. While doing so, it is unlikely that structure of control statements is altered. The proposed method aims at detecting segments that have similar control statement structure. The method is language independent and can be executed on C, C++ or Java. The method can efficiently identify structurally similar clones.