Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

Path Coverage criteria requires that every linearly independent control path through a module must be executed at least once. This requires minimum test cases equal to:

AMcCabe's Cyclomatic Complexity $V(G)$
BTotal Lines of Code (LOC) / 10
CNumber of Module Functions
DNumber of Input Parameters Squared

Explanation

The number of test cases required for 100% basis path coverage equals the Cyclomatic Complexity value $V(G)$.

Exam Relevance
  • Topic: Software Testing
  • Subtopic: Test Coverage Metrics
Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *