• DocumentCode
    970355
  • Title

    Estimating the Number of Faults in Code

  • Author

    Gaffney, John E., Jr.

  • Author_Institution
    National Weather Service, U.S. Department of Commerce, Silver Spring, MD, 20910.; Federal System Division, IBM Corporation, Gaithersburg, MD 20879.
  • Issue
    4
  • fYear
    1984
  • fDate
    7/1/1984 12:00:00 AM
  • Firstpage
    459
  • Lastpage
    464
  • 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
    Assembly; Bismuth; Books; Business; Computer bugs; High level languages; Silver; Springs; Vocabulary; Weather forecasting;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1984.5010260
  • Filename
    5010260