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

Automatic Fire Extinguisher

The rapid depletion of existing fossil fuel sources and the environmental problems caused globally by the combustion products have made the whole world go crazy in search for alternative fuel to power the automobiles. T...

slugReviewing WSN with RFID

Wireless Sensor Networks are being used in environment that was impossible earlier. WSNs are applicable in battlefield monitoring, underwater deployment and vehicle tracking. Applications areas and security features can...

Numerical Analysis of Three-Dimensional Squeezing Nanofluid Flow in a Rotating Channel on a Lower Stretching Porous Wall

Unsteady 3D rotating Nano fluid flow of an Incompressible electronically conducting viscous fluid between two infinite horizontal plane walls investigated Numerically, The governing Navier stokes equations are converted...

Compressor-Less Refrigerator cum Oven

The impact of on-going progress in Science and Technology has created a variety of systems that can be used in the generation of power from Renewable Sources of energy and one of these is Solar Energy. The project which...

A Review on Hardware Implementation for Reduction of Artifacts in Bio-Medical (ECG) Signal by Using Digital FIR-IIR Filter

ECG signal is of nature of time varying that is most common source used for the diagnosis purpose and observation and analysis of heart diseases present in the patient. ECG is recorded by placing electrodes at specified...

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