Branch Coverage

blib/lib/Term/ReadPassword.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
49 0 0 unless defined $prompt
50 0 0 unless defined $idle_limit
51 0 0 unless defined $interruptable
56 0 0 unless $in
57 0 0 if (open TTY, "+<$in") { }
0 0 elsif ($Term::ReadPassword::ALLOW_STDIN) { }
62 0 0 unless open TTY, '<&STDIN'
70 0 0 if (open TTYOUT, ">>$out") { }
0 0 elsif ($Term::ReadPassword::ALLOW_STDIN) { }
77 0 0 unless open TTYOUT, '>>&STDOUT'
104 0 0 if ($idle_limit) { }
123 0 0 $Term::ReadPassword::USE_STARS ? :
124 0 0 $Term::ReadPassword::USE_STARS ? :
144 0 0 if ($count) { }
146 0 0 if (my $meaning = $Term::ReadPassword::SPECIAL{$new_key}) { }
147 0 0 if ($meaning eq 'ENT') { }
0 0 elsif ($meaning eq 'DEL') { }
0 0 elsif ($meaning eq 'NAK') { }
0 0 elsif ($interruptable and $meaning eq 'INT') { }
158 0 0 if (length $input)
192 0 0 if length $input > $Term::ReadPassword::INPUT_LIMIT
204 0 0 unless $Term::ReadPassword::SUPPRESS_NEWLINE