QuestionQ10

VerifiedTesting in Agile

How many test cases are required to obtain 100% statement coverage?

Explanation

Statement coverage is achieved when every executable statement has been executed at least once. The necessary number of test cases depends on the program’s control flow; absent any code or diagram that introduces mutually exclusive paths, a single test case is sufficient in the minimum case.

Community Discussion

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