Defect Density

Defect Density

Model:?Defect density is a measure of the total known defects divided by the size of the software entity being measured.?

Number of Known Defects/Size

The Number of Known Defects is the count of total defects identified against a particular software entity during a particular time period. Examples include:

  • Defect to date since the creation of a module
  • Defects found in a program during an inspection
  • Defects to date since the shipment of a release to the customer

Size is a normalizer that allows comparisons between different software entities (e.g., modules, releases, products). For software components, size is typically counted in Lines of Code, Story Points, Use Case Points, or Function Points. For documents, size is typically counted in pages or words. For testware, size is typically counted in test cases or items tested (e.g., paths, requirements, components)

Uses:?Defect Density can be used to compare the relative number of defects in various software components. This measure helps identify candidates for additional inspection or testing or possible re-engineering or replacement. Identifying defect-prone components allows the concentration of limited resources into areas with the highest potential return on the investment. Figures 1 and 2 illustrate typical reporting formats for Defect Density when utilized in this manner.

No alt text provided for this image
No alt text provided for this image

Another use for Defect Density is to compare subsequent releases of a product to track the impact of defect reduction and quality improvement activities. Normalizing by size allows releases of varying sizes to be compared. Differences between products or product lines can also be compared in this manner. Figure 3 illustrates a typical reporting format for Defect Density when utilized in this manner.?

No alt text provided for this image


_____________________________________________________________________

No alt text provided for this image

Upcoming webinars from the Software Excellence Academy include:

  • 7/13/2022 – Introduction to Software Safety Part 1 presented by Dennis Frailey
  • 7/20/2022 – Introduction to Software Safety Part 2 presented by Dennis Frailey
  • 7/27/2022 – Introduction to Software Safety Part 3 presented by Dennis Frailey
  • 8/3/2022 – FMEA for software presented by Barbara Armstrong

For more information about our webinars or to register for one or more of these webinars visit click here.

______________________________________________________________________

The following webinar recordings are currently available on our website at https://www.softwareexcellenceacademy.com/webinars:

  • Consideration for Risk-Based Testing presented by Linda Westfall (This webinar was newly added this week)
  • Software Backlog - Timing is Everything presented by Esther Alexander
  • Overcoming Test Management's Special Leadership Challenges presented by Robin Goldsmith
  • Can/Should You Measure Testing Productivity presented by Robin Goldsmith
  • Writing Useful Test Management Documentation presented by Linda Westfall
  • Building Effective Distributed Teams presented by Scott Duncan
  • Leveraging Your Strengths On Your Project Team presented by Diana Alt
  • Making Ordinary Teams Extraordinary presented by Robin Goldsmith

________________________________________________________________

? 2023 Westfall Team. All Rights Reserved

Mike Puntumapanitch (Mike P.)

Providing Financial Strategies, Growing Net Worth, and Reducing Risk

2 年

Great summary. Another common application is to use defect density data a input into defect simulation to proactively verify common points of failure. This can be automated and aligned with performance and virtualization of services to ensure that applications, security, infrastructure and services are resilient to commonly found defects.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了