please help me to do these questions..
1.What is the the minimal set for 100% Node Coverage?
2.What's the coverage level of Edge coverage for the above given Test set?
`public static void bubbleSort(int[] numArray) {
int n = numArray.length; //NODE1
int temp = 0; //NODE1
for (int i = 0; i < n; i++) { //NODE2
for (int j = 1; j < (n - i); j++) { //NODE3
if (numArray[j - 1] > numArray[j]) { //NODE4
temp = numArray[j - 1]; //NODE5
numArray[j - 1] = numArray[j]; //NODE5
numArray[j] = temp; //NODE5
}
}
}
Sysytem.ot.println("end"); //NODE6 }`
Aucun commentaire:
Enregistrer un commentaire