Search code examples
c#visual-studiocyclomatic-complexity

cyclomatic complexity of entire project solution.by not using directly any software


Calculate Cyclomatic Complexity using c# code. I am developing an application, that will take solution name from user and will show cyclomatic complexity of that solution in c#. please help me. I am taking solution name from the user and i have to show the cyclomatic complexity list to the user. how can i do this?


Solution

  • Microsoft.CodeAnalysis.Metrics NuGet package could provide many useful metrics including CyclomaticComplexity.