Condition Coverage

blib/lib/HiPi/RF/OpenThings/Message.pm
Criterion Covered Total %
condition 0 41 0.0


and 3 conditions

line !l l&&!r l&&r condition
199 0 0 0 defined $val and $val ne ''
306 0 0 0 $index < @$payload - 2 and $payload->[$index] != 0
358 0 0 0 defined $record->{'value'} and $record->{'value'} ne ''
441 0 0 0 $typeid >= 128 and $typeid <= 176
496 0 0 0 defined $value and $value ne ''
507 0 0 0 $typeid != 0 and $typeid != 128
638 0 0 0 $self->name and $self->units

or 2 conditions

line l !l condition
59 0 0 $params{'databuffer'} //= []
60 0 0 $params{'cryptseed'} //= 1
62 0 0 $sk_mid || $params{'mid'} || $params{'manufacturer_id'} || 0
63 0 0 $sk_pid || $params{'pid'} || $params{'product_id'} || 0
64 0 0 $sk_sid || $params{'sid'} || $params{'sensor_id'} || 0
65 0 0 $params{'pip'} || $params{'encrypt_pip'} || 0
102 0 0 $self->configured_name || ''

or 3 conditions

line l !l&&r !l&&!r condition
243 0 0 0 $bytelength < 11 or $self->databuffer->[0] + 1 != $bytelength
274 0 0 0 $bytelength < 11 or $self->databuffer->[0] + 1 != $bytelength