Branch Coverage

blib/lib/Locale/ID/GuessGender/FromFirstName.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
22 5 0 if (@_ and ref $_[0] eq 'HASH') { }
27 0 5 unless @_
34 0 5 unless $name
54 0 5 unless $algo ~~ \@known_algos
61 5 0 $opts->{'try_all'} || !$res[$_]{'result'} ? :
64 0 5 unless $algo_res[$_]
68 5 0 if ($algo_res[$_]{'success'} and $algo_res[$_]{'guess_confidence'} >= $opts->{'min_guess_confidence'} and !$res[$_]{'result'} || $res[$_]{'guess_confidence'} < $algo_res[$_]{'guess_confidence'})