Cyclomatic complexity Lecture by Mrs. Deepika Shrivastava.

Cyclomatic complexity is a software metrics developed by Sir. Thomas J.McCabe and is used to indicate the complexity of a program. It directly measures the no. of independent paths through a program’s source code. Control flow graph is used in which nodes are the collection of commands and edges indicate the direction of flow that which set of commands is to be executed next.