Condition Coverage

blib/lib/DataDog/DogStatsd.pm
Criterion Covered Total %
condition 23 32 71.8


or 2 conditions

line l !l condition
26 0 4 $p{'host'} ||= '127.0.0.1'
27 2 2 $p{'port'} ||= 8125
28 0 4 $p{'namespace'} ||= ''
53 7 6 shift() || {}
60 3 6 shift() || {}
68 22 3 shift() || {}
76 3 6 shift() || {}
84 0 2 shift() || {}
92 6 6 shift() || {}
117 0 1 shift() || {}
125 4 4 shift() || {}
135 8 0 shift() || {}
164 49 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
23 0 4 0 ref $classname || $classname
167 47 2 0 $sample_rate == 1 or rand() <= $sample_rate