Branch Coverage

blib/lib/Term/Complete.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
95 1 3 if (ref $_[0] or $_[0] =~ /^\*/) { }
103 0 0 if (defined $stty and defined $tty_saved_state and $tty_saved_state eq '')
105 0 0 if ($?) { }
114 0 4 if defined $tty_raw_noecho
121 1 25 if ($_ eq "\t")
123 1 0 unless ($#match < 0)
138 4 21 if ($_ eq $complete)
144 4 17 if ($_ eq $kill)
145 4 0 if ($r)
155 0 17 if ($_ eq $erase1 or $_ eq $erase2)
156 0 0 if ($r)
165 17 0 if (ord $_ >= 32)
176 0 4 if (defined $tty_saved_state and defined $tty_restore and defined $tty_safe_restore)
179 0 0 if ($?)