Branch Coverage

blib/lib/Crypt/GeneratePassword.pm
Criterion Covered Total %
branch 30 72 41.6


line true false branch
92 818467 1317014 if $res =~ /\x00/
96 0 0 if $res =~ /([\Q$match\E].*){$more,}/
136 0 10 unless $lang
145 0 97364 $capitals ? :
0 97364 $numbers ? :
0 97364 $numbers ? :
0 97364 $capitals ? :
149 0 97364 if length $stripped == 0
159 415442 0 if ($k3 gt 'Z') { }
165 117384 298058 if ($k0 > 0)
166 97352 20032 if $lang->{'quads'}[$k0][$k1][$k2][$k3] < $minfreq
174 2 10 if $sum / length($stripped) < $avgfreq
175 0 10 if &restrict($stripped, $language)
187 0 2 unless $lang
196 0 1219640 $capitals ? :
0 1219640 $numbers ? :
0 1219640 $numbers ? :
0 1219640 $capitals ? :
200 0 1219640 if length $stripped == 0
209 3992596 0 if ($k3 gt 'Z') { }
215 1477377 2515219 if ($k1 > 0)
216 1219636 257741 if $lang->{'tris'}[$k1][$k2][$k3] < $minfreq
223 2 2 if $sum / length($stripped) < $avgfreq
224 0 2 if &restrict($stripped, $language)
284 0 0 if (@_ > 1) { }
0 0 elsif (not ref $wordlist) { }
0 0 elsif (ref $wordlist ne 'ARRAY') { }
288 0 0 if (@$wordlist == 1)
313 0 0 if ($k3 gt 'Z') { }
319 0 0 unless $k3 >= 0 and $k3 <= 25
321 0 0 if ($k0 >= 0)
324 0 0 if ($quads[$k0][$k1][$k2][$k3] > $maxquad)
329 0 0 if ($k1 >= 0)
332 0 0 if ($tris[$k1][$k2][$k3] > $maxtri)
386 0 0 if $desc
387 0 0 if $default