| blib/lib/Device/RFXCOM/Decoder/OregonScale.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 8 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 1 | 57 | if ($bits == 64 and lo_nibble($$bytes[0]) == 3) |
| 20 | 53 | 4 | unless scalar @$bytes == 7 |
| 21 | 2 | 2 | unless ($$bytes[0] & 240) == ($$bytes[5] & 240) and ($$bytes[1] & 15) == ($$bytes[6] & 15) |
| 25 | 1 | 1 | unless $weight =~ /^\d+$/ |