Below is a brief program listing. Create the control flow diagram, determine its Cyclomatic Complexity, choose a set of basis paths, and determine the necessary values for the conditions to sensitize each path.
 if (c1) {
 while (c2) {
 if (c3) { s1; s2;
 if (c5) s5;
 else s6;
 break; // Skip to end of while
 else
 if (c4) { }
 else { s3; s4; break;}
 } // End of while
 } // End of if
 s7;
 if (c6) s8; s9;
 s10;
Comments
Leave a comment