The Fundamentals of Software Testing for Amateurs, Professionals, Novices and Experts. Welcome to the Glamorous World of Software Testing. Jim Morrison said, "Let's just say I was testing the bounds of society. I was just curious."

Defect Density

Defect Density 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 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.

PROBABLY RELATED POSTS



0 comments:

Post a Comment

Software Testing Fundamentals is dedicated to providing you relevant information on the basics of various aspects of software testing. The field of Software Testing, as opposed to Software Development, might not look glamorous to some but it is exciting to many of us and this site is devoted to share that excitement along with valuable information. Most of the articles here are compilations from various resources and experiences. In no way do we claim that we are the authoritative voice in this field and all our articles are open for discussion (See the open comment boxes). We advise you to apply the knowledge gained from this site at your own discretion. Nevertheless, we are committed to thorough research and we always welcome your contribution. And, of course, we will appreciate your reporting of any defects or enhancements you encounter on this site.