Recall & Review
beginner
What is defect density in software testing?
Defect density is the number of defects found in a software module divided by the size of that module, usually measured in lines of code or function points. It helps measure software quality.
Click to reveal answer
beginner
How do you calculate detection rate in testing?
Detection rate is calculated by dividing the number of defects found during testing by the total number of defects (found plus those found later). It shows how effective testing is at finding bugs.
Click to reveal answer
intermediate
Why is defect density useful for project managers?
Defect density helps project managers understand which parts of the software are more error-prone and may need more attention or testing effort.
Click to reveal answer
intermediate
What does a high detection rate indicate about a testing process?
A high detection rate means the testing process is good at finding defects before the software is released, reducing the chance of bugs reaching users.
Click to reveal answer
beginner
If a module has 10 defects and 2000 lines of code, what is its defect density?
Defect density = Number of defects / Size of module = 10 / 2000 = 0.005 defects per line of code.
Click to reveal answer
What does defect density measure?
✗ Incorrect
Defect density measures how many defects exist per unit size of software, showing quality.
Detection rate is best described as:
✗ Incorrect
Detection rate shows how many defects testing found compared to all defects.
A low defect density means:
✗ Incorrect
Low defect density means fewer defects per unit size, indicating better quality.
If detection rate is 100%, it means:
✗ Incorrect
100% detection rate means testing found every defect before release.
Which metric helps decide where to focus testing effort?
✗ Incorrect
Defect density shows which parts have more defects and need more testing.
Explain defect density and why it is important in software testing.
Think about defects per size of software and what it tells us.
You got /3 concepts.
Describe detection rate and how it helps improve the testing process.
Consider how many defects testing finds compared to total defects.
You got /3 concepts.