Uses of Interface
org.ek9lang.compiler.support.MetricLimit
Packages that use MetricLimit
-
Uses of MetricLimit in org.ek9lang.compiler.support
Classes in org.ek9lang.compiler.support that implement MetricLimitModifier and TypeClassDescriptionstatic final recordA compound limit that fires only when an absolute cap AND a relative ratio are BOTH exceeded, and only once the module is at leastminConstructsin size (small modules are naturally disconnected and are exempt).static final recordA per-genus threshold table:byGenusholds explicit limits,fallbackcovers genera not listed, andexemptgenera are not checked at all (soMetricLimit.GenusLimit.limitFor(SymbolGenus)is empty andMetricLimit.GenusLimit.isOver(int, SymbolGenus)is always false for them).static final recordA gate on a fractional score rather than a count — E11020 multiplies a construct's complexity ratio by its statement ratio and fires above 0.50, so neither operand is a limit in its own right and the threshold cannot be an int.static final recordA single-threshold limit with a comparator.Methods in org.ek9lang.compiler.support that return types with arguments of type MetricLimit