When calculating Code Metrics, what is Cyclomatic Complexity ?

 Posted by Akiii on 5/7/2012 | Category: ASP.NET Interview questions | Views: 1854 | Points: 40
Answer:

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.



Thanks and Regards
Akiii


| Alert Moderator 

Comments or Responses

Login to post response