Defect propagation at the project-level: results and a post-hoc analysis on inspection efficiency

Inspections are increasingly utilized to enhance software quality. While the effectiveness of inspections in uncovering defects is widely accepted, there is a lack of research that takes a more holistic approach by considering defect counts from initial phases of the development process (requirements, design, and coding) and examining defect propagation where defect counts are aggregated to the project-level (i.e., application-level). Using inspection data collected from a large software development firm, this paper investigates the extent of defect propagation at the project-level during early lifecycle phases. I argue that defect propagation can be observed from the relationship between defects in the prior phase and the defects in the subsequent phase. Both Ordinary Least Squares and 3-Stage Least Squares analyses support the hypotheses on defect propagation. Moreover, results show that the inspection efficiency (defects per unit inspection time) decreases as the software product progresses from requirements to design to coding. A post-hoc analysis revealed further insights into inspection efficiency. In each phase, as the inspection time increased, efficiency reached an optimal point and then dropped off. In addition, a project’s inspection efficiency generally tends to remain stable from one phase to another. These insights offer managers means to assess inspections, their efficiency, and make adjustments to the time allotted to inspect project’s artifacts in both the current and the subsequent phase. Implications for managers and future research directions are discussed.

[1]  RunesonPer,et al.  What Do We Know about Defect Detection Methods , 2006 .

[2]  Michael E. Fagan A History of Software Inspections , 2002, Software Pioneers.

[3]  John C. Kelly,et al.  An analysis of defect densities found during software inspections , 1992, J. Syst. Softw..

[4]  Stefan Biffl,et al.  Using Inspection Data for Defect Estimation , 2000, IEEE Softw..

[5]  Rob J. Kusters,et al.  Identification of factors that influence defect injection and detection in development of software intensive products , 2007, Inf. Softw. Technol..

[6]  Tze-Jie Yu,et al.  An Analysis of Several Software Defect Models , 1988, IEEE Trans. Software Eng..

[7]  Sandra Slaughter,et al.  Process maturity and software quality: a field study , 2000, ICIS.

[8]  Tomoo Matsubara,et al.  Issues in Software Inspection , 1997 .

[9]  Hany H. Ammar,et al.  Error propagation in software architectures , 2004 .

[10]  Stefan Wagner A model and sensitivity analysis of the quality economics of defect-detection techniques , 2006, ISSTA '06.

[11]  Philip M. Johnson Reengineering inspection , 1998, CACM.

[12]  Neal Schmitt,et al.  A comparison of LISREL and two-stage least squares analysis of a hypothesized life–job satisfaction reciprocal relationship. , 1982 .

[13]  SauerChris,et al.  The Effectiveness of Software Development Technical Reviews , 2000 .

[14]  Manfred Broy,et al.  Software Pioneers: Contributions to Software Engineering , 2002 .

[15]  Rajiv D. Banker,et al.  Scale Economies in New Software Development , 2013, IEEE Transactions on Software Engineering.

[16]  Michael E. Fagan Advances in software inspections , 1986, IEEE Transactions on Software Engineering.

[17]  Tzvi Raz,et al.  In‐process Control of Design Inspection Effectiveness , 2004 .

[18]  James Miller,et al.  Further Experiences with Scenarios and Checklists , 1998, Empirical Software Engineering.

[19]  Oliver Laitenberger,et al.  Perspective-based Reading of Code Documents at , 1997 .

[20]  Chris Sauer,et al.  Technical Reviews: A Behaviorally Motivated Program of Research , 2022 .

[21]  Lawrence R. James,et al.  An introduction to the logic, assumptions, and basic analytic procedures of two-stage least squares. , 1978 .

[22]  D. O'Neill,et al.  Issues in software inspection , 1997 .

[23]  Tzvi Raz,et al.  Factors affecting design inspection effectiveness in software development , 1997, Inf. Softw. Technol..

[24]  Ellis Horowitz,et al.  Software Cost Estimation with COCOMO II , 2000 .

[25]  Robert G. Ebenau,et al.  Software Inspection Process , 1993 .

[26]  Jeffrey C. Carver,et al.  Application of Kusumoto cost-metric to evaluate the cost effectiveness of software inspections , 2012, Proceedings of the 2012 ACM-IEEE International Symposium on Empirical Software Engineering and Measurement.

[27]  Lionel C. Briand,et al.  Using simulation to build inspection efficiency benchmarks for development projects , 1998, Proceedings of the 20th International Conference on Software Engineering.

