Discussion
Which testing metric measures the amount of code exercised by tests ?
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.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development