ShallowReport class

Summary report produced by ShallowAnalyzer.

Constructors

ShallowReport({required List<ShallowFinding> findings, required int declarationsScanned, required int maxCallerScore, required int maxParams})
const

Properties

declarationsScanned → int
final
estimatedSafeLinesSaved → int
Estimated lines of signature and call-site boilerplate saved by inlining all ShallowClassification.safeInline findings.
no setter
findings → List<ShallowFinding>
final
hashCode → int
The hash code for this object.
no setterinherited
maxCallerScore → int
final
maxParams → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeInlineCount → int
Number of findings classified as ShallowClassification.safeInline.
no setter
zeroHeadroomCount → int
Number of findings classified as ShallowClassification.zeroHeadroom.
no setter

Methods

formatText({bool onlySafe = false}) → String
Renders a human-readable text summary of the report.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool onlySafe = false}) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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