Skip to content

drab0wl/CognitiveComplexityAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CognitiveComplexityAnalyzer

Roslyn analyzer for cognitive complexity.

Currently no support incrementing complexity for ternary operators yet.

Supports Visual Studio 2022.

Configuration

Configuration is accomplished by adding and editing an editorconfig file to your solution.

Max Complexity

The default max complexity is 10. The setting is dotnet_diagnostic.CC0001.max_cognitive_complexity. Anything above this setting will result in an warning.

About

Roslyn analyzer for cognitive complexity

Resources

Stars

Watchers

Forks

Packages

No packages published