Skip to content

CoverageGatePolicy Class ​

Definition ​

Thresholds and flags for Evaluate.

  • Namespace: JASE.TestAnalysis
  • Assembly: JASE.TestAnalysis.dll

Constructors ​

NameDescription
CoverageGatePolicy()

Properties ​

NameDescription
ClassMinLineRateOverridesGets optional overrides for the class minimum line rate keyed by full class name.
IgnoreGeneratedInThresholdsGets a value indicating whether generated classes and lines are excluded from threshold and change checks.
MinClassLineRateGets the minimum comparable line rate for each class rollup on the current snapshot.
MinModuleLineRateGets the minimum comparable line rate for each module (container) rollup on the current snapshot.
ModuleMinLineRateOverridesGets optional overrides for the module minimum line rate keyed by module (container) name.
RequireChangedLinesCoveredGets a value indicating whether changed lines listed in a CoverageChangeMap must be covered.

Methods ​

NameDescription
CoverageGatePolicy Permissive()Creates a policy with no line-rate thresholds and no change-line requirement.

Remarks ​

Line rates are fractions in [0, 1] (for example 0.8 means 80%).