Branch Coverage

blib/lib/Term/ReadLine/Tiny.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
135 0 0 if ($self->{'readmode'})
153 0 0 unless defined $prompt
154 0 0 unless defined $default
157 0 0 unless (-t $in)
160 0 0 if defined $line
186 0 0 if ($ins) { }
199 0 0 if ($ins) { }
212 0 0 if ($index >= length $line)
233 0 0 if $index <= 0
265 0 0 if $index <= 0
270 0 0 if $index >= length $line
273 0 0 if ($index >= length $line) { }
285 0 0 if $history_index <= 0
286 0 0 if $changehistory
291 0 0 if $history_index >= $#$history
292 0 0 if $changehistory
297 0 0 if $history_index <= 0
298 0 0 if $changehistory
303 0 0 if $history_index >= $#$history
304 0 0 if $changehistory
318 0 0 unless (defined $esc)
343 0 0 if ($history->[$i] =~ /^$line/)
354 0 0 unless defined $minline and length $line >= $minline
374 0 0 if ($esc =~ /^.\d?\D/)
468 0 0 if ($self->{'features'}{'utf8'})
520 0 0 if @_ >= 1
615 0 0 if $console_utf8
618 0 0 if ref $IN eq 'GLOB'
619 0 0 if ref \$IN eq 'GLOB'
620 0 0 unless defined $in
621 0 0 unless defined $in
625 0 0 if ref $OUT eq 'GLOB'
626 0 0 if ref \$OUT eq 'GLOB'
627 0 0 unless defined $out
628 0 0 unless defined $out
673 0 0 if ($self->{'features'}{'utf8'})
700 0 0 if @_ >= 1
721 0 0 unless (-t $in)
734 0 0 unless (defined $esc)
749 0 0 if $echo
757 0 0 if ($esc =~ /^.\d?\D/)