Skip to main content
QUICK REVIEW

[Paper Review] A Survey on the Evaluation of Clone Detection Performance and Benchmarking

Jeffrey Svajlenko, Chanchal K. Roy|arXiv (Cornell University)|Jun 28, 2020
Software Engineering ResearchComputer Science257 references10 citations
TL;DR

This paper presents a comprehensive survey of clone detection tool evaluation, benchmarking practices, and empirical validation methods in software engineering. It analyzes 184 clone detection tools, evaluates their performance using recall, precision, execution time, and scalability, and identifies key shortcomings in current evaluation practices, advocating for standardized benchmarks and rigorous empirical validation to improve research quality and reproducibility in clone detection research.

ABSTRACT

There are a great many clone detection tools proposed in the literature. In this paper, we investigate the state of clone detection tool evaluation. We begin by surveying the clone detection benchmarks, and performing a multi-faceted evaluation and comparison of their features and capabilities. We then survey the existing clone detection tool and technique publications, and evaluate how the authors of these works evaluate their own tools/techniques. We rank the individual works by how well they measure recall, precision, execution time and scalability. We select the works the best evaluate all four metrics as exemplars that should be considered by future researchers publishing clone detection tools/techniques when designing the empirical evaluation of their tool/technique. We measure statistics on tool evaluation by the authors, and find that evaluation is poor amongst the authors. We finish our investigation into clone detection evaluation by surveying the existing tool comparison studies, including both the qualitative and quantitative studies.

Motivation & Objective

  • To investigate the state of clone detection tool evaluation and benchmarking in software engineering research.
  • To identify deficiencies in how clone detection tools are evaluated by authors, particularly in measuring recall, precision, execution time, and scalability.
  • To evaluate existing clone detection benchmarks for their quality, completeness, and suitability for standardized tool comparison.
  • To analyze tool comparison studies and identify high-quality, rigorous evaluations that can serve as exemplars for future research.
  • To promote improved evaluation standards by identifying best practices and advocating for consistent, comprehensive empirical validation in clone detection research.

Proposed method

  • Systematically surveyed 184 clone detection tools and techniques published in the literature up to 2017.
  • Evaluated each tool based on four key performance metrics: recall, precision, execution time, and scalability.
  • Analyzed the reference corpora and oracle mechanisms used in benchmarking to assess validity and reliability of evaluation results.
  • Classified and compared 10 major clone detection benchmarks (e.g., Bellon’s, BigCloneBench, ForkSim) based on design, scope, and evaluation criteria.
  • Surveyed tool authors' evaluation practices, including frequency of metric usage, evaluation scope, and correlation between metrics.
  • Identified exemplar studies with thorough, multi-metric evaluations to serve as models for future research and peer review.

Experimental results

Research questions

  • RQ1What are the current benchmarks used for clone detection, and how do they compare in terms of design, coverage, and quality?
  • RQ2How do clone detection tool authors currently evaluate their tools in terms of recall, precision, execution time, and scalability?
  • RQ3To what extent are evaluation practices standardized or rigorous across clone detection research publications?
  • RQ4What are the key threats to the validity of clone detection evaluations and tool comparison studies?
  • RQ5Which studies serve as exemplars for high-quality, comprehensive evaluation of clone detection tools?

Key findings

  • Only a small fraction of clone detection tool papers (less than 10%) comprehensively evaluate their tools across all four key metrics: recall, precision, execution time, and scalability.
  • Many tool authors rely on informal or incomplete evaluations, often omitting precision or scalability measurements, which undermines the reliability of claimed performance improvements.
  • The most rigorous evaluations were found in studies using BigCloneBench and Bellon’s Benchmark, which provide well-structured, manually validated reference corpora.
  • There is a significant lack of standardized benchmarks, which has historically led to acceptance of new tools based on algorithmic novelty rather than empirical performance.
  • Only a few high-quality tool comparison studies exist, but they demonstrate that multi-metric, reproducible evaluation is feasible and essential for credible research.
  • Exemplar studies—such as those by Falke et al. and Qu et al.—demonstrate thorough evaluation using multiple metrics and reference corpora, setting a benchmark for future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.