Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
253 0 0 0 defined $self->{'max_cols'} and $self->{'max_cols'} == 1
256 0 0 0 length $self->{'footer'} and $self->{'page'} != 2
259 0 0 0 $self->{'page'} == 2 and not $self->{'clear_screen'}
262 0 0 0 $self->{'max_cols'} and $self->{'layout'} == 1
360 0 0 0 $self->{'wantarray'} and @{$self->{'marked'};}
371 0 0 0 exists $ENV{'TC_RESET_AUTO_UP'} and $ENV{'TC_RESET_AUTO_UP'} == 0
372 0 0 0 $key != 10 and $key != 13
385 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
402 0 0 0 $key == 6 and $self->{'search'}
403 0 0 0 $self->{'rc2idx'}[$self->{'pos'}[0] + 1] && $self->{'rc2idx'}[$self->{'pos'}[0] + 1][$self->{'pos'}[1]]
441 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
470 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
559 0 0 0 $self->{'pos'}[1] == 0 and $self->{'pos'}[0] == 0
572 0 0 0 $self->{'order'} == 1 and $self->{'idx_of_last_col_in_last_row'} < $#{$$self{"rc2idx"}[0];}
573 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} - 1 and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
593 0 0 0 $self->{'pos'}[0] == $#{$$self{"rc2idx"};} and $self->{'pos'}[1] == $#{$self->{'rc2idx'}[$self->{'pos'}[0]];}
638 0 0 0 defined $self->{'meta_items'} and not $self->{'marked'}[$self->{'pos'}[0]][$self->{'pos'}[1]]
733 0 0 0 $^O ne "MSWin32" and $^O ne "cygwin"
736 0 0 0 $self->{'max_width'} and $info_w > $self->{'max_width'}
780 0 0 0 $self->{'page'} == 1 and $pp_total == 1
833 0 0 0 $self->{'wantarray'} and defined $self->{'mark'}
836 0 0 0 defined $self->{'default'} and $self->{'default'} <= $#{$$self{"list"};}
902 0 0 0 $row == $self->{'pos'}[0] && $col == $self->{'pos'}[1]
909 0 0 0 $is_current_pos and $self->{'color'} == 1
951 0 0 0 $is_current_pos and $self->{'color'} == 1
1057 0 0 0 $self->{'col_width'} > $self->{'avail_width'} and $^O ne "MSWin32"
0 0 0 $self->{'col_width'} > $self->{'avail_width'} and $^O ne "MSWin32" and $^O ne "cygwin"
1063 0 0 0 $self->{'max_width'} and $self->{'avail_width'} > $self->{'max_width'}
1085 0 0 0 $self->{'max_height'} and $self->{'max_height'} < $self->{'avail_height'}
1094 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'}
1148 0 0 0 $self->{'max_cols'} and $cols_per_row > $self->{'max_cols'}
1167 0 0 0 $r == $rows - 1 and $c > $self->{'idx_of_last_col_in_last_row'}

or 2 conditions

line l !l condition
744 0 0 $self->{'tabs_info'}[0] // 0
745 0 0 $self->{'tabs_info'}[1] // 0
746 0 0 $self->{'tabs_info'}[2] // 0
753 0 0 $self->{'tabs_prompt'}[0] // 0
754 0 0 $self->{'tabs_prompt'}[1] // 0
755 0 0 $self->{'tabs_prompt'}[2] // 0

or 3 conditions

line l !l&&r !l&&!r condition
220 0 0 0 $key eq "plugin" or $key eq "backup_instance_defaults"
294 0 0 0 @_ < 1 or @_ > 2
352 0 0 0 $new_width != $self->{'term_width'} or $new_height != $self->{'term_height'}
402 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
543 0 0 0 $self->{'pos'}[0] + $self->{'avail_height'} > $#{$$self{"rc2idx"};} or $self->{'pos'}[1] > $#{$self->{'rc2idx'}[$self->{'pos'}[0] + $self->{'avail_height'}];}
579 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
599 0 0 0 @{$self->{'rc2idx'};} % $self->{'avail_height'} || $self->{'avail_height'}
622 0 0 0 $self->{'index'} || $self->{'ll'}
660 0 0 0 defined $self->{'no_spacebar'} or defined $self->{'meta_items'}
1057 0 0 0 $self->{'margin_right'} or $self->{'col_width'} > $self->{'avail_width'} and $^O ne "MSWin32" and $^O ne "cygwin"
1152 0 0 0 @{$self->{'list'};} % $cols_per_row || $cols_per_row