When calculating Code Metrics, what is Cyclomatic Complexity ?

Cyclomatic Complexity refers to the structural complexity of the code. Here, different code paths in the flow of the program are calculated.

A complex control flow requires a more tests to achieve good code coverage. hence, the code will be less maintainable.

Leave a Reply

Your email address will not be published. Required fields are marked *