Branch Coverage

blib/lib/Game/TextMapper/Line.pm
Criterion Covered Total %
branch 11 38 28.9


line true false branch
91 0 2148 unless $z == $current->z
93 2030 118 if $current->equal($self->points->[$i])
104 0 4648 if wantarray
119 0 352 unless @points
120 0 352 if ($points[0]->equal($points[$#points]))
124 0 352 if ($closed) { }
128 0 0 if (not $path) { }
145 352 1796 if (not $path) { }
165 0 352 if $debug
178 352 0 unless defined $self->label
184 0 0 if $url
188 0 0 if ($self->side) { }
0 0 elsif ($self->points->[1]->x < $self->points->[0]->x or $#{$self->points;} >= 2 and $self->points->[2]->x < $self->points->[0]->x) { }
194 0 0 if ($self->start)
198 0 0 if $glow
199 0 0 if $url
201 0 0 if $url
221 0 0 if $closed
232 0 0 if $i