SOFTWARE ENGINEERING

SOFTWARE TESTING

TESTING PRINCIPLES AND CONCEPTS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is Cyclomatic complexity?
A
Black box testing
B
White box testing
C
Yellow box testing
D
Green box testing
Explanation: 

Detailed explanation-1: -Cyclomatic complexity is a software metric in open box testing that helps testers determine the complexity of a software program. It helps in identifying the number of decision points in a code. If the number of decision points is high, the complexity of the code is also high.

Detailed explanation-2: -The Cyclomatic complexity defines the number of independent paths in the basis set of the program that provides the upper bound for the number of tests that must be conducted to ensure that all the statements have been executed atleast once.

Detailed explanation-3: -Cyclomatic complexity is a metric that indicates the possible number of paths inside a code artifact, e.g., a function, class, or whole program. Thomas J. McCabe Sr. developed this metric, first describing it in a 1976 paper.

There is 1 question to complete.