IJCATR Volume 4 Issue 10

Duplicate Code Detection using Control Statements

Sudhamani M Lalitha Rangarajan
10.7753/IJCATR0410.1003
keywords : Control statements; Control structure; Execution flow; Similarity value; Structural similarity

PDF
Code clone detection is an important area of research as reusability is a key factor in software evolution. Duplicate code degrades the design and structure of software and software qualities like readability, changeability, maintainability. Code clone increases the maintenance cost as incorrect changes in copied code may lead to more errors. In this paper we address structural code similarity detection and propose new methods to detect structural clones using structure of control statements. By structure we means order of control statements used in the source code. We have considered two orders of control structures: (i) Sequence of control statements as it appears (ii) Execution flow of control statements.
@artical{s4102015ijcatr04101003,
Title = "Duplicate Code Detection using Control Statements",
Journal ="International Journal of Computer Applications Technology and Research(IJCATR)",
Volume = "4",
Issue ="10",
Pages ="728 - 736",
Year = "2015",
Authors ="Sudhamani M Lalitha Rangarajan"}
  • null