Online and CHM
QualityConfig Class Members
Properties  Methods 


KellermanSoftware.StaticCodeAnalysis Namespace : QualityConfig Class

The following tables list the members exposed by QualityConfig.

Public Constructors
 NameDescription
Public Constructor Default constructor  
Top
Public Properties
 NameDescription
Public Property Override the default culture. The default is CultureInfo.CurrentCulture  
Public Property Exclude directories from being searched Several defaults like: .git, node_modules  
Public Property A list of files patterns to exclude from code quality checks. Default: *.min.css, *.min.js, temp*.*  
Public Property A list of quality checks  
Top
Public Methods
 NameDescription
Public Method

Set the configuration by name

Quality Check Options
Extensions Violation Config Name Default Maximum Value
* Deep Nested Call MaxNestedCall 3
* Duplicate String Literal MaxDuplicateStrings 3
* File Too Big MaxFileLength 500
* Method Too Big MaxMethodLength 50
* Too Many Parameters MaxParameters 5
* Too Much Nesting MaxNesting 4
.c Method too Complex MaxCyclomaticComplexity 21
.cpp,.cxx,.cc,.ixx Method too Complex MaxCyclomaticComplexity 21
.cs Don't throw base Exception CSharpMaxThrowBaseException 0
.cs Don't use goto CSharpMaxGoToStatements 0
.cs Don't use lock(this) CSharpMaxLockThis 0
.cs Method too Complex MaxCyclomaticComplexity 21
.cs Rethrow detected CSharpMaxRethrow 0
.cs throw new NotImplementedException detected CSharpMaxNotImplementedException 0
.go Method too Complex MaxCyclomaticComplexity 21
.java Method too Complex MaxCyclomaticComplexity 21
.js Method too Complex MaxCyclomaticComplexity 21
.kt Method too Complex MaxCyclomaticComplexity 21
.php Method too Complex MaxCyclomaticComplexity 21
.py Method too Complex MaxCyclomaticComplexity 21
.ts Method too Complex MaxCyclomaticComplexity 21

 
Top
See Also

Reference

QualityConfig Class
KellermanSoftware.StaticCodeAnalysis Namespace