Branch Coverage

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


line true false branch
39 0 0 unless defined $prompt
40 0 0 unless defined $idle_limit
41 0 0 unless defined $interruptmode
43 0 0 unless (IsWin32())
44 0 0 $interruptmode > 0 ? :
72 0 0 if ($interruptmode <= 1)
78 0 0 $Term::ReadPassword::Win32::USE_STARS ? :
79 0 0 $Term::ReadPassword::Win32::USE_STARS ? :
91 0 0 if ($idle_limit and DiffTick($tick2, $tick) > $idle_limit)
104 0 0 if $evtype != 1 or not $keydown
106 0 0 if $keycode == 46
107 0 0 if $ch == 0
110 0 0 if ($ch == 13 or $ch == 10) { }
0 0 elsif ($ch == 8 or $ch == 127) { }
0 0 elsif ($ch == 21) { }
0 0 elsif ($interruptmode > 0 and $ch == 27 || $ch == 3) { }
114 0 0 if (length $input > 0)
136 0 0 if (length $input > $Term::ReadPassword::Win32::INPUT_LIMIT)
141 0 0 unless $Term::ReadPassword::Win32::SUPPRESS_NEWLINE
163 0 0 if ($tick1 >= $tick2) { }