When calculating Code Metrics, what is Cyclomatic Complexity ?
Interview question and answer by: Akiii
| Posted on: 5/7/2012 | Category: ASP.NET Interview questions
| Views: 744 | | Points: 40
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
Found interesting? Add this to: