Print Email Facebook Twitter Test Code Quality and Its Relation to Issue Handling Performance Title Test Code Quality and Its Relation to Issue Handling Performance Author Athanasiou, D. Nugroho, A. Visser, J. Zaidman, A. Faculty Electrical Engineering, Mathematics and Computer Science Department Software Technology Date 2014-08-31 Abstract Automated testing is a basic principle of agile development. Its benefits include early defect detection, defect cause localization 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 code quality: completeness, effectiveness and maintainability. The model is inspired by the Software Quality Model of the Software Improvement 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 is conducted 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 Subject testingdefectsmetricsmeasurement To reference this document use: http://resolver.tudelft.nl/uuid:3b6e5a90-d338-4c78-8c84-9c78598568bf Publisher Delft University of Technology, Software Engineering Research Group ISSN 1872-5392 Source Technical Report Series TUD-SERG-2014-008 Part of collection Institutional Repository Document type report Rights © 2014 The Author(s) . Software Engineering Research Group, Department of Software Technology, Faculty of Electrical Engineering, Mathematics and Computer Science, Delft University of Technology Files PDF TUD-SERG-2014-008.pdf 799.8 KB Close viewer /islandora/object/uuid:3b6e5a90-d338-4c78-8c84-9c78598568bf/datastream/OBJ/view