Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
267 0 0 0 defined $self->{'max_cols'} and $self->{'max_cols'} == 1
270 0 0 0 $self->{'max_height'} and $self->{'max_height'} < $self->{'keep'}
273 0 0 0 length $self->{'footer'} and $self->{'page'} != 2
276 0 0 0 $self->{'page'} == 2 and not $self->{'clear_screen'}
279 0 0 0 $self->{'max_cols'} and $self->{'layout'} == 1
403 0 0 0 $self->{'wantarray'} and @{$self->{'marked'};}
416 0 0 0 exists $ENV{'TC_RESET_AUTO_UP'} and $ENV{'TC_RESET_AUTO_UP'} == 0
417 0 0 0 $key != 10 and $key != 13
430 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
447 0 0 0 $key == 6 and $self->{'search'}
448 0 0 0 $self->{'rc2idx'}[$self->{'pos'}[0] + 1] && $self->{'rc2idx'}[$self->{'pos'}[0] + 1][$self->{'pos'}[1]]
486 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
515 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
604 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
617 0 0 0 $self->{'order'} == 1 and $self->{'idx_of_last_col_in_last_row'} < $#{$$self{"rc2idx"}[0];}
618 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} - 1 and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
638 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
683 0 0 0 defined $self->{'meta_items'} and not $self->{'marked'}[$self->{'pos'}[0]][$self->{'pos'}[1]]
787 0 0 0 $self->{'max_width'} and $width > $self->{'max_width'}
811 0 0 0 $self->{'wantarray'} and defined $self->{'mark'}
814 0 0 0 defined $self->{'default'} and $self->{'default'} <= $#{$$self{"list"};}
859 0 0 0 $self->{'max_width'} and $self->{'avail_width'} > $self->{'max_width'}
875 0 0 0 $self->{'max_height'} and $self->{'avail_height'} > $self->{'max_height'}
920 0 0 0 $self->{'margin_right'} && $self->{'term_width'} > 4
921 0 0 0 $self->{'margin_left'} && $self->{'term_width'} > 4
1053 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'}
1106 0 0 0 $self->{'max_cols'} and $cols_per_row > $self->{'max_cols'}
1125 0 0 0 $r == $rows - 1 and $c > $self->{'idx_of_last_col_in_last_row'}
1153 0 0 0 $self->{'page'} == 1 and $pp_total == 1
1336 0 0 0 $row == $self->{'pos'}[0] && $col == $self->{'pos'}[1]
1343 0 0 0 $is_current_pos and $self->{'color'} == 1
1385 0 0 0 $is_current_pos and $self->{'color'} == 1

or 2 conditions

line l !l condition
356 0 0 $self->{'term_width'} // 0
0 0 $self->{'term_height'} // 0
375 0 0 $new_width // 0
0 0 $new_height // 0
384 0 0 $self->{'margin_top'} // 0
780 0 0 $$self{'tabs_' . $opt}[0] // 0
781 0 0 $$self{'tabs_' . $opt}[1] // 0
782 0 0 $$self{'tabs_' . $opt}[2] // 0
788 0 0 $self->{'margin_left'} // 0
878 0 0 $self->{'margin_top'} // 0
0 0 $self->{'info_rows'} // []
0 0 $self->{'prompt_rows'} // []
918 0 0 $self->{'margin_right'} // 0
919 0 0 $self->{'margin_left'} // 0
967 0 0 $self->{'margin_left'} // 0
1309 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"
314 0 0 0 @_ < 1 or @_ > 2
356 0 0 0 ($self->{'term_width'} // 0) < 2 or ($self->{'term_height'} // 0) < 2
375 0 0 0 ($new_width // 0) < 2 or ($new_height // 0) < 2
378 0 0 0 $new_width != $self->{'term_width'} or $new_height != $self->{'term_height'}
447 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
588 0 0 0 $self->{'pos'}[0] + $self->{'avail_height'} > $#{$$self{"rc2idx"};} or $self->{'pos'}[1] > $#{$self->{'rc2idx'}[$self->{'pos'}[0] + $self->{'avail_height'}];}
624 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
644 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
667 0 0 0 $self->{'index'} || $self->{'ll'}
705 0 0 0 defined $self->{'no_spacebar'} or defined $self->{'meta_items'}
783 0 0 0 $init + $r_margin > $info_w - 6 or $subseq + $r_margin > $info_w - 6
845 0 0 0 $self->{'margin_right'} or $self->{'col_width'} > $self->{'avail_width'}
899 0 0 0 $self->{'margin_top'} or $self->{'margin_bottom'}
917 0 0 0 $self->{'margin_right'} or $self->{'margin_left'}
1110 0 0 0 @{$self->{'list'};} % $cols_per_row || $cols_per_row
1281 0 0 0 $self->{'footer_fmt'} or $self->{'pp_count'} > 1