Condition Coverage

blib/lib/Mojolicious/Plugin/Statsd/Adapter/Memory.pm
Criterion Covered Total %
condition 14 18 77.7


or 2 conditions

line l !l condition
16 0 5 $sample_rate // 1
22 2 3 $stats->{$key} //= {}
24 2 3 $timing->{'samples'} //= 0
27 2 3 $timing->{'avg'} // 0
43 0 9 $sample_rate // 1
50 4 7 $stats->{$name} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
29 3 2 0 not exists $timing->{'min'} or $timing->{'min'} > $time
33 3 0 2 not exists $timing->{'max'} or $timing->{'max'} < $time