Branch Coverage

blib/lib/Data/Password/zxcvbn/Match/Spatial.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
41 20 622 if (my $shifts = $self->shifted_count)
43 5 15 if ($shifts == 0 or $unshifts == 0) { }
79 580 22982 !($name =~ /keypad/) && substr($password, $i, 1) =~ /[~!\@#\$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/ ? :
92 26324 760 if ($j < $length)
97 9552 16772 unless $graph->{$prev_character}
100 3522 93337 if (defined $adj and (my $idx = index($adj, $cur_character)) >= 0)
108 89 3433 if $idx == 1
109 3208 314 if ($last_direction != $cur_direction)
123 3522 23562 if ($found) { }
133 653 22909 unless $j - $i <= 2
159 2 4 $self->turns == 1 ? :