Condition Coverage

blib/lib/Term/Choose.pm
Criterion Covered Total %
condition 0 210 0.0


and 2 conditions

line l !l condition
370 0 0 $up++ and next

and 3 conditions

line !l l&&!r l&&r condition
258 0 0 0 defined $self->{'max_cols'} and $self->{'max_cols'} == 1
261 0 0 0 length $self->{'footer'} and $self->{'page'} != 2
264 0 0 0 $self->{'page'} == 2 and not $self->{'clear_screen'}
267 0 0 0 $self->{'max_cols'} and $self->{'layout'} == 1
385 0 0 0 $self->{'wantarray'} and @{$self->{'marked'};}
398 0 0 0 exists $ENV{'TC_RESET_AUTO_UP'} and $ENV{'TC_RESET_AUTO_UP'} == 0
399 0 0 0 $key != 10 and $key != 13
412 0 0 0 $saved_pos and $key != 333
0 0 0 $saved_pos and $key != 333 and $key != 2
0 0 0 $saved_pos and $key != 333 and $key != 2 and $key != 334
0 0 0 $saved_pos and $key != 333 and $key != 2 and $key != 334 and $key != 6
429 0 0 0 $key == 6 and $self->{'search'}
430 0 0 0 $self->{'rc2idx'}[$self->{'pos'}[0] + 1] && $self->{'rc2idx'}[$self->{'pos'}[0] + 1][$self->{'pos'}[1]]
468 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
497 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
586 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
599 0 0 0 $self->{'order'} == 1 and $self->{'idx_of_last_col_in_last_row'} < $#{$$self{"rc2idx"}[0];}
600 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} - 1 and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
620 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
665 0 0 0 defined $self->{'meta_items'} and not $self->{'marked'}[$self->{'pos'}[0]][$self->{'pos'}[1]]
760 0 0 0 $self->{'max_width'} and $info_w > $self->{'max_width'}
788 0 0 0 $self->{'wantarray'} and defined $self->{'mark'}
791 0 0 0 defined $self->{'default'} and $self->{'default'} <= $#{$$self{"list"};}
830 0 0 0 $self->{'max_width'} and $self->{'avail_width'} > $self->{'max_width'}
842 0 0 0 $self->{'max_height'} and $self->{'avail_height'} > $self->{'max_height'}
895 0 0 0 defined $self->{$ts}[0] && $self->{$ts}[0] < $self->{'margin_left'}
896 0 0 0 defined $self->{$ts}[1] && $self->{$ts}[1] < $self->{'margin_left'}
897 0 0 0 defined $self->{$ts}[2] && $self->{$ts}[2] < $self->{'margin_right'}
1014 0 0 0 $self->{'layout'} <= 1 and not $self->{'ll'}
0 0 0 $self->{'layout'} <= 1 and not $self->{'ll'} and not $self->{'max_cols'}
1067 0 0 0 $self->{'max_cols'} and $cols_per_row > $self->{'max_cols'}
1086 0 0 0 $r == $rows - 1 and $c > $self->{'idx_of_last_col_in_last_row'}
1114 0 0 0 $self->{'page'} == 1 and $pp_total == 1
1297 0 0 0 $row == $self->{'pos'}[0] && $col == $self->{'pos'}[1]
1304 0 0 0 $is_current_pos and $self->{'color'} == 1
1346 0 0 0 $is_current_pos and $self->{'color'} == 1

or 2 conditions

line l !l condition
366 0 0 $self->{'margin_top'} // 0
764 0 0 $$self{'tabs_' . $opt}[0] // 0
765 0 0 $$self{'tabs_' . $opt}[1] // 0
766 0 0 $$self{'tabs_' . $opt}[2] // 0
846 0 0 $self->{'margin_top'} // 0
0 0 $self->{'info_rows'} // []
0 0 $self->{'prompt_rows'} // []
886 0 0 $self->{'margin_right'} // 0
887 0 0 $self->{'margin_left'} // 0
963 0 0 $self->{'margin_left'} // 0
1270 0 0 $self->{'margin_left'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
225 0 0 0 $key eq "plugin" or $key eq "backup_instance_defaults"
302 0 0 0 @_ < 1 or @_ > 2
360 0 0 0 $new_width != $self->{'term_width'} or $new_height != $self->{'term_height'}
429 0 0 0 $key == 340 or $key == 106
0 0 0 $key == 338 or $key == 107
0 0 0 $key == 9 or $key == 9
0 0 0 $key == 127 or $key == 8
0 0 0 $key == 127 or $key == 8 or $key == 8
0 0 0 $key == 339 or $key == 108
0 0 0 $key == 337 or $key == 104
0 0 0 $key == 333 or $key == 16
0 0 0 $key == 334 or $key == 14
0 0 0 $key == 336 or $key == 1
0 0 0 $key == 335 or $key == 5
0 0 0 $key == 113 or $key == 17
0 0 0 $key == 10 or $key == 13
570 0 0 0 $self->{'pos'}[0] + $self->{'avail_height'} > $#{$$self{"rc2idx"};} or $self->{'pos'}[1] > $#{$self->{'rc2idx'}[$self->{'pos'}[0] + $self->{'avail_height'}];}
606 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
626 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
649 0 0 0 $self->{'index'} || $self->{'ll'}
687 0 0 0 defined $self->{'no_spacebar'} or defined $self->{'meta_items'}
822 0 0 0 $self->{'margin_right'} or $self->{'col_width'} > $self->{'avail_width'}
867 0 0 0 $self->{'margin_top'} or $self->{'margin_bottom'}
885 0 0 0 $self->{'margin_right'} or $self->{'margin_left'}
1071 0 0 0 @{$self->{'list'};} % $cols_per_row || $cols_per_row
1242 0 0 0 $self->{'footer_fmt'} or $self->{'pp_count'} > 1