Branch Coverage

blib/lib/Mojolicious/Plugin/Statsd/Adapter/Memory.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
14 0 5 if (($sample_rate // 1) != 1)
15 0 0 unless rand() <= $sample_rate
27 5 0 if (not exists $timing->{'min'} or $timing->{'min'} > $time)
31 3 2 if (not exists $timing->{'max'} or $timing->{'max'} < $time)
41 0 9 if (($sample_rate // 1) != 1)
42 0 0 unless rand() <= $sample_rate