blib/lib/Device/RFXCOM/Encoder/HomeEasy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 4 | unless (exists $$p{'command'} and exists $$p{'unit'} and exists $$p{'address'}) |
25 | 1 | 3 | if ($$p{'command'} eq 'preset') { } |
26 | 0 | 1 | unless (exists $$p{'level'}) |
34 | 2 | 1 | $$p{'command'} eq 'on' ? : |
36 | 1 | 3 | if ($$p{'unit'} eq 'group') |
59 | 1 | 3 | if $addr =~ /^0x[0-9a-f]{1,8}$/i |
65 | 1 | 14 | if $offset > 20 |