Branch Coverage

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


line true false branch
21 0 0 if (@_ == 1)
25 0 0 unless $hc and $uc and $func
61 0 0 if ($self->unit_code eq 'ALL' or $self->unit_code eq 'LIGHTS') { }
80 0 0 if ($self->func eq 'ON' or $self->func eq 'OFF') { }
0 0 elsif ($self->func eq 'DIM' or $self->func eq 'BRIGHT') { }
82 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) { }
104 0 0 if ($self->unit_code > 0 and $self->unit_code <= 16) { }
132 0 0 if ($string =~ /^\s*([a-p])\s*(\d+|all|lights)\s*(on|off|dim|bright)\s*$/i) { }
134 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) { }