Branch Coverage

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


line true false branch
55 1 4 if ($self->user_dictionary) { }
67 4288 388952 if CORE::length $word <= 3
73 1 4 unless scalar @{$self->{'word_list'};}
148 1 2 unless defined $password
173 1 2 unless defined $password or defined $self->{'score'}
175 1 1 if defined $password
197 0 0 unless defined $self->{'result'}
201 0 0 if (defined $self->{'result'}{$_} and $self->{'result'}{$_}) { }
219 3 0 if $self->{'check_dictionary'}
220 3 0 if $self->{'check_variation'}
230 21 0 if defined $self->{'result'}{$_} and $self->{'result'}{$_}
236 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) { }
307 0 10 unless (defined $self->{'result'}{'check_dictionary'} and $self->{'result'}{'check_dictionary'})
318 84 651 if $spos == $i
319 648 87 defined $_password[$i] ? :
330 4 666200 if (/$regexp/i)