QuestionQ14

VerifiedTesting in Agile

Which of the following provides a valid method for calculating cyclomatic complexity?

Explanation

For a connected control-flow graph, cyclomatic complexity is calculated as the number of links (edges) minus the number of nodes plus 2: E − N + 2.

Community Discussion

No comments yet. Be the first to start the discussion!