Branch Coverage

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


line true false branch
40 0 0 unless defined $prompt
41 0 0 unless defined $idle_limit
42 0 0 unless defined $interruptmode
44 0 0 unless (IsWin32())
45 0 0 $interruptmode > 0 ? :
73 0 0 if ($interruptmode <= 1)
80 0 0 $Term::ReadPassword::Win32::USE_STARS ? :
81 0 0 $Term::ReadPassword::Win32::USE_STARS ? :
93 0 0 if ($idle_limit and DiffTick($tick2, $tick) > $idle_limit)
108 0 0 if $evtype != 1 or not $keydown
110 0 0 if $keycode == 46
111 0 0 if $ch == 0
114 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) { }
119 0 0 if (length $input > 0)
146 0 0 if (length $input > $Term::ReadPassword::Win32::INPUT_LIMIT)
151 0 0 unless $Term::ReadPassword::Win32::SUPPRESS_NEWLINE
173 0 0 if ($tick1 >= $tick2) { }