• Home
  • Search
  • A Machine Learning Based Approach for Evaluating Clone Detection Tools for a Generalized and Accurate Precision
  • Cite Icon19
  • https://doi.org/10.1142/s0218194016400106Copy DOI Icon

A Machine Learning Based Approach for Evaluating Clone Detection Tools for a Generalized and Accurate Precision

  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

An important measure of clone detection performance is precision. However, there has been a marked lack of research into methods for efficiently and accurately measuring the precision of a clone detection tool. Instead, tool authors simply validate a small random sample of the clones their tools detected in a subject software system. Since there could be many thousands of clones reported by the tool, such a small random sample cannot guarantee an accurate and generalized measure of the tool’s precision for all the varieties of clones that can occur in any arbitrary software system. In this paper, we propose a machine-learning-based approach that can cluster similar clones together, and which can be used to maximize the variety of clones examined when measuring precision, while significantly reducing the biases a specific subject system has on the generality of the precision measured. Our technique reduces the efforts in measuring precision, while doubling the variety of clones validated and reducing biases that harm the generality of the measure by up to an order of magnitude. Our case study with the NiCad clone detector and the Java class library shows that our approach is effective in efficiently measuring an accurate and generalized precision of a subject clone detection tool.

Similar Papers
  • Conference Article
  • Citations4

Efficiently Measuring an Accurate and Generalized Clone Detection Precision using Clone Clustering

  • Jul 01, 2016
  • Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
  • Jeffrey Svajlenko +1
  • Research Article
  • Citations23

A machine learning based framework for code clone validation

  • Jun 22, 2020
  • Journal of Systems and Software
  • Golam Mostaeen +4
  • Conference Article
  • Citations11

Research Paper] On the Use of Machine Learning Techniques Towards the Design of Cloud Based Automatic Code Clone Validation Tools

  • Sep 01, 2018
  • Golam Mostaeen +4
  • Research Article
  • Citations1034

Comparison and evaluation of code clone detection techniques and tools: A qualitative approach

  • Mar 10, 2009
  • Science of Computer Programming
  • Chanchal K Roy +2
  • Conference Article
  • Citations39

SimCad: An extensible and faster clone detection tool for large scale software systems

  • May 01, 2013
  • Md Sharif Uddin +2
  • Research Article
  • Citations24

The Mutation and Injection Framework: Evaluating Clone Detection Tools with Mutation Analysis

  • May 01, 2021
  • IEEE Transactions on Software Engineering
  • Jeffrey Svajlenko +1
  • Conference Article
  • Citations19

Clonepedia: Summarizing Code Clones by Common Syntactic Context for Software Maintenance

  • Sep 01, 2014
  • Yun Lin +6
  • Conference Article
  • Citations16

Exploring code clones in programmable logic controller software

  • Sep 01, 2017
  • Hannes Thaller +3
  • Conference Article

Large scale clone detection, analysis, and benchmarking: An evolutionary perspective (Keynote)

  • Mar 01, 2018
  • Chanchal K Roy
  • Research Article
  • Citations34

Is cloned code really stable?

  • Jul 05, 2017
  • Empirical Software Engineering
  • Manishankar Mondal +3
  • Conference Article
  • Citations1

A Framework for Studying Clones In Large Software Systems

  • Sep 01, 2007
  • Zhen Ming Jiang +1
  • Conference Article
  • Citations41

Seventh IEEE International Working Conference on Source Code Analysis and Manipulation-Title

  • Sep 01, 2007
  • Zhen Ming Jiang +1
  • Conference Article
  • Citations90

BigCloneEval: A Clone Detection Tool Evaluation Framework with BigCloneBench

  • Oct 01, 2016
  • Jeffrey Svajlenko +1
  • Conference Article
  • Citations18

CloneCognition: machine learning based code clone validation tool

  • Aug 12, 2019
  • Golam Mostaeen +4
  • Conference Article
  • Citations5

Improving Clone Detection Precision Using Machine Learning Techniques

  • Dec 01, 2019
  • Vara Arammongkolvichai +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.