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?
Microsoft.CodeAnalysis.Metrics NuGet package could provide many useful metrics including CyclomaticComplexity.