Predicting software defect density: a case study on automated static code analysis

  • Authors:
  • Artem Marchenko;Pekka Abrahamsson

  • Affiliations:
  • Nokia, Tampere, Finland;VTT Technical Research Centre of Finland, Oulu, Finland

  • Venue:
  • XP'07 Proceedings of the 8th international conference on Agile processes in software engineering and extreme programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The number of defects is an important indicator of software quality. Agile software development methods put an explicit requirement on automation and permanently low defect rates. Code analysis tools are seen as a prominent way to facilitate the defect prediction. There are only few studies addressing the feasibility of predicting a defect rate with the help of static code analysis tools in the area of embedded software. This study addresses the usefulness of two selected tools in the Symbian C++ environment. Five projects and 137 KLOC of the source code have been processed and compared to the actual defect rate. As a result a strong positive correlation with one of the tools was found. It confirms the usefulness of a static code analysis tool as a way for estimating the amount of defects left in the product.