Branch Coverage

blib/lib/Crypt/GeneratePassword.pm
Criterion Covered Total %
branch 29 72 40.2


line true false branch
93 311485 505017 if $res =~ /\x00/
97 0 0 if $res =~ /([\Q$match\E].*){$more,}/
137 0 10 unless $lang
145 0 51220 $capitals ? :
0 51220 $numbers ? :
0 51220 $numbers ? :
0 51220 $capitals ? :
150 0 51220 if length $stripped == 0
160 218303 0 if ($k3 gt 'Z') { }
166 61478 156825 if ($k0 > 0)
167 51209 10269 if $$lang{'quads'}[$k0][$k1][$k2][$k3] < $minfreq
175 1 10 if $sum / length($stripped) < $avgfreq
176 0 10 if &restrict($stripped, $language)
188 0 2 unless $lang
196 0 453787 $capitals ? :
0 453787 $numbers ? :
0 453787 $numbers ? :
0 453787 $capitals ? :
201 0 453787 if length $stripped == 0
210 1484988 0 if ($k3 gt 'Z') { }
216 549169 935819 if ($k1 > 0)
217 453785 95384 if $$lang{'tris'}[$k1][$k2][$k3] < $minfreq
224 0 2 if $sum / length($stripped) < $avgfreq
225 0 2 if &restrict($stripped, $language)
285 0 0 if (@_ > 1) { }
0 0 elsif (not ref $wordlist) { }
0 0 elsif (ref $wordlist ne 'ARRAY') { }
289 0 0 if (@$wordlist == 1)
314 0 0 if ($k3 gt 'Z') { }
320 0 0 unless $k3 >= 0 and $k3 <= 25
322 0 0 if ($k0 >= 0)
325 0 0 if ($quads[$k0][$k1][$k2][$k3] > $maxquad)
330 0 0 if ($k1 >= 0)
333 0 0 if ($tris[$k1][$k2][$k3] > $maxtri)
387 0 0 if $desc
388 0 0 if $default