AliceStatsData class

Comprehensive, pre-computed statistics for all captured HTTP calls.

Constructors

AliceStatsData({required int totalRequests, required int pendingRequests, required int successRequests, required int redirectionRequests, required int errorRequests, required int bytesSent, required int bytesReceived, required int avgDuration, required int minDuration, required int maxDuration, required int getCount, required int postCount, required int putCount, required int deleteCount, required int patchCount, required int securedCount, required int unsecuredCount, required int heavyPayloadCount, required Map<int, int> statusCodes, required List<AliceHttpCall> slowestCalls, required List<AliceEndpointStats> endpointStats})
const

Properties

avgDuration → int
final
bytesReceived → int
final
bytesSent → int
final
deleteCount → int
final
endpointStats → List<AliceEndpointStats>
final
errorRate → double
Error percentage (e.g. 5.5%).
no setter
errorRequests → int
final
getCount → int
final
hashCode → int
The hash code for this object.
no setterinherited
hasHeavyPayloads → bool
Heavy payload warning (response > 1MB).
no setter
hasHighErrorRate → bool
High error rate warning threshold (> 10%).
no setter
hasSlowRequests → bool
Slow latency warning (request taking 2+ seconds).
no setter
hasUnsecuredRequests → bool
Unsecured HTTP request warning (plaintext HTTP without SSL).
no setter
heavyPayloadCount → int
final
maxDuration → int
final
minDuration → int
final
patchCount → int
final
pendingRequests → int
final
postCount → int
final
putCount → int
final
redirectionRequests → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securedCount → int
final
slowestCalls → List<AliceHttpCall>
final
statusCodes → Map<int, int>
final
successRate → double
Success percentage (e.g. 94.5%).
no setter
successRequests → int
final
totalRequests → int
final
unsecuredCount → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

compute(List<AliceHttpCall> callList) → AliceStatsData
Computes all stats in a single, high-performance pass.