Ad Topics

Models

  • 'Waterfall' Testing
  • 'V-Model' Testing
  • 'Iterative' Testing
  • 'Agile' Testing

Methods

Types

  • Smoke Testing
  • Installation Testing
  • Functional Testing
  • Look & Feel Testing
  • Usability Testing
  • Compatibility Testing
  • Performance Testing
  • Security Testing
  • Conformance Testing
  • Regression Testing

Artifacts

Metrics

Tools

  • Test Management Tools
  • Defect Tracking Tools
  • Functional Testing Tools
  • Performance Testing Tools
  • Unit Testing Tools

Resources

The list of articles above is all we got at this moment. Over the weekends, we are working on the remaining content. Join/Follow/Subscribe us if you want to be notified of our updates.

Defect Density

Defect Density Definition, Elaboration, Formula, and Uses:

DEFINITION

Defect Density is the number of confirmed defects detected in software/component during a defined period of development/operation divided by the size of the software/component.

ELABORATION

The ‘defects’ are:

  • confirmed and agreed upon (not just reported).
  • Dropped defects are not counted.

The period might be for one of the following:

  • for a duration (say, the first month, the quarter, or the year).
  • for each phase of the software life cycle.
  • for the whole of the software life cycle.

The size is measured in one of the following:

  • Function Points (FP)
  • Source Lines of Code

DEFECT DENSITY FORMULA

defect density image

USES

  • For comparing the relative number of defects in various software components so that high-risk components can be identified and resources focused towards them.
  • For comparing software/products so that quality of each software/product can be quantified and resources focused towards those with low quality.

5 comments to Defect Density

  • [...] There are at least two aspects of quality in software development. The most obvious one is defect density. This is the external view of quality, the one experienced by our end users, and therefore the [...]

  • Lava Kafle

    wonderful article, it helps nerds, geeks, layman as well to get an overview of software testing fundamentals, defect density is just a title. It is useful for programmers, architects, testers, principals, CIOs, CFOs, CEOs CTOs to determine what they need

  • Amarjeet Chavhan

    Clean and clear description…Thanks for sharing….

  • Abhay

    Thanks for the useful info.
    Just one addition : Calculation of defect density would be better if we calculate on the basis of the FP
    Though code churn can be taken as a early indicator for Defect Density.

  • Alpesh Gupta

    Thanks for the useful info.
    Just one more addition : The defect density is also measured in KLOC (per thousand line of code) e.g 12 defects are found in entire code of 2000 lines then defect rate is 6 per KLOC means current rate of defect is 6 defects per thousand line of codes

Leave a Reply

  

  

  


− 4 = three

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>