State coverage: a structural test adequacy criterion for behavior checking

  • Authors:
  • Kenneth Koster;David C. Kao

  • Affiliations:
  • Agitar Software Laboratories, Mountain View, CA;Agitar Software Laboratories, Mountain View, CA

  • Venue:
  • Proceedings of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a new language-independent, structural test adequacy criterion called state coverage. State coverage measures whether unit-level tests check the outputs and sideeffects of a program. State coverage differs in several respects from existing test adequacy criteria, such as code coverage and mutation adequacy. Unlike other coverage-based criteria, state coverage measures the extent of checks of program behavior. And unlike existing fault-based criteria such as mutation adequacy, state coverage has been designed to be readily automated and to present users with easily understood test inadequacy reports. An experiment showed strong positive correlations between the number of behavior checks and both state coverage and mutation adequacy.