• DocumentCode
    2407304
  • Title

    Some misconceptions about lines of code

  • Author

    Rosenberg, Jarrett

  • Author_Institution
    Sun Microsyst., Palo Alto, CA, USA
  • fYear
    1997
  • fDate
    5-7 Nov 1997
  • Firstpage
    137
  • Lastpage
    142
  • Abstract
    Source lines of code (SLOC) is perhaps the oldest of software metrics, and still a benchmark for evaluating new ones. Despite the extensive experience with the SLOC metric, there are still a number of misconceptions about it. The paper addresses three of them: (1) that the format of SLOC is relevant to how to properly count it (a simple experiment shows that, in fact, it does not matter), (2) that SLOC is most useful as a predictor of software quality (in fact it is most useful as a covariate of other predictors), and (3) that there is an important inverse relationship between defect density and code size (in fact, this is an arithmetic artifact of plotting bugs-per-SLOC against SLOC)
  • Keywords
    program debugging; software metrics; software quality; benchmark; bugs; code size; defect density; software metrics; software quality predictor; source lines of code; Arithmetic; Assembly; Code standards; Programming profession; Software engineering; Software measurement; Software quality; Standards development; Sun; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Metrics Symposium, 1997. Proceedings., Fourth International
  • Conference_Location
    Albuquerque, NM
  • Print_ISBN
    0-8186-8093-8
  • Type

    conf

  • DOI
    10.1109/METRIC.1997.637174
  • Filename
    637174