Confidence enum
How much trust to place in a Finding.
Deterministic findings come from structural or mathematical facts and are safe to gate on. Heuristic findings are best-effort guesses that ship with easy suppression and a visible tag, because they can produce false positives.
Values
- deterministic → const Confidence
-
Derived from structure or math; not expected to produce false positives.
- heuristic → const Confidence
-
A best-effort heuristic that may produce false positives.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - The JSON representation of this confidence (its name).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String json) → Confidence - Parses a Confidence from its name.
Constants
-
values
→ const List<
Confidence> - A constant List of the values in this enum, in order of their declaration.