blib/lib/DataDog/DogStatsd.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 32 | 68.7 |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 4 | $p{'host'} ||= '127.0.0.1' |
27 | 2 | 2 | $p{'port'} ||= 8125 |
28 | 0 | 4 | $p{'namespace'} ||= '' |
52 | 5 | 6 | shift() || {} |
59 | 3 | 6 | shift() || {} |
67 | 20 | 0 | shift() || {} |
75 | 3 | 6 | shift() || {} |
83 | 0 | 2 | shift() || {} |
91 | 4 | 6 | shift() || {} |
116 | 0 | 1 | shift() || {} |
124 | 2 | 2 | shift() || {} |
134 | 4 | 0 | shift() || {} |
163 | 42 | 0 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 0 | 4 | 0 | ref $classname || $classname |
166 | 40 | 2 | 0 | $sample_rate == 1 or rand() <= $sample_rate |