Branch Coverage

blib/lib/Data/Password/Manager.pm
Criterion Covered Total %
branch 55 60 91.6


line true false branch
67 0 4 if length $clrtxt > 128
88 5 0 if $passwd
115 1 0 length $string > 128 ? :
150 2 6 $clrtxt =~ /$salt/ ? :
184 0 2 unless open P, $passwd_file
189 1 6 if ($_ =~ /^$user:(.*)/)
197 1 1 if $$ep
261 23 0 unless $min_pass_len
263 1 22 unless $new
264 1 21 unless $old
278 1 20 if length $new < $min_pass_len
279 1 19 if $old eq $new
280 1 18 if &CL_Palindrome($oldmono, $newmono)
281 1 17 if $oldmono eq $newmono
282 1 16 if &CL_Similar($oldmono, $newmono)
283 13 3 if &CL_Simple($old, $new)
285 1 2 if $oldmono =~ /$newmono/
286 1 1 if $flipped =~ /$newmono/
306 18 10 if ($new[$i - $j - 1] ne $new[$j])
334 2 15 if (@new >= 8)
338 26 64 if ($new =~ /$old[$i]/)
340 14 1 if ($i >= $j * 2)
362 20 87 if ($new[$i] =~ /[0-9]/) { }
47 40 elsif ($new[$i] =~ /[a-z]/) { }
35 5 elsif ($new[$i] =~ /[A-Z]/) { }
372 7 9 if ($digits)
373 11 5 if ($uppers)
374 10 6 if ($lowers)
375 5 11 if ($others)
377 3 13 if ($size <= $i)