CS FundamentalsVery hardGATE CS · TCS NQT Prime · Product Company SDE

A mutation test run generated 40 mutants. 6 are equivalent mutants and 28 were killed. What is the mutation score, excluding equivalent mutants?

  1. A. 82.4%
  2. B. 85.0%
  3. C. 87.4%
  4. D. 70.0%

Correct answer: A. 82.4%

Mutation score = killed / (total − equivalent) = 28/34 = 82.4%. Dividing by the full total instead (28/40) would wrongly give 70.0%.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic