Branch Coverage

blib/lib/Device/RFXCOM/Decoder/RFXSensor.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
49 4 51 if (exists $types{$str} and $bits == $types{$str}{'len'})
53 30 21 unless $bits == 32
54 10 11 unless ($$bytes[0] ^ 240) == $$bytes[1]
56 1 10 unless (nibble_sum(7, \@nib) & 15 ^ 15) == $nib[7]
63 3 7 if ($flag)
64 1 2 if (exists $info{$$bytes[2]}) { }
1 1 elsif (exists $error{$$bytes[2]}) { }
75 2 5 if ($type == 0) { }
3 2 elsif ($type == 1) { }
1 1 elsif ($type == 2) { }
78 1 1 if ($temp > 150)
95 1 2 unless (defined $supply_voltage)
103 1 1 if (defined $last_temp) { }
136 1 1 $$bytes[3] & 128 ? :