Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which testing metric measures the amount of code exercised by tests ?

  • A.Reliability factor
  • B.Coupling metric
  • C.Coverage metric
  • D.MTTF

Answer: C

The metric is the coverage metric.

Code coverage measures how much of the program a test suite actually executes, usually as a percentage: statement coverage, branch (decision) coverage, condition coverage and path coverage are its common forms. Low coverage shows which parts of the code the tests never reach.

A reliability factor concerns how often the system fails in use. A coupling metric measures how strongly modules depend on one another, a design measure. MTTF (mean time to failure) is a reliability measure of average operating time before failure. None of them measures how much code the tests exercise.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.