SECTION 29 / 48
Cyclomatic Complexity
Cyclomatic complexity is the number of decision and loop statements plus 1. Here it is 3 + 1 = 4: four independent paths, requiring at least four test cases.
Cyclomatic complexity is the number of decision and loop statements plus 1. Here it is 3 + 1 = 4: four independent paths, requiring at least four test cases.