Branch Coverage

lib/App/Asciio/stripes/angled_arrow.pm
Criterion Covered Total %
branch 73 104 70.1


line true false branch
79 31 42 if ($end_x < 0) { }
90 35 38 if ($end_y < 0) { }
144 25 48 $direction =~ /^up/ ? :
16 57 $direction =~ /^down/ ? :
25 48 $direction =~ /^up/ ? :
16 57 $direction =~ /^down/ ? :
151 35 32 $end_y < 0 ? :
6 67 $end_y == 0 ? :
31 33 $end_x < 0 ? :
9 64 $end_x == 0 ? :
337 7 3 if ($end_x >= -$end_y)
369 4 3 if ($end_x > -$end_y)
394 3 7 if ($end_x < -$end_y)
419 3 0 if $end_x != 0
471 4 3 if ($width >= $height) { }
503 3 1 if ($width > $height)
553 3 0 if $end_x != 0
600 3 4 if ($width > $height) { }
662 3 1 if $end_x != $end_y
710 3 4 if ($end_x > -$end_y) { }
765 1 3 $height == $width ? :
766 1 3 $height == $width ? :
791 3 1 if $has_diagonal_connection
812 4 0 if $end_x != 0
838 4 3 if ($width >= $height) { }
862 3 1 if $width > $height
864 3 1 if ($width > $height)
901 3 0 if ($end_x != 0)
951 4 3 if ($width >= $height) { }
954 3 1 if $width > $height
956 3 1 if ($width > $height)
1016 3 0 if ($end_x != 0)
1069 4 3 if ($end_x >= $end_y)
1101 3 1 if ($end_x > $end_y)
1126 3 4 if ($end_x < $end_y)
1151 3 0 if $end_x != 0
1200 4 3 if ($end_x >= $end_y)
1202 3 1 if ($end_x > $end_y)
1257 3 4 if ($end_x < $end_y)
1281 3 0 if ($end_x != 0)
1325 0 0 if ($x == 0 and $y == 0 or $x == $self->{'END_X'} and $y == $self->{'END_Y'}) { }
1356 0 0 if ($name eq 'start') { }
0 0 elsif ($name eq 'end') { }
1358 0 0 if exists $self->{'GLYPHS'}
1363 0 0 if exists $self->{'GLYPHS'}
1389 0 0 if ($direction =~ /(.*)-(.*)/)
1401 0 0 if ($connector_name eq 'start') { }
0 0 elsif ($connector_name eq 'end') { }
1433 0 0 if (defined $connector_name) { }
1435 0 0 if ($connector_name eq "start")
1442 0 0 if ($reference_x == 0 and $reference_y == 0)
1448 0 0 if ($is_start) { }