ArticleslgStudy

computer science

Defect criticality

Defect criticality is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Defect criticality rather than just read about it. In short: Defect criticality is a metric used in software quality assessment to quantify the potential impact of a software defect. It is defined as the product of three factors: severity, likelihood, and class.

Key takeaways

  • Defect criticality belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Defect criticality to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Defect criticality from memory before moving on to harder problems.

Reference excerpt

Defect criticality is a metric used in software quality assessment to quantify the potential 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 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 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 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 Critical system-level defects:

Stability, reliability and availability Security Legal (liability, ADA, copyright) Testability Storage (data loss or corruption)

Class 1 High-performance or scalability defects:

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

Class 2 Functional or logical correctness defects:

Functionality Logic or calculation errors Compatibility Interoperability

Class 3 User experience and workflow defects:

Usability Learnability Readability Documentation Consistency Workflow (“feel”)

Class 4 Presentation and cosmetic defects:

Typographic or grammatical errors Aesthetics Appearance or visual cosmetic issues

Assessing the criticality score The criticality score is computed as: Criticality=Severity×Likelihood×Class Interpretation of results:

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

Example calculation 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) Criticality=0×2×0=0 → 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) Criticality=4×4×4=64 → Low criticality defect.

References

Worked examples

Example 1 — a first encounter with Defect criticality

Start with the simplest possible case. Write down what Defect criticality claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Defect criticality before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Defect criticality ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Defect criticality

In research
Defect criticality appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Defect criticality in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Defect criticality is common in secondary-school and first-year university syllabi. It links to neighbouring topics Quality assurance, Software bugs, Software development, so understanding it makes those chapters shorter.
In everyday life
Look for Defect criticality outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Defect criticality” →

How to study Defect criticality in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Defect criticality means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Defect criticality out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Defect criticality in simple terms?

Defect criticality is a metric used in software quality assessment to quantify the potential impact of a software defect. It is defined as the product of three factors: severity, likelihood, and class.

Why does Defect criticality matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Defect criticality?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Defect criticality.

Tags

  • Quality assurance
  • Software bugs
  • Software development

Keep exploring