SCOTCH: Test-to-code traceability using slicing and conceptual coupling

  • Authors:
  • Abdallah Qusef;Gabriele Bavota;Rocco Oliveto;Andrea De Lucia;David Binkley

  • Affiliations:
  • University of Salerno, Fisciano, Italy;University of Salerno, Fisciano, Italy;University of Molise, Pesche (IS), Italy;University of Salerno, Fisciano, Italy;Loyola University Maryland, Baltimore, USA

  • Venue:
  • ICSM '11 Proceedings of the 2011 27th IEEE International Conference on Software Maintenance
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Maintaining traceability links between unit tests and tested classes is an important factor for effectively managing the development and evolution of software systems. Exploiting traceability links helps in program comprehension and maintenance by ensuring consistency between unit tests and tested classes during maintenance activities. Unfortunately, it is often the case that such links are not explicitly maintained and thus they have to be recovered manually during software evolution. A novel automated solution to this problem, based on dynamic slicing and conceptual coupling, is presented. The resulting tool, SCOTCH (Slicing and Coupling based Test to Code trace Hunter), is empirically evaluated on three systems: an open source system and two industrial systems. The results indicate that SCOTCH identifies traceability links between unit test classes and tested classes with a high accuracy and greater stability than existing techniques, highlighting its potential usefulness as a feature within a software development environment.