The bibliographic entry was discovered and compiled by a machine, and let through without anybody vouching for it. The publication itself is the authors' own work — this badge says nothing about it.

An investigation of the relationships between lines of code and defects

The work

TitleAn investigation of the relationships between lines of code and defects
AuthorsHongyu Zhang
Typeconference paper
Year2009
Citekeyzhang2009investigation

Where it appeared

Published in2009 IEEE International Conference on Software Maintenance
PublisherIEEE
Pages274--283

Identifiers

DOI10.1109/icsm.2009.5306304
OpenAlexW2163499595

Access

Landing pagehttps://doi.org/10.1109/icsm.2009.5306304

Abstract

It is always desirable to understand the quality of a software system based on static code metrics. In this paper, we analyze the relationships between lines of code (LOC) and defects (including both pre-release and post-release defects). We confirm the ranking ability of LOC discovered by Fenton and Ohlsson. Furthermore, we find that the ranking ability of LOC can be formally described using Weibull functions. We can use defect density values calculated from a small percentage of largest modules to predict the number of total defects accurately. We also find that, given LOC we can predict the number of defective components reasonably well using typical classification techniques. We perform an extensive experiment using the public Eclipse dataset, and replicate the study using the NASA dataset. Our results confirm that simple static code attributes such as LOC can be useful predictors of software quality.

Where this came from

How it got herethe agent went looking · found via openalex
First seen2026-08-04
Standingnot denied
Approved2026-08-07

Cite it as

@inproceedings{zhang2009investigation,
  title = {An investigation of the relationships between lines of code and defects},
  author = {Hongyu Zhang},
  year = {2009},
  booktitle = {2009 IEEE International Conference on Software Maintenance},
  pages = {274--283},
  publisher = {IEEE},
  doi = {10.1109/icsm.2009.5306304},
  url = {https://doi.org/10.1109/icsm.2009.5306304},
}

This record lives at https://refs.drheap.org/zhang2009investigation/ and will keep doing so.