CodeMetrics Properties
From TFS Build Extensions
The CodeMetrics type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| BinariesDirectory |
Path to where the binaries are placed
| |
| CyclomaticComplexityErrorThreshold |
Threshold value for what Cyclomatic Complexity should fail the build
| |
| CyclomaticComplexityWarningThreshold |
Threshold value for what Cyclomatic Complexity should partially fail the build
| |
| FilesToProcess |
Optional: Which files that should be processed. Can be a list of files or file match patterns. Defaults to *.dll;*.exe
| |
| GeneratedFileName |
Optional: Name of the generated metrics result file. Should end with .xml
| |
| MaintainabilityIndexErrorThreshold |
Threshold value for what Maintainability Index should fail the build
| |
| MaintainabilityIndexWarningThreshold |
Threshold value for what Maintainability Index should partially fail the build
|