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

Intuitionistic Fuzzy Queues with Priority Discipline

Queuing theory is popularly known to applicable in real life situation where frequently used in communication and computer network system. The present work, we use the Intuitionistic fuzzy set theory to describe queuing...

slugFPGA Implementation OF Iterative Log Multiplier Using Operand Decomposition For Image Processing Application

Faster multiplier is the vital procedure mainly for DSP and image processing application. Log multiplier converts the multiplication into addition, hence speed up the multiplication. Mitchell’s approximation based log m...

A Survey on Naïve Bayes Algorithm for Diabetes Data Set Problems

Diabetes Mellitus is one of the growing vitally fatal diseases world-wide. A design of classifier for the detection of Diabetes Mellitus with optimal cost and precise performance is the need of the age. The current proj...

Study of Industrial Wastewater Treatment Comparison between Conventional Activated Systems (CAS) and Membrane Bioreactor (MBR) Systems

This paper provides a detailed literature review of waste water treatment in a membrane bioreactor process (MBR). Here the MBR system is compared with conventional wastewater treatment system. The characteristics of the...

Analytical Study by Varying the Parameters of Edge Stiffeners and Splice Plate used in Gusset Plate

Gusset plates are used to connect diagonal members to a beam and a column, they are widely used in bridges to link the truss member at member conjunction. Gusset plates are subjected to either tensile or compressive loa...

Download PDF file
  • EP ID EP18591
  • DOI -
  • Views 859
  • 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