SOFTWARE ENGINEERING

SOFTWARE TESTING

TEST PLAN AND TEST CASE DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is Cyclomatic complexity?( choose most relevant answer)
A
Black box testing
B
White box testing
C
Grey box testing
D
measures the amount of decision logic in the program module
Explanation: 

Detailed explanation-1: -What is Cyclomatic complexity? Explanation: Cyclomatic complexity measures the amount of decision logic in the program module. Cyclomatic complexity gives the minimum number of paths that can generate all possible paths through the module.

Detailed explanation-2: -Cyclomatic complexity (CYC) is a software metric used to determine the complexity of a program. It is a count of the number of decisions in the source code. The higher the count, the more complex the code.

Detailed explanation-3: -Cyclomatic complexity is computed using the control-flow graph of the program: the nodes of the graph correspond to indivisible groups of commands of a program, and a directed edge connects two nodes if the second command might be executed immediately after the first command.

Detailed explanation-4: -Cyclomatic complexity is used to gauge the overall intricacy of an application or specific functionality within it. The software metric quantitatively measures a program’s logical strength based on existing decision paths in the source code.

There is 1 question to complete.