Branch Coverage

blib/lib/HiPi/RF/OpenThings/Message.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
50 0 0 if ($params{'sensor_key'})
80 0 0 defined $self->switch_state ? :
100 0 0 unless $self->is_decoded
126 0 0 if ($record->id == 106)
127 0 0 if ($record->command) { }
134 0 0 if ($record->id == 115)
136 0 0 if ($record->command)
149 0 0 $pretty ? :
173 0 0 if $record->command
175 0 0 if ($record->id == 106) { }
0 0 elsif ($record->id == 115) { }
176 0 0 if ($record->command) { }
184 0 0 if ($record->command)
189 0 0 $record->command ? :
199 0 0 if (defined $val and $val ne '')
203 0 0 if $vallen > 15
243 0 0 if ($bytelength < 11 or $self->databuffer->[0] + 1 != $bytelength)
274 0 0 if ($bytelength < 11 or $self->databuffer->[0] + 1 != $bytelength)
297 0 0 if ($crc_sent != $crc_calculated)
308 0 0 ($param & 128) == 128 ? :
327 0 0 if ($paramlen != 0)
334 0 0 if ($paramlen != @valuebytes)
347 0 0 if $record->{'command'}
349 0 0 if ($record->{'id'} == 106)
350 0 0 if ($record->{'command'}) { }
357 0 0 if ($record->{'id'} == 115)
358 0 0 if (defined $record->{'value'} and $record->{'value'} ne '')
360 0 0 if ($record->{'command'})
387 0 0 if ($typeid == 16) { }
0 0 elsif ($typeid == 32) { }
0 0 elsif ($typeid == 48) { }
0 0 elsif ($typeid == 64) { }
0 0 elsif ($typeid == 80) { }
0 0 elsif ($typeid == 96) { }
0 0 elsif ($typeid == 144) { }
0 0 elsif ($typeid == 160) { }
0 0 elsif ($typeid == 176) { }
411 0 0 if $value == -1
428 0 0 if ($value & $mask) == 0
439 0 0 unless $numbytes
441 0 0 if ($typeid <= 96) { }
0 0 elsif ($typeid == 112) { }
0 0 elsif ($typeid >= 128 and $typeid <= 176) { }
0 0 elsif ($typeid == 240) { }
450 0 0 if ($typeid == 0) { }
471 0 0 if (($bytes->[0] & 128) == 128)
475 0 0 if ($typeid == 128) { }
495 0 0 if ($typeid == 112) { }
0 0 elsif ($typeid == 240) { }
0 0 elsif ($typeid <= 176) { }
496 0 0 unless (defined $value and $value ne '')
507 0 0 if ($typeid != 0 and $typeid != 128)
528 0 0 unless $self->cryptseed
531 0 0 unless $pip
537 0 0 $block & 1 ? :
546 0 0 $nocrcbytes ? :
556 0 0 if (($crc & 32768) != 0) { }
578 0 0 if ($error)
613 0 0 if ($value == 0) { }
0 0 elsif ($value == int $value) { }
638 0 0 unless ($self->name and $self->units)
640 0 0 unless ($self->name)
643 0 0 unless ($self->units)