Condition Coverage

blib/lib/Device/Hypnocube.pm
Criterion Covered Total %
condition 0 76 0.0


and 3 conditions

line !l l&&!r l&&r condition
261 0 0 0 $$resp{'cmd'} == 20 and $self->error_info->{'code'} == 0
577 0 0 0 scalar @bytes and defined $bytes[0]
635 0 0 0 $color =~ /^(?:0[xX]|#)([[:xdigit:]]+)$/ and not defined $green
0 0 0 $color =~ /^(?:0[xX]|#)([[:xdigit:]]+)$/ and not defined $green and not defined $blue
652 0 0 0 $color =~ /^\d+/ and not defined $green
0 0 0 $color =~ /^\d+/ and not defined $green and not defined $blue
726 0 0 0 defined $x && defined $y && defined $z
735 0 0 0 defined $color and not defined $green
0 0 0 defined $color and not defined $green and not defined $blue
741 0 0 0 int $color == $color and int $green == $green
0 0 0 int $color == $color and int $green == $green and int $blue == $blue

or 2 conditions

line l !l condition
524 0 0 $data ||= ''
628 0 0 $color //= 'purple'

or 3 conditions

line l !l&&r !l&&!r condition
261 0 0 0 $$resp{'cmd'} == 25 or $$resp{'cmd'} == 20 and $self->error_info->{'code'} == 0
519 0 0 0 defined $cmd or defined $data
627 0 0 0 $color //= $default
652 0 0 0 $colors{$color} || defined $green || defined $blue
726 0 0 0 not defined $x && defined $y && defined $z or $x < 0
0 0 0 not defined $x && defined $y && defined $z or $x < 0 or $y < 0
0 0 0 not defined $x && defined $y && defined $z or $x < 0 or $y < 0 or $z < 0
760 0 0 0 not defined $plane or $plane < 0
0 0 0 not defined $plane or $plane < 0 or $plane > 3
779 0 0 0 not defined $plane or $plane < 0
0 0 0 not defined $plane or $plane < 0 or $plane > 3
795 0 0 0 not defined $plane or $plane < 0
0 0 0 not defined $plane or $plane < 0 or $plane > 3