Branch Coverage

blib/lib/Data/Password/Simple.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
87 1 1 if ($params{'dictionary'})
129 0 0 unless ($replacement)
134 0 0 if (%{$$self{'_dictionary'};})
167 0 2 if ($length)
244 23 77 if $$checks{$check}($password)
247 23 27 if (%error)
249 9 14 wantarray ? :
255 10 17 wantarray ? :
267 1 0 if (ref $source eq 'ARRAY')
276 0 0 if (not -e $source && -r _ or -d _)
281 0 0 unless (open my $dict_fh, '<', $source)