Branch Coverage

blib/lib/X10/Event.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
17 0 0 if (@_ == 1)
21 0 0 unless $hc and $uc and $func
57 0 0 if ($self->unit_code eq 'ALL' or $self->unit_code eq 'LIGHTS') { }
76 0 0 if ($self->func eq 'ON' or $self->func eq 'OFF') { }
0 0 elsif ($self->func eq 'DIM' or $self->func eq 'BRIGHT') { }
78 0 0 if ($self->unit_code eq 'LIGHTS' and $self->func eq 'ON') { }
0 0 elsif ($self->unit_code eq 'ALL' and $self->func eq 'OFF') { }
0 0 elsif ($self->unit_code > 0 and $self->unit_code <= 16) { }
100 0 0 if ($self->unit_code > 0 and $self->unit_code <= 16) { }
128 0 0 if ($string =~ /^\s*([a-p])\s*(\d+|all|lights)\s*(on|off|dim|bright)\s*$/i) { }
130 0 0 if (lc $2 eq 'all' and lc $3 eq 'off') { }
0 0 elsif (lc $2 eq 'lights' and lc $3 eq 'on') { }
0 0 elsif ($2 > 0 and $2 <= 16) { }