• Home
  • Search
  • A Comparative Study of Code Clone Genealogies in Test Code and Production Code
  • Cite Icon5
  • https://doi.org/10.1109/saner56733.2023.00110Copy DOI Icon

A Comparative Study of Code Clone Genealogies in Test Code and Production Code

  • Mar 1, 2023
  • Brent Van Bladel +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Recent research has shown that clones occur far more often in test code than in production code. This is explained by the typical template of unit test code (the setup-stimulate-verify-teardown cycle), a template which lends itself well to parameterisation of proven solutions. However, little is known on how these clones evolve over time. In this paper, we compare the evolution of clones in test code with those in production code. Based on a quantitative and qualitative study of eight representative open-source systems, we conclude that clones in test code are inherently different than clones in production code throughout development. As a consequence, consistent maintenance and tracking of test clones becomes more important, hence the need for special purpose clone tracking and management tools.

Similar Papers
  • Research Article
  • Citations2

Towards automatically identifying the co‐change of production and test code

  • Jan 11, 2024
  • Software Testing, Verification and Reliability
  • Yuan Huang +3
  • Research Article
  • Citations17

Revisiting the Identification of the Co-evolution of Production and Test Code

  • Sep 30, 2023
  • ACM Transactions on Software Engineering and Methodology
  • Weifeng Sun +5
  • Conference Article
  • Citations63

Studying Fine-Grained Co-evolution Patterns of Production and Test Code

  • Sep 01, 2014
  • Cosmin Marsavina +2
  • Conference Article
  • Citations4

Exploring and Improving Code Completion for Test Code

  • Apr 15, 2024
  • Tingwei Zhu +6
  • Conference Article
  • Citations2

Practices and tools for better software testing

  • Oct 26, 2018
  • Davide Spadini
  • Research Article
  • Citations28

A survey on clone refactoring and tracking

  • Sep 24, 2019
  • Journal of Systems and Software
  • Manishankar Mondal +2
  • Conference Article
  • Citations10

Mutation testing as a safety net for test code refactoring

  • May 25, 2015
  • Ali Parsai +3
  • Conference Article
  • Citations2

Ukwikora: continuous inspection for keyword-driven testing

  • Jul 10, 2019
  • Renaud Rwemalika +4
  • Conference Article
  • Citations2

A retrospective of production and test code co-evolution in an industrial project

  • Mar 01, 2018
  • Claus Klammer +2
  • Conference Article
  • Citations1

Assessing the complexity of upgrading software modules

  • Oct 01, 2013
  • Bram Schoenmakers +4
  • Research Article
  • Citations1

An Empirical Study on Language Models for Generating Log Statements in Test Code

  • Aug 12, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Honglin Shu +4
  • Conference Article

AriesLinter: Sniffing Test Smells Before They Happen

  • Sep 22, 2025
  • Rafael Rocha +5
  • Conference Article
  • Citations16

A Technique for Just-in-Time Clone Detection in Large Scale Systems

  • Jun 01, 2010
  • Liliane Barbour +2
  • Research Article
  • Citations2

Automatic Identification of High-Impact Bug Report by Product and Test Code Quality

  • Jun 01, 2022
  • International Journal of Software Engineering and Knowledge Engineering
  • Jianshu Ding +3
  • Book Chapter
  • Citations1

Probe Tests: A Strategy for Growing Automated Tests around Legacy Code

  • Jan 01, 2002
  • Asim Jalis
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.