Code clone detection based on order and content of control statements

M. V. Sudhamani, Lalitha Rangarajan · 2016

In this paper, we propose a method to detect duplicate codes based on structure and content of control statements present in the source codes. The proposed method efficiently finds all types of clones. Similarity between two programs is identified by comparing metrics of programs. Metric of a program is computed using control statements, operators and operands present in the program. Proposed method is independent of programming languages. This approach is also useful to detect plagiarized programs in academic environment.

Read the paper · More papers on PaperTik