Branch Coverage

blib/lib/Freecell/App/Tableau.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
15 0 0 if (defined $value)
43 0 0 unless ("$rank$suit" eq ' ')
60 0 0 exists $home{$_} ? :
127 0 0 if ($dst_col > 3 and $dst_row < 0 and rank($$self[$dst_col][$dst_row + 1]) > 1) { }
154 0 0 if (rank($src) == rank($$self[suit($src) + 4][0]) + 1 and rank($src) < 3 || 2 == grep((rank($src) <= rank($_) + 1), (map $$_[0], @$self)[grep opposite_colors($src, $_ << 4), 4..7])) { }
193 0 0 unless $src
199 0 0 unless $r
216 0 0 unless $src
217 0 0 if (rank($src) - 1 == rank($$self[suit($src) + 4][0]))
220 0 0 if (@empty > 0)
224 0 0 unless $z[$j]
226 0 0 if (rank($src) + 1 == rank($dst) and opposite_colors($src, $dst))
235 0 0 unless $z[$c]
237 0 0 if (rank($src) - 1 == rank($$self[suit($src) + 4][0]))
241 0 0 if (@free > 0)
244 0 0 if (@empty > 0 and $z[$c] > 1)
252 0 0 if $c == $j
253 0 0 unless $z[$j]
258 0 0 if (rank($src) + 1 == rank($dst) and opposite_colors($src, $dst))
265 0 0 if ($z[$c] > 1)
268 0 0 unless (rank($srx) - 1 == rank($$self[$c][$k + 1]) and opposite_colors($srx, $$self[$c][$k + 1]))
273 0 0 $conf{'winxp_opt'} ? :
0 0 if (@empty > 0 and $k > 1 and $flag == 1 and ($conf{'winxp_opt'} ? min(1, scalar @empty) : @empty) * (@free + 1) >= (@_ = $k .. $z[$c]))
284 0 0 $conf{'winxp_opt'} ? :
0 0 if (rank($srx) + 1 == rank($dst) and opposite_colors($srx, $dst) and (($conf{'winxp_opt'} ? min(1, scalar @empty) : @empty) + 1) * (@free + 1) >= (@_ = $k .. $z[$c]))
314 0 0 $card == 0 ? :
317 0 0 if $x++ > 0 and 8 == grep(($_ eq ' '), @r)
335 0 0 if ($i == 0)
336 0 0 $src_col > 3 ? :
0 0 $src_row > 0 ? :
340 0 0 $dst_col > 3 ? :
0 0 $dst_row > -1 ? :
344 0 0 $std_dst =~ /h/ ? :
0 0 $std_dst =~ /\d/ ? :
0 0 $dst_row == 0 ? :
353 0 0 if ($origin =~ /^s/)
354 0 0 if ($super_cnt == 0)
365 0 0 if ($origin =~ /^a/) { }
377 0 0 if ($super_cnt and not +(min(1, scalar @empty) + $super_orig =~ /c$/) * (@free + 1) >= $super_cnt)
394 0 0 @dsc_src == 1 ? :
395 0 0 @h == 1 ? :
409 0 0 unless $z[$c] > 1
415 0 0 if ($brk)