BlockingStatistics class
Statistics about blocked resources
Constructors
Properties
-
blockedDomains
→ Map<
String, int> -
Map of domain to number of blocked resources from that domain
no setter
- blockedResourceCount → int
-
Total number of resources blocked
no setter
- cssRulesAppliedCount → int
-
Total number of unique CSS rules applied for element hiding
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
recordBlockedResource(
String url) → void - Increments the blocked resource count and tracks the domain
-
recordCssRulesApplied(
List< String> rules) → void - Records CSS rules being applied. Only unique rules are counted across the session.
-
reset(
) → void - Resets all statistics
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited