Condition Coverage

blib/lib/Term/Completion.pm
Criterion Covered Total %
condition 1 44 2.2


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
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 $_)
528 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 1 /^:DEFAULT$/ or not /^:/
110 0 0 0 ref $_[0] or $_[0] =~ /^\*/
174 0 0 0 /^\x1b([^\[])/ or /^\x1b\[(?:[A-Z]|\d+~)(.)/