English, asked by sourabhptil07, 5 months ago

What is the Cyclomatic Complexity of the
following program?
IFM< >= N
THEN Statement 2;
END​

Answers

Answered by hanockgamer611
2

Answer:

Cyclomatic Complexity in Software Testing is a testing metric used for measuring the complexity of a software program. It is a quantitative measure of independent paths in the source code of a software program. Cyclomatic complexity can be calculated by using control flow graphs or with respect to functions, modules, methods or classes within a software program.

Independent path is defined as a path that has at least one edge which has not been traversed before in any other paths.

This metric was developed by Thomas J. McCabe in 1976 and it is based on a control flow representation of the program. Control flow depicts a program as a graph which consists of Nodes and Edges.

Similar questions