Providing Test Quality Feedback Using Static Source Code and Automatic Test Suite Metrics
- Nachi Nagappan ,
- Laurie Williams ,
- Jason Osborne ,
- Mladen Vouk ,
- Pekka Abrahamsson
Published by Institute of Electrical and Electronics Engineers, Inc.
A classic question in software development is “How much testing is enough?” Aside from dynamic coverage-based metrics, there are few measures that can be used to provide guidance on the quality of an automatic test suite as development proceeds. This paper utilizes the Software Testing and Reliability Early Warning (STREW) static metric suite to provide a developer with indications of changes and additions to their automated unit test suite and code for added confidence that product quality will be high. Retrospective case studies to assess the utility of using the STREW metrics as a feedback mechanism were performed in academic, open source and industrial environments. The results indicate at statistically significant levels the ability of the STREW metrics to provide feedback on important attributes of an automatic test suite and corresponding code.
© 2004 IEEE. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the IEEE.