Test Code Quality and Its Relation to Issue Handling Performance
- 23 July 2014
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 40 (11) , 1100-1125
Abstract
Automated testing is a basic principle of agile development. Its benefits include early defect detection, defect causelocalization and removal of fear to apply changes to the code. Therefore, maintaining high quality test code is essential. This study introduces a model that assesses test code quality by combining source code metrics that reflect three main aspects of test codequality: completeness, effectiveness and maintainability. The model is inspired by the Software Quality Model of the SoftwareImprovement Group which aggregates source code metrics into quality ratings based on benchmarking. To validate the model we assess the relation between test code quality, as measured by the model, and issue handling performance. An experiment isconducted in which the test code quality model is applied to $18$ open source systems. The test quality ratings are tested for correlation with issue handling indicators, which are obtained by mining issue repositories. In particular, we study the (1) defect resolution speed, (2) throughput and (3) productivity issue handling metrics. The results reveal a significant positive correlation between test code quality and two out of the three issue handling metrics (throughput and productivity), indicating that good test code quality positively influences issue handling performance.
Keywords
Funding Information
- NWO TestRoots project (639.022.314)
- RAAK-PRO project EQuA
This publication has 41 references indexed in Scilit:
- Studying the co-evolution of production and test code in open source and industrial developer test processes through repository miningEmpirical Software Engineering, 2010
- Rule-based Assessment of Test Quality.The Journal of Object Technology, 2007
- Early estimation of software quality using in-process testing metricsACM SIGSOFT Software Engineering Notes, 2005
- When do changes induce fixes?ACM SIGSOFT Software Engineering Notes, 2005
- Software unit test coverage and adequacyACM Computing Surveys, 1997
- A safe, efficient regression test selection techniqueACM Transactions on Software Engineering and Methodology, 1997
- How assertions can increase test effectivenessIEEE Software, 1997
- Software quality: the elusive target [special issues section]IEEE Software, 1996
- A formal evaluation of data flow path selection criteriaIEEE Transactions on Software Engineering, 1989
- A comparison of some structural testing strategiesIEEE Transactions on Software Engineering, 1988