Branch Coverage

blib/lib/Game/TextMapper/Line.pm
Criterion Covered Total %
branch 11 34 32.3


line true false branch
89 0 2508 unless $z == $current->z
91 2390 118 if $current->equal($self->points->[$i])
102 0 5373 if wantarray
117 0 357 unless @points
118 0 357 if ($points[0]->equal($points[$#points]))
122 0 357 if ($closed) { }
126 0 0 if (not $path) { }
143 357 2151 if (not $path) { }
163 0 357 if $debug
176 357 0 unless defined $self->label
182 0 0 if $url
185 0 0 if ($self->points->[1]->x < $self->points->[0]->x or $#{$self->points;} >= 2 and $self->points->[2]->x < $self->points->[0]->x)
190 0 0 if $glow
191 0 0 if $url
193 0 0 if $url
213 0 0 if $closed
224 0 0 if $i