Answers

Question and Answer:

  Home  Statics Measures

⟩ What does cyclomatic complexity apply to?

Cyclomatic complexity may also be applied to individual functions, modules, methods or classes within a program, and is formally defined as follows:

v(G) = E − N + 2P

where E is the number of edges of the graph, N is the number of nodes of the graph and P is the number of connected components.

 182 views

More Questions for you: