Branch Coverage

blib/lib/Device/RFXCOM/Decoder/X10Security.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
18 21 13 unless $bits == 32 or $bits == 41
21 7 6 unless ($$bytes[0] ^ 15) == $$bytes[1] and ($$bytes[2] ^ 255) == $$bytes[3]
56 2 4 if (exists $x10_security{$data}) { }
1 3 elsif (exists $not_supported_yet{$data}) { }
58 1 1 if (ref $rec) { }
69 2 1 $alert ? :
80 2 3 if $tamper
81 3 2 if $min_delay
82 1 4 $low_battery ? :