CS FundamentalsHardGATE CS · Software Engineering · Advanced

A mutation tool generated 60 mutants. Review shows 10 of them are equivalent mutants, and the current test suite kills 30 of the others. The team then adds new tests that kill 8 more of the surviving mutants. What is the mutation score after the new tests, defined as killed / (total - equivalent)?

  1. A. 63.3%
  2. B. 80.0%
  3. C. 76.0%
  4. D. 60.0%

Correct answer: C. 76.0%

Equivalent mutants cannot be killed and are removed from the denominator: (30 + 8) / (60 - 10) = 76%. Counting them (38/60 = 63.3%) understates the quality; the score before the new tests was 60%.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic