Module size distribution and defect density
Authors:
- J. DentonJDJ. Denton
- 8 November 2002
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10719458,p. 62-71
Abstract
Data from several projects show a significant relationship between the size of a module and its defect density. We address implications of this observation. Does the overall defect density of a software project vary with its module size distribution? Even more interesting is the question can we exploit this dependence to reduce the total number of defects? We examine the available data sets and propose a model relating module size and defect density. It takes into account defects that arise due to the interconnections among the modules as well as defects that occur due to the complexity of individual modules. Model parameters are estimated using actual data. We then present a key observation that allows use of this model for not just estimation of the defect density, but also potentially optimizing a design to minimize defects. This observation, supported by several data sets examined, is that the module sizes often follow exponential distribution. We show how the two models used together provide a way of projecting defect density variation. We also consider the possibility of minimizing the defect density by controlling module size distribution.Keywords
This publication has 10 references indexed in Scilit:
- Requirements volatility and defect density2003
- Some misconceptions about lines of code2002
- What do the software reliability growth model parameters represent?2002
- Quantitative analysis of faults and failures in a complex software systemIEEE Transactions on Software Engineering, 2000
- Reexamining the fault density component size connectionIEEE Software, 1997
- Error density and size in Ada softwareIEEE Software, 1990
- Scale Economies in New Software DevelopmentIEEE Transactions on Software Engineering, 1989
- An empirical study of a model for program error predictionIEEE Transactions on Software Engineering, 1989
- Identifying Error-Prone Software—An Empirical StudyIEEE Transactions on Software Engineering, 1985
- Software errors and complexity: an empirical investigation0Communications of the ACM, 1984