QuestionQ28

VerifiedThe Tasks of the Test Analyst in Risk-Based Testing

You are a test analyst working on a project to implement aircraft autopilot software. You are analysing the test results for four components of this system, shown in the following table.

Question Image

Applying the “defects group together” testing principle, you want to identify the component most likely to contain many undiscovered defects. Historical data indicates that the average defect density is approximately one defect per 100 lines of code.

Which component requires more thorough testing to increase the likelihood of finding a significant number of undiscovered defects?

Explanation

The 'defects cluster together' principle says a small number of components tend to contain most defects, so a component whose observed defect density is far above the baseline is the best candidate for further undiscovered defects. Defect density per 100 lines of code: Flight stabilization 16/1800 = 0.89, Navigation 42/4000 = 1.05, Altitude control 20/1000 = 2.0, Collision avoidance 60/6400 = 0.94. With a historical average of about 1 per 100 lines, three components are close to the baseline, while Altitude control shows roughly double the expected density. It therefore needs the most thorough additional testing.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!