Evaluating Code Clone Techniques

Abstract

In the last decade, several researchers have investigated techniques to detect duplicated code in programs exceeding hundreds of thousands lines of code. All of these techniques have known merits and deficiencies, but as of today, little is known on where to fit these techniques into the software maintenance process. This paper compares three representative detection techniques (simple line matching, parameterized matching, and metric fingerprints) by means of five small to medium cases and ses the differences between the reported matches. Based on this experiment, we conclude that (1) simple line matching is best suited for a first crude overview of the duplicated code; (2) metric fingerprints work best in combination with a refactoring tool that is able to remove duplicated subroutines; (3) parameterized matching works best in combination with more fine-grained refactoring tools that work on the statement level.

Authors and Affiliations

Ritu, Sunita Rani

Keywords

Related Articles

Synchronization in Digital System Design

In digital system design, synchronization ensures that operations occur in the logically correct order, and is a critical factor in ensuring the correct and reliable system operation. As the physical size of a system in...

Performance Analysis of Self-Organizing Networks

The capacity and coverage area of a radio network will vary due to changed environment, or malfunctioning in base stations. Suboptimal capacity and coverage area leads to the waste of network resources and the lower qua...

Implementation of Automatic Text Summarization

This paper investigates on sentence extraction based single Document summarization. It saves our time in daily work once we get summarized data. Today there are so many reports, Documents, papers, and articles available...

A Survey on Security in Software Defined Vehicular Cloud

vehicular cloud computing is a hybrid technology embedded system. Cloud vehicles carry the information of traffic and road conditions and infotainment. It is foundation of internet based vehicular technology and intelli...

Antarctica of Kishangarh: Boon or Bane

Very few rocks have as many uses as marble. It is used for its beauty in architecture and sculpture. Kishangarh economy mainly depends on the marble trading. The widest range of Indian, Italian and Makrana marble is on...

Download PDF file
  • EP ID EP18591
  • DOI -
  • Views 858
  • Downloads 26

How To Cite

Ritu, Sunita Rani (2014). Evaluating Code Clone Techniques. International Journal for Research in Applied Science and Engineering Technology (IJRASET), 2(8), -. https://europub.co.uk/articles/-A-18591