The assignment content discusses statement coverage, branch coverage, and path coverage in the context of a programming solution. It highlights various possible paths that cover different conditions and their combinations.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Ans 3 : Statement Coverage: 1-2-3-4-6-5-7 This is one time statement coverage if condition 2 and 4 are true and the condition 5 is false. Branch Coverage: These are possible paths which cover the branches. 1-2-3-4-6-5-7 if condition 2 and 4 are true and the condition 5 is false. 1-2-3-4-5-7 if condition 2 is true and condition 5 is false. 1-2-3-4-6-5-2-3-4-5-7 As we know the branch coverage include statement coverage.
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Path Coverage: Set of all paths 1-2-5-7 1-2-3-4-5-7 1-2-3-4-6-5-7 1-2-3-4-6-5-2-3-4-5-7 1-2-3-4-6-5-2-3-4-6-5-7 1-2-3-4-6-5-7