Condition Coverage

blib/lib/Term/ReadLine/Simple.pm
Criterion Covered Total %
condition 0 78 0.0


and 3 conditions

line !l l&&!r l&&r condition
286 0 0 0 not defined $self->{'compat'} and $ENV{'READLINE_SIMPLE_COMPAT'}
410 0 0 0 not $prompt =~ /\n/ and 'Unicode::GCString'->new($prompt)->columns <= $self->{'avail_width'}
535 0 0 0 defined $opt and ref $opt ne 'HASH'
593 0 0 0 $tmp_maxrows != $maxrows and $tmp_maxrows < @$list + 1
773 0 0 0 not defined $self->{'compat'} and $ENV{'READLINE_SIMPLE_COMPAT'}
799 0 0 0 defined $self->{'enter_row'} and $self->{'enter_row'} == $self->{'curr_row'}
0 0 0 defined $self->{'enter_row'} and $self->{'enter_row'} == $self->{'curr_row'} and defined $self->{'enter_col'}
0 0 0 defined $self->{'enter_row'} and $self->{'enter_row'} == $self->{'curr_row'} and defined $self->{'enter_col'} and $self->{'enter_col'} == $pos

or 3 conditions

line l !l&&r !l&&!r condition
204 0 0 0 $key == 127 or $key == 8
0 0 0 $key == 346 or $key == 4
0 0 0 $key == 339 or $key == 6
0 0 0 $key == 337 or $key == 2
0 0 0 $key == 335 or $key == 5
0 0 0 $key == 336 or $key == 1
0 0 0 $key == 338 or $key == 340
283 0 0 0 $key eq "\n" or $key eq "\r"
286 0 0 0 $self->{'compat'} or not defined $self->{'compat'} and $ENV{'READLINE_SIMPLE_COMPAT'}
593 0 0 0 $tmp_maxcols != $maxcols or $tmp_maxrows != $maxrows and $tmp_maxrows < @$list + 1
600 0 0 0 $key == 127 or $key == 8
0 0 0 $key == 346 or $key == 4
0 0 0 $key == 335 or $key == 5
0 0 0 $key == 336 or $key == 1
0 0 0 $key == 333 or $key == 2
0 0 0 $key == 334 or $key == 6
759 0 0 0 $key eq "\n" or $key eq "\r"
773 0 0 0 $self->{'compat'} or not defined $self->{'compat'} and $ENV{'READLINE_SIMPLE_COMPAT'}