Branch Coverage

blib/lib/HiPi/Interface/MPL3115A2.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
28 0 0 $pi->board_type == 1 ? :
42 0 0 if ($params{'busmode'})
46 0 0 unless (defined $params{'device'})
47 0 0 if ($params{'backend'} eq 'bcm2835') { }
53 0 0 $params{'devicename'} eq '/dev/i2c-0' ? :
72 0 0 if $self->who_am_i and $self->who_am_i == 196
86 0 0 if ($msb > 127)
91 0 0 if $lsb & 128
92 0 0 if $lsb & 64
93 0 0 if $lsb & 32
94 0 0 if $lsb & 16
104 0 0 if ($alt < 0)
117 0 0 if ($msb > 127)
122 0 0 if $lsb & 128
123 0 0 if $lsb & 64
124 0 0 if $lsb & 32
125 0 0 if $lsb & 16
134 0 0 if ($temp < 0)
148 0 0 if $lsb & 32
149 0 0 if $lsb & 16
181 0 0 if (defined $set)
182 0 0 $set ? :
200 0 0 if (defined $newval)
202 0 0 unless ($currentval == $newval)
203 0 0 if ($curreg & 1)
229 0 0 if (defined $newval)
231 0 0 unless ($currentval == $newval)
232 0 0 if ($curreg & 1)
246 0 0 $curreg & 128 ? :
247 0 0 if (defined $newmode)
248 0 0 unless ($currentmode == $newmode)
249 0 0 if ($curreg & 1)
252 0 0 $newmode == 1 ? :
255 0 0 $curreg & 128 ? :
283 0 0 $curreg & 128 ? :
306 0 0 if ($currentmode == 1) { }
328 0 0 $curreg & 128 ? :
332 0 0 if ($currentactive and $currentmode != $function)
336 0 0 $function == 1 ? :