The following tables list the members exposed by QualityConfig.
Public Constructors
Public Properties
| | Name | Description |
 | DefaultCultureInfo |
Override the default culture. The default is CultureInfo.CurrentCulture
|
 | DirectoriesToExclude |
Exclude directories from being searched
Several defaults like: .git, node_modules
|
 | FilesToExclude |
A list of files patterns to exclude from code quality checks.
Default: *.min.css, *.min.js, temp*.*
|
 | QualityChecks |
A list of quality checks
|
Top
Public Methods
| | Name | Description |
 | SetConfig | Set the configuration by name
Quality Check Options
| * |
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