0
0
Testing Fundamentalstesting~20 mins

Defect metrics in Testing Fundamentals - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Defect Metrics Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Defect Density

Which formula correctly calculates defect density in a software project?

ANumber of defects fixed divided by the total number of defects reported
BTotal number of test cases executed divided by the number of defects found
CNumber of defects found divided by the size of the software (e.g., lines of code or function points)
DTotal number of defects found divided by the number of testers involved
Attempts:
2 left
💡 Hint

Think about how many defects appear relative to the size of the software.

🧠 Conceptual
intermediate
2:00remaining
Interpreting Defect Leakage

What does defect leakage indicate in software testing?

ADefects that remain undetected and are found by users after release
BDefects found by the testing team during test execution
CDefects fixed but reintroduced in later versions
DDefects reported but rejected as invalid
Attempts:
2 left
💡 Hint

Consider defects that escape the testing process and reach the users.

Predict Output
advanced
2:00remaining
Calculate Defect Removal Efficiency (DRE)

Given the following data, what is the Defect Removal Efficiency (DRE)?

DRE = (Defects found before release) / (Defects found before release + Defects found after release)

Defects found before release = 120
Defects found after release = 30

A0.80
B0.85
C0.75
D0.70
Attempts:
2 left
💡 Hint

Calculate the ratio of defects found before release to total defects found.

assertion
advanced
2:00remaining
Assertion on Defect Arrival Rate

Which assertion correctly describes the defect arrival rate during testing?

AIt is the ratio of defects reopened to defects closed
BIt is the number of defects found per unit time during testing
CIt is the number of defects fixed per day after release
DIt is the total number of defects found divided by total test cases executed
Attempts:
2 left
💡 Hint

Think about how quickly defects are discovered over time.

🔧 Debug
expert
3:00remaining
Identify the Incorrect Defect Metric Calculation

Which option shows an incorrect calculation of a defect metric?

ADefect Arrival Rate = Defects found per day during testing
BDefect Leakage = Defects found after release / Total Defects found
CDefect Density = Total Defects / Total Lines of Code
DDefect Removal Efficiency = Defects found after release / Total Defects found
Attempts:
2 left
💡 Hint

Review the formula for Defect Removal Efficiency carefully.