AnalysisGateDuplicationSettings
Settings that control duplication-specific gate behavior.
Inheritance
- Object
- AnalysisGateDuplicationSettings
Constructors
public AnalysisGateDuplicationSettings() #Inherited Methods
Properties
public Boolean Enabled { get; set; } #Enables duplication gate checks based on duplication metrics produced by analyze run.
public String MetricsPath { get; set; } #Path to duplication metrics JSON emitted by analyze run.
public IReadOnlyList<String> RuleIds { get; set; } #Rule IDs to evaluate from the duplication metrics payload.
public Nullable<Double> MaxFilePercent { get; set; } #Optional per-file duplication threshold override (0-100). When null, each rule's configured threshold is used.
public Nullable<Double> MaxFilePercentIncrease { get; set; } #Optional allowed per-file duplication increase (in percentage points, 0-100) compared to the baseline file snapshot. Requires analysis.gate.baselinePath to be configured and present.
public Nullable<Double> MaxOverallPercent { get; set; } #Optional overall duplication threshold (0-100) across all significant lines.
public Nullable<Double> MaxOverallPercentIncrease { get; set; } #Optional allowed increase (in percentage points, 0-100) compared to the baseline overall duplication snapshot. Requires analysis.gate.baselinePath to be configured and present.
public String Scope { get; set; } #Scope used for duplication gating. Supported values: changed-files (default) and all.
public Boolean ScopeExplicitlyConfigured { get; set; } #True when analysis.gate.duplication.scope was explicitly provided in config. Used to distinguish default scope fallback from an intentional strict scope selection.
public Boolean NewIssuesOnly { get; set; } #When true, duplication gate checks honor baseline/new-only suppression semantics.