Condition Coverage

blib/lib/Term/Completion.pm
Criterion Covered Total %
condition 0 47 0.0


and 3 conditions

line !l l&&!r l&&r condition
140 0 0 0 defined $this->{'helptext'} and not defined $this->{'help'}
171 0 0 0 defined($key = $this->get_key) and $_ .= $key, !($_ =~ /$this->{'enter'}/)
267 0 0 0 length $sep and $return =~ s/((?:^|[$sep$sep]+)[^$sep$sep]*[$sep$sep]*)$//s
364 0 0 0 do { ref $this->{'validate'} } && do { my($msg, $cb) = @{$this->{'validate'};}; my $match = &$cb($return); unless (defined $match) { $this->{'out'}->print($msg, $this->{'eol'}); return; } ; return $match }
423 0 0 0 length $return and $return =~ /\S/
431 0 0 0 length $return and not grep(($return eq $_), $this->get_choices(""))
486 0 0 0 defined $_ && /^\Q$_[0]\E/
506 0 0 0 defined $this->{'columns'} and $this->{'columns'} == 0
514 0 0 0 length $_ > $MAXWIDTH && ($MAXWIDTH = length $_)
529 0 0 0 $COLUMNS and $ROWS
543 0 0 0 $c < $columns and $i < @choices
547 0 0 0 $ROWS and ++$page_lines == $ROWS

or 2 conditions

line l !l condition
128 0 0 $this->{'helptext'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 0 /^:DEFAULT$/ or not /^:/
110 0 0 0 ref $_[0] or $_[0] =~ /^\*/
174 0 0 0 /^\x1b([^\[])/ or /^\x1b\[(?:[A-Z]|\d+~)(.)/