Branch Coverage

blib/lib/Ragnetto/Console.pm
Criterion Covered Total %
branch 12 48 25.0


line true false branch
74 1 1 if $val =~ /^\d+$/
75 1 0 if defined $val
93 0 1 unless defined $c
95 1 0 $c < 8 ? :
103 0 1 unless defined $c
105 1 0 $c < 8 ? :
113 0 1 if ($s eq '1' or $s eq 'ON' or $s eq 'TRUE') { }
125 0 0 $shape =~ /^\d+$/ ? :
127 0 0 if $s and $s >= 1 and $s <= 6
142 0 0 if defined $x and defined $y
144 0 0 if (defined $back)
147 0 0 $c < 8 ? :
0 0 if defined $c
150 0 0 if (defined $fore)
153 0 0 $c < 8 ? :
0 0 if defined $c
163 0 0 if ($^O eq 'MSWin32') { }
180 0 0 if ($^O eq 'MSWin32') { }
190 0 0 if (defined $char and $char ne "")
203 0 0 if defined $title
210 0 1 if ($^O eq 'MSWin32') { }
214 0 1 `stty size 2>/dev/null` =~ /\d+\s+(\d+)/ ? :
224 0 1 if ($^O eq 'MSWin32') { }
228 0 1 `stty size 2>/dev/null` =~ /(\d+)/ ? :