Branch Coverage

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


line true false branch
89 0 2980 unless $z == $current->z
91 2890 90 if $current->equal($self->points->[$i])
102 0 6288 if wantarray
117 0 328 unless @points
118 0 328 if ($points[0]->equal($points[$#points]))
122 0 328 if ($closed) { }
126 0 0 if (not $path) { }
143 328 2652 if (not $path) { }
163 0 328 if $debug
176 328 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