BaselineComparison class

Result of comparing a report against a baseline.

Constructors

BaselineComparison({required StressReport report, required StressReport baseline, required bool passed, required List<MetricDeviation> deviations, required DateTime comparisonTime})
Constructs a BaselineComparison.

Properties

baseline → StressReport
Golden baseline report used for comparison.
final
comparisonTime → DateTime
Timestamp when comparison was performed.
final
deviations → List<MetricDeviation>
List of detected metric deviations.
final
hashCode → int
The hash code for this object.
no setterinherited
passed → bool
Overall pass/fail result based on deviations and tolerance.
final
report → StressReport
Current stress report under evaluation.
final
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() → Map<String, dynamic>
Converts comparison result to JSON map.
toMarkdown() → String
Converts baseline comparison into a Markdown document.
toString() → String
A string representation of this object.
inherited

Operators

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