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

Multi-Core Processors - Making the Move to Quad-Core and Beyond

One constant in computing is that the world’s hunger for faster performance isnever satisfied for which we have ever evolving processor which is what the best gift by digital electronics. Today these performance demands...

Estimation of Application Maintenance cost using COCOMO81

Constructive Cost Model is one of the CE models which contribute three different models namely basic, intermediate and detailed model. Maintenance of software is very much important so as to increase the functionality o...

Performance Comparison of a Speed Controlled PFC Bridgeless Buck-Boost Converter fed BLDC Motor Drive with PI &Fuzzy Controllers

This paper presents a power factor corrected (PFC) bridgeless (BL) buck–boost converter-fed brushless direct current (BLDC) motor drive as a cost-effective solution for low-power applications. An approach of speed contr...

Comparative Analysis of Multi Storey Buildings with Seismic and Pushover Methods

With the immense loss of life and property witnessed in the last couple of decades alone in India, due to failure of structures caused by earthquakes, attention is now being given to the evaluation of strength in framed...

A Study on the Review Classification Technique Using Micro Reviews

Information mining in micro-blogging sites has been studied extensively; micro-reviews are a source of content that has been largely overlooked in the literature. In this paper micro-reviews, and can be used for the pro...

Download PDF file
  • EP ID EP18591
  • DOI -
  • Views 861
  • 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://www.europub.co.uk/articles/-A-18591