Jump to content

Defect criticality

From Wikipedia, the free encyclopedia

In the context of software quality, defect criticality is a measure of the overall impact of a software defect. It is defined as the product of three factors: severity, likelihood, and class.

Each defect must first be assigned a class (type of defect), and then its severity/impact and likelihood/visibility are scored within that context. The class identifies what kind of issue it is (e.g., security, performance, usability), while severity and likelihood describe how bad and how visible it is.

Severity/impact

[edit]

Severity measures the degree to which the defect affects users or system operation. When determining severity, consider the applicable Class of defect (see below) and how strongly it affects the user experience or business outcome.

  • 0 - Affects critical data or functionality and leaves users with no workaround
  • 1 - Affects critical data or functionality and forces users to employ a workaround
  • 2 - Affects non-critical data or functionality and forces users to employ a workaround
  • 3 - Affects non-critical data or functionality and does not force users to employ a workaround
  • 4 - Affects aesthetics, professional look and feel, “quality,” or “usability

Likelihood/visibility

[edit]

Likelihood measures how often or widely the defect is encountered by users. As with severity, consider the Class of defect when assessing this factor.

  • 1 - Seen by all or almost all users who use the application (≥95% of users)
  • 2 - Seen by more than two-thirds of the users (>67% and <95%)
  • 3 - Seen by about half the users (>33% and <66%)
  • 4 - Seen by about one-third or fewer users (>0% and <32%)

Class of defect

[edit]

The class defines the nature or domain of the defect. It provides the context for evaluating both severity and likelihood. For example, a “Class 0” (stability or security) issue with a minor visual symptom should still be treated more seriously than a “Class 4” (cosmetic) issue with identical visibility.

Class 0

[edit]

Critical system-level defects:

Class 1

[edit]

High-performance or scalability defects:

  • Performance and efficiency (use of memory, disk, CPU)
  • Scalability

Class 2

[edit]

Functional or logical correctness defects:

Class 3

[edit]

User experience and workflow defects:

  • Usability
  • Learnability
  • Readability
  • Documentation
  • Consistency
  • Workflow (“feel”)

Class 4

[edit]

Presentation and cosmetic defects:

Assessing the criticality score

[edit]

The criticality score is computed as:

Interpretation of results:

  • 0–2 = Critical
  • 3–9 = Major
  • 10–20 = Medium
  • 21–64 = Low

Example calculation

[edit]

A defect causes data loss in a critical process, is visible to most users, and falls under Class 0 (stability):

  • Class = 0 (stability)
  • Severity = 0 (critical data loss, no workaround)
  • Likelihood = 2 (seen by >67% of users)

Critical defect.

Another example: A cosmetic typo on a rarely used screen:

  • Class = 4 (cosmetic)
  • Severity = 4 (minor aesthetic issue)
  • Likelihood = 4 (seen by <32% of users)

Low criticality defect.

References

[edit]