Estimating the Number of Faults in Code
- 1 July 1984
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. SE-10 (4), 459-464
- https://doi.org/10.1109/tse.1984.5010260
Abstract
This paper provides formulas relating the number of faults or ``bugs'' to the number of lines of code and to the number of conditional jumps. A result is that there are, on the average, about 21 bugs per KSLOC discoverable after successful compilation. A major motivation for the work presented here was to determine if some published data suggest any relationship between the level of the coding language employed (e.g., Jovial is a ``high'' level language) and the number of bugs found. It is shown that the number of bugs appears not to be a function of the ``level'' of the coding language employed. In addition, knowledge of items such as the size of the vocabulary (operator and operand) used appears to be of little consequence to the estimate of bug content beyond that based on SLOC count.Keywords
This publication has 4 references indexed in Scilit:
- Number of Faults per Line of CodeIEEE Transactions on Software Engineering, 1982
- Analysis and performance evaluation of HYPERchannel access protocolsPerformance Evaluation, 1981
- Predicting numbers of errors using software scienceACM SIGMETRICS Performance Evaluation Review, 1981
- A Complexity MeasureIEEE Transactions on Software Engineering, 1976