SourceCodeAnalysisConfig

data class SourceCodeAnalysisConfig(val enableComplexityAnalysis: Boolean = true, val enableControlFlowAnalysis: Boolean = false, val enableDataAndControlFlowAnalysis: Boolean = false, val enableCascadingFailuresAnalysis: Boolean = false, val showDataFlowDiagramsForDataAndControlFlow: Boolean? = null, val showControlFlowDiagramsForDataAndControlFlow: Boolean? = null, val showCombinedDiagramsForDataAndControlFlow: Boolean? = null, val showDataFlowDiagramsForCascadingFailures: Boolean? = null, val showControlFlowDiagramsForCascadingFailures: Boolean? = null, val showCombinedDiagramsForCascadingFailures: Boolean? = null, val enableDetailedDiagramsForAllSinks: Boolean? = null) : Serializable

Source-code analysis pipeline toggles.

Resolved per-element via the defaults → group → element cascade. Configured via stigProject { sourceCodeAnalysis { ... } } in root build.gradle.kts and overridden at group / element level.

Constructors

Link copied to clipboard
constructor(enableComplexityAnalysis: Boolean = true, enableControlFlowAnalysis: Boolean = false, enableDataAndControlFlowAnalysis: Boolean = false, enableCascadingFailuresAnalysis: Boolean = false, showDataFlowDiagramsForDataAndControlFlow: Boolean? = null, showControlFlowDiagramsForDataAndControlFlow: Boolean? = null, showCombinedDiagramsForDataAndControlFlow: Boolean? = null, showDataFlowDiagramsForCascadingFailures: Boolean? = null, showControlFlowDiagramsForCascadingFailures: Boolean? = null, showCombinedDiagramsForCascadingFailures: Boolean? = null, enableDetailedDiagramsForAllSinks: Boolean? = null)

Properties

Link copied to clipboard

Emit detailed per-IR / per-segment projections for merged all_sinks analyses. Defaults to false at the task layer because these merged detailed diagrams can exceed hosted-pages file-size limits; summarized all-sinks diagrams are still emitted.

Link copied to clipboard

Whether any code analysis is enabled.

Link copied to clipboard

Whether any PhASAR-based analysis (data+control flow or cascading failures) is enabled.

Generated with STIG