Branch Coverage

blib/lib/Games/Lineofsight.pm
Criterion Covered Total %
branch 0 10 0.0


line true false branch
46 0 0 if $$map[$i][$j] =~ /$barrier_str/
76 0 0 if ($xx != $j || $yy != $i and los($man_x, $man_y, $xx, $yy, $j, $i) < 0.5)
83 0 0 $hidden ? :
102 0 0 unless $length1
111 0 0 if $length2 <= $length1 or not $length2