BoundaryReport class

The outcome of checkContextBoundaries.

Constructors

BoundaryReport({required String projectPath, required bool measured, List<BoundaryFinding> violations = const [], List<BoundaryFinding> ruleErrors = const [], int librariesChecked = 0, int importsChecked = 0})
Creates a report.
const

Properties

clean → bool
Measured, and neither a violation nor a rule error.
no setter
hashCode → int
The hash code for this object.
no setterinherited
importsChecked → int
How many imports and exports of the package's own libraries were checked.
final
librariesChecked → int
How many libraries (part files not counted) were read.
final
measured → bool
False when the package has no rules: nothing was checked.
final
projectPath → String
The package checked.
final
ruleErrors → List<BoundaryFinding>
Problems in the rules: invalid, rotted or overlapping entries.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verdict → String
clean, violations or not-measured.
no setter
violations → List<BoundaryFinding>
Imports that cross a boundary they may not.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The report as JSON.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited