Branch Coverage

blib/lib/Data/Password/Filter.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
60 1 4 if ($self->user_dictionary) { }
72 4288 388952 if CORE::length $word <= 3
78 1 4 unless scalar @{$self->{'word_list'};}
153 1 2 unless defined $password
178 1 2 unless defined $password or defined $self->{'score'}
180 1 1 if defined $password
202 0 0 unless defined $self->{'result'}
206 0 0 if (defined $self->{'result'}{$_} and $self->{'result'}{$_}) { }
224 3 0 if $self->{'check_dictionary'}
225 3 0 if $self->{'check_variation'}
235 21 0 if defined $self->{'result'}{$_} and $self->{'result'}{$_}
241 0 3 if ($score <= 50) { }
0 3 elsif ($score > 50 and $score <= 70) { }
0 3 elsif ($score > 70 and $score <= 90) { }
3 0 elsif ($score > 90) { }
312 0 10 unless (defined $self->{'result'}{'check_dictionary'} and $self->{'result'}{'check_dictionary'})
323 84 651 if $spos == $i
324 648 87 defined $_password[$i] ? :
335 4 666200 if (/$regexp/i)