blib/lib/Net/Statsd/Server/Metrics.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 12 | unless ($g_pref) |
35 | 0 | 12 | if (exists $$config{'percentThreshold'} and ref $$config{'percentThreshold'} eq 'ARRAY') |
73 | 6 | 1 | if (@{$$timers{$key};} > 0) { } |
102 | 4 | 4 | if ($count > 1) |
107 | 0 | 4 | if $numInThreshold == 0 |
109 | 4 | 0 | if ($pct > 0) { } |
127 | 8 | 0 | $pct > 0 ? : |
143 | 6 | 0 | $count % 2 ? : |