articleJan 1, 2009Closed access

Predicting faults using the complexity of code changes

Queen's University

Indexed incrossref

Abstract

Predicting the incidence of faults in code has been commonly associated with measuring complexity. In this paper, we propose complexity metrics that are based on the code change process instead of on the code. We conjecture that a complex code change process negatively affects its product, i.e., the software system. We validate our hypothesis empirically through a case study using data derived from the change history for six large open source projects. Our case study shows that our change complexity metrics are better predictors of fault potential in comparison to other well-known historical predictors of faults, i.e., prior modifications and prior faults.

Citation impact

693
total citations
FWCI
71.42
Percentile
100%
References
48
Citations per year

Authors

1

Topics & keywords

Keywords
  • Computer science
  • Code (set theory)
  • Source code
  • Process (computing)
  • Software
  • Product metric
  • Product (mathematics)
  • Software bug
No related works found for this paper.