Branch Coverage

blib/lib/Language/Befunge/Storage/2D/Sparse.pm
Criterion Covered Total %
branch 42 42 100.0


line true false branch
43 2 76 unless $dims == 2
89 5 365 unless defined $offset
95 8 362 if $self->_xmin > $x
96 8 362 if $self->_ymin > $y
100 3043 1590 unless $chr eq $SPACE
107 247 123 if $self->_xmax < $x
108 136 234 if $self->_ymax < $y
129 209 15 unless defined $offset
140 256 105 if $maxlen < length $line
162 5 22 if $self->_xmin > $x
163 8 19 if $self->_xmax < $x
164 5 22 if $self->_ymin > $y
165 7 20 if $self->_ymax < $y
220 9150 3114 exists $$href{"$x,$y"} ? :
294 413 21 unless $self->get_value('Language::Befunge::Vector'->new($x, $y)) eq 59
298 71 11 unless defined $label
301 1 10 if exists $labels->{$label}
337 15 709 if $xmax < $x
338 13 711 if $xmin > $x
339 20 704 if $ymax < $y
340 23 701 if $ymin > $y