Enum ReportOptionsFlags
Represents an array of flags that indicates various boolean report options.
[Flags]
public enum ReportOptionsFlags : ulong
- Extension Methods
Fields (27)
AllowBreakLongLine = 32768AllowBreakLongLine
CollapseCodeQueriesBodies = 65536CollapseCodeQueriesBodies
Default = HideTypesMetricsOnLargeApp | HideTypesDependenciesOnLargeApp | DontShowTooManyCodeRulesMatchedItems | HideNamespacesMetricsOnLargeApp | HideNamespacesDependenciesOnLargeApp | AllowBreakLongLine | CollapseCodeQueriesBodies | ShowRuleDescriptionIfAvailable | LinkElementToRelativeSourceFile | ShowNewIssuesInSource | ShowUnresolvedIssuesInSource | DontShowTooManyTestsPerSourceFileDefault
DontClusterAsmInGraph = 262144DontClusterAsmInGraph
DontCompressReport = 67108864DontCompressReport
This flag is negative to make sure all existing projects (built with a version lower than v2024.2) compress their report
DontLinkElementToSourceFile = 2097152When the source file declaration(s) of a code element has been resolved at analysis time, with this flag un-set it is possible to get a link to this declaration for each occurrence of the code element in the report.
This flag is negative - prefixed by don't - so existing project files get elements links in report as-is.
DontShowCodeElementIcons = 1048576When this flag is un-set, icons are shown before code elements in the report.
This flag is negative - prefixed by don't - so existing project files get code elements' icons in report as-is.
DontShowTooManyCodeRulesMatchedItems = 4096DontShowTooManyCodeRulesMatchedItems
DontShowTooManyTestsPerSourceFile = 214748364816Sep2026: When set, a source file page in the report lists at most NbTestsPerSourceFile tests using the file (the "Used by X tests" pane). The count X is never capped.
DontUnfoldMultiItemsCell = 524288Some rules and code queries result's cells match several items (like several classes or several issues). When this flag is un-set, it unfolds up to 10 items in the concerned queries' results' cells.
This flag is negative - prefixed by don't - so existing project files get multi-items cells unfold in report as-is.
ExportGraphAndMatrixAsBitmap = 134217728ExportGraphAndMatrixAsBitmap
Set this flag to export the dependency graph and matrix in the report as a PNG bitmap, restoring the format used before version 2025.1, instead of the default vectorized versions.
GraphLayoutDirectionTopToBottom = 512GraphLayoutDirectionTopToBottom
HideNamespacesDependenciesOnLargeApp = 16384HideNamespacesDependenciesOnLargeApp
HideNamespacesMetricsOnLargeApp = 8192HideNamespacesMetricsOnLargeApp
HideTierAssembliesInGraph = 256HideTierAssembliesInGraph
HideTypesDependenciesOnLargeApp = 2048HideTypesDependenciesOnLargeApp
HideTypesMetricsOnLargeApp = 1024HideTypesMetricsOnLargeApp
LinkElementToRelativeSourceFile = 4194304When this flag is set, links to source file declarations in the report are paths relative to the report file location.
None = 0None
OutputSourceFile_All = 33554432All source files are listed in the limit of IProjectReport.MaxNbSourceFiles.
OutputSourceFile_OnlyIssuesOrDiff = 16777216Only source files containing issues or changed since baseline or new since the baseline are listed in the limit of IProjectReport.MaxNbSourceFiles.
If both OutputSourceFile_OnlyIssuesOrDiff and OutputSourceFile_All are reset, only source files containing issues are listed in the limit of IProjectReport.MaxNbSourceFiles.
ShowAllSourceFiles = 8388608When this flag is set, don't take account of the limit IProjectReport.MaxNbSourceFiles.
ShowFixedIssuesInSource = 1073741824ShowNewIssuesInSource = 268435456Specifies that new issues detected in the source code should be displayed in the report.
ShowRuleDescriptionIfAvailable = 131072ShowRuleDescriptionIfAvailable
ShowUnresolvedIssuesInSource = 536870912Specifies that unresolved issues detected in the source code should be displayed in the report.
ValueUsedWhenNoOptionFlagsFoundInXML = 0ValueUsedWhenNoOptionFlagsFoundInXML