Statics Measures Question:

Download Job Interview Questions and Answers PDF

What does cyclomatic complexity apply to?

Statics Measures Interview Question
Statics Measures Interview Question

Answer:

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.

Download Statics Measures Interview Questions And Answers PDF

Previous QuestionNext Question
How is cyclomatic complexity computed?What are the kinds of measures?