DocumentCode
753630
Title
Number of Faults per Line of Code
Author
Lipow, M.
Author_Institution
TRW Electronics and Defense Sector
Issue
4
fYear
1982
fDate
7/1/1982 12:00:00 AM
Firstpage
437
Lastpage
439
Abstract
In this note, the number of faults or "bugs" per line of code is estimated based upon Halstead\´s software science relationships. This number is shown to be an increasing function of the number of lines of code in a program, a result in agreement with intuition and some current theories of complexity. The form of this function is investigated and an easy-to-use approximation is developed. An application to a moderately large software project is shown in which the predicted number of faults for program modules of various sizes agrees fairly well with the actual numbers of faults discovered.
Keywords
Fault prediction; fault rate; program complexity; software science; Application software; Arithmetic; Computer bugs; Logic arrays; Programmable logic arrays; Programming profession; Upper bound; Vocabulary; Fault prediction; fault rate; program complexity; software science;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/TSE.1982.235579
Filename
1702967
Link To Document