Branch Coverage

blib/lib/App/Asciio/Elements.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
38 0 0 if $self->{'NEXT_GROUP_COLOR'} >= scalar @{$self->{'COLORS'}{'group_colors'};}
63 0 0 if ($ruler_line->{'TYPE'} eq $ruler_line_to_remove->{'TYPE'} and $ruler_line->{'POSITION'} == $ruler_line_to_remove->{'POSITION'})
87 0 0 if ($ruler_line->{'TYPE'} eq $ruler_line_to_check->{'TYPE'} and $ruler_line->{'POSITION'} == $ruler_line_to_check->{'POSITION'})
110 0 0 if (defined $element_index) { }
216 0 0 if ($self->is_connected($element))
226 0 0 if (exists $selected_elements{$current_element_connection->{'CONNECTEE'}}) { }
260 0 0 if (exists $selected_elements{$connection->{'CONNECTED'}}) { }
284 0 0 if ($connection->{'CONNECTED'} == $other_connection->{'CONNECTED'})
318 0 0 if ($self->is_connected($selected_element))
333 0 0 if (defined $new_connection) { }
356 0 0 if ($connection->{'CONNECTED'} == $other_connection->{'CONNECTED'})
391 0 0 unless exists $elements_to_move{$_}
408 0 0 unless exists $elements_to_move{$_}
424 0 0 if (exists $elements_to_delete{$element})
445 0 0 if ($self->is_connected($selected_element))
460 0 0 if (defined $new_connection) { }
483 0 0 if ($connection->{'CONNECTED'} == $other_connection->{'CONNECTED'})
517 0 0 if ($state) { }
519 0 0 if exists $_->{'SELECTED'}
523 0 0 unless not exists $_->{'SELECTED'}
548 0 0 if ($state) { }
557 0 0 if (exists $element->{'GROUP'} and defined $element->{'GROUP'}[-1])
566 0 0 if (exists $element->{'GROUP'} and defined $element->{'GROUP'}[-1] and exists $groups_to_select{$element->{'GROUP'}[-1]})
572 0 0 if ($state) { }
583 0 0 unless $self->get_selected_elements(1)
596 0 0 if $self->transform_elements_to_ascii_buffer($element) =~ /$search_words/i
610 0 0 if $self->transform_elements_to_ascii_buffer($element) =~ /$search_words/i
640 0 0 $element->{'SELECTED'} ? :
643 0 0 unless $self->get_selected_elements(1)
669 0 0 if ($stripe_x - $field <= $x and $x < $stripe_x + $strip->{'WIDTH'} + $field and $stripe_y - $field <= $y and $y < $stripe_y + $strip->{'HEIGHT'} + $field)
693 0 0 if ($width < 0)
699 0 0 if ($height < 0)
712 0 0 if ($start_x <= $stripe_x and $stripe_x + $strip->{'WIDTH'} <= $start_x + $width and $start_y <= $stripe_y and $stripe_y + $strip->{'HEIGHT'} <= $start_y + $height) { }
737 0 0 unless @elements