Condition Coverage

lib/App/Asciio/stripes/section_wirl_arrow.pm
Criterion Covered Total %
condition 16 57 28.0


and 2 conditions

line l !l condition
506 0 0 $connection->{'CHAR'} = $arrow_type->[1] and last
523 0 0 $connection->{'CHAR'} = $arrow_type->[5] and last

and 3 conditions

line !l l&&!r l&&r condition
76 0 0 96 "ARRAY" eq ref $points and @{$points;} > 0
195 96 32 64 $self->{'ALLOW_DIAGONAL_LINES'} and $arrow->{'WIDTH'} == $arrow->{'HEIGHT'}
198 48 12 4 $previous_was_diagonal and $previous_was_diagonal eq $arrow->{'DIRECTION'} || defined $d2 && $previous_was_diagonal eq "$d2-$d1"
305 96 12 84 $arrow_index != 0 and defined $connection
343 0 0 0 $x == $start_connector->{'X'} and $y == $start_connector->{'Y'}
352 0 0 0 $x == $end_connector->{'X'} and $y == $end_connector->{'Y'}
615 0 0 0 $reference_x == 0 and $reference_y == 0
695 0 0 0 $reference_x == 0 and $reference_y == 0
709 0 0 0 $reference_x == $end_connector->{'X'} + $self->{'POINTS_OFFSETS'}[$arrow_index][0] and $reference_y == $end_connector->{'Y'} + $self->{'POINTS_OFFSETS'}[$arrow_index][1]
1031 0 0 0 $stripe_x - $field <= $x and $x < $stripe_x + $strip->{'WIDTH'} + $field
0 0 0 $stripe_x - $field <= $x and $x < $stripe_x + $strip->{'WIDTH'} + $field and $stripe_y - $field <= $y
0 0 0 $stripe_x - $field <= $x and $x < $stripe_x + $strip->{'WIDTH'} + $field and $stripe_y - $field <= $y and $y < $stripe_y + $strip->{'HEIGHT'} + $field

or 2 conditions

line l !l condition
1023 0 0 $field ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
65 0 96 0 $element_definition->{'ARROW_TYPE'} || &Clone::clone($DEFAULT_ARROW_TYPE)
89 192 0 0 $point_direction || $direction
198 4 0 12 $previous_was_diagonal eq $arrow->{'DIRECTION'} || defined $d2 && $previous_was_diagonal eq "$d2-$d1"
215 0 30 30 $d1 eq 'up' || defined $d2 && $d2 eq 'up'
604 0 0 0 $connector_name_array->[$WIRL_CONNECTOR_NAME_INDEX] eq "start" or $connector_name_array->[$MULTI_WIRL_CONNECTOR_NAME_INDEX] eq "startsection_0"