AnalysisGateDuplicationSettings
IntelligenceX.Analysis
Settings that control duplication-specific gate behavior.
Inheritance
- object
- AnalysisGateDuplicationSettings
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property AnalysisGateSettings.Duplication
Constructors
public AnalysisGateDuplicationSettings() #Inherited Methods
Properties
public bool 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 double? MaxFilePercent { get; set; } #Optional per-file duplication threshold override (0-100). When null, each rule's configured threshold is used.
public 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 double? MaxOverallPercent { get; set; } #Optional overall duplication threshold (0-100) across all significant lines.
public 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 bool 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 bool NewIssuesOnly { get; set; } #When true, duplication gate checks honor baseline/new-only suppression semantics.