[28]  Per Runeson,et al.  What do we know about defect detection methods? [software testing] , 2006, IEEE Software.

[29]  D. A. Christenson,et al.  A code inspection model for software quality management and prediction , 1988, IEEE Global Telecommunications Conference and Exhibition. Communications for the Information Age.

[30]  Khaled El Emam,et al.  An Internally Replicated Quasi-Experimental Comparison of Checklist and Perspective-Based Reading of Code Documents , 2001, IEEE Trans. Software Eng..

[31]  Harvey P. Siy,et al.  An Experiment ot Assess the Cost-Benefits of Code Inspections in Large Scale Software Development , 1997, IEEE Trans. Software Eng..

[32]  Mark C. Paulk,et al.  The Impact of Design and Code Reviews on Software Quality: An Empirical Study Based on PSP Data , 2009, IEEE Transactions on Software Engineering.

[33]  Stefan Biffl,et al.  Investigating the Defect Detection Effectiveness and Cost Benefit of Nominal Inspection Teams , 2003, IEEE Trans. Software Eng..

[34]  Lionel C. Briand,et al.  Determining inspection cost-effectiveness by combining project data and expert opinion , 2005, IEEE Transactions on Software Engineering.

[35]  Silvia Mara Abrahão,et al.  A systematic review of quality attributes and measures for software product lines , 2011, Software Quality Journal.

[36]  James Miller,et al.  A cognitive-based mechanism for constructing software inspection teams , 2004, IEEE Transactions on Software Engineering.

[37]  Daniel M. Germán,et al.  Peer Review on Open-Source Software Projects: Parameters, Statistical Models, and Theory , 2014, TSEM.

[38]  J. MacKinnon,et al.  Estimation and inference in econometrics , 1994 .

[39]  Khaled El Emam,et al.  Quantitative modeling of software reviews in an industrial setting , 1999, Proceedings Sixth International Software Metrics Symposium (Cat. No.PR00403).

[40]  J. Christopher Westland,et al.  The cost behavior of software defects , 2004, Decis. Support Syst..

[41]  Stefan Biffl,et al.  Investigating the Temporal Behavior of Defect Detection in Software Inspection and Inspection-Based Testing , 2010, PROFES.

[42]  Capers Jones,et al.  Embedded Software: Facts, Figures, and Future , 2009, Computer.

[43]  Norman E. Fenton,et al.  A Critique of Software Defect Prediction Models , 1999, IEEE Trans. Software Eng..

[44]  Mika Mäntylä,et al.  What Types of Defects Are Really Discovered in Code Reviews? , 2009, IEEE Transactions on Software Engineering.

[45]  Tzvi Raz,et al.  Inspection effectiveness in software development: a neural network approach , 1994, CASCON.

[46]  Harvey P. Siy,et al.  An experiment to assess the cost-benefits of code inspections in large scale software development , 1995, SIGSOFT '95.

[47]  Tony Gorschek,et al.  Evaluation and Measurement of Software Process Improvement—A Systematic Literature Review , 2012, IEEE Transactions on Software Engineering.

[48]  Padmal Vitharana,et al.  Computer-Mediated Group Support, Anonymity, and the Software Inspection Process: An Empirical Investigation , 2003, IEEE Trans. Software Eng..

[49]  Oliver Laitenberger,et al.  Cost-effective Detection of Software Defects through Perspective-based Inspections , 2001, Empirical Software Engineering.

[50]  H. Theil,et al.  Three-Stage Least Squares: Simultaneous Estimation of Simultaneous Equations , 1962 .

[51]  Thomas Thelin,et al.  An industrial case study of the verification and validation activities , 2003, Proceedings. 5th International Workshop on Enterprise Networking and Computing in Healthcare Industry (IEEE Cat. No.03EX717).

[52]  H. Theil Introduction to econometrics , 1978 .

[53]  Glenford J. Myers,et al.  Art of Software Testing , 1979 .

[54]  Shari Lawrence Pfleeger,et al.  Software Quality: The Elusive Target , 1996, IEEE Softw..

[55]  Lionel C. Briand,et al.  A Comprehensive Evaluation of Capture-Recapture Models for Estimating Software Defect Content , 2000, IEEE Trans. Software Eng..

[56]  Lionel C. Briand,et al.  Using multiple adaptive regression splines to support decision making in code inspections , 2004, J. Syst. Softw..