-
-
Notifications
You must be signed in to change notification settings - Fork 281
Settings
Daniel Palme edited this page Jan 17, 2019
·
23 revisions
ReportGenerator has some options which allow to control its behavior.
These settings can be changed in appsettings.json
or via command line parameters.
Command line parameter | Explanation |
---|---|
riskHotspotsAnalysisThresholds:metricThresholdForCyclomaticComplexity=30 |
Threshold for cyclomatic complexity metric. |
riskHotspotsAnalysisThresholds:metricThresholdForCrapScore=15 |
Threshold for crap score metric |
riskHotspotsAnalysisThresholds:metricThresholdForNPathComplexity=200 |
Threshold for NPath complexity metric |
Command line parameter | Explanation |
---|---|
settings:numberOfReportsParsedInParallel=1 |
The number of XML reports / coverage files that are processed in parallel. Higher values will result in faster execution times but memory usage will grow too. |
settings:maximumNumberOfHistoricCoverageFiles=100 |
Maximum number of historic coverage files that get parsed. |
settings:renderPngFallBackImagesForHistoryCharts=false |
Indicates whether PNG images are rendered as a fallback for history charts. Those images get displayed if JavaScript is disabled. Rendering of the images takes quite a lot of time. You should only enable this, if you work in an environment where JavaScript is disabled (e.g. Azure DevOps, Jenkins). For report types HTMLSummary and HTMLInline the PNG images are always generated. |
settings:cachingDuringOfRemoteFilesInMinutes=10080 |
The caching duration of code files that are downloaded from remote servers in minutes. |