Condition Coverage

blib/lib/Lingua/NameUtils.pm
Criterion Covered Total %
condition 27 27 100.0


and 3 conditions

line !l l&&!r l&&r condition
791 1978 5446 615 $mode eq "full" and %namecase_exceptions_full
797 6061 1005 973 $mode eq "family" and defined $given_names
7066 865 108 $mode eq "family" and defined $given_names and %fnamecase_exceptions_full
961 1888 78 96 @words < 2 and not $name =~ /^[\p{Han}\p{Hangul}\p{Hiragana}\p{Katakana}]+$/u
967 1318 48 24 $kcstarter eq "ben" and not $name =~ / v$apostrophe| ha$hyphen(?:Kohein|Levi|Rav)\b/iu
968 1318 36 12 $kcstarter eq "bean" and not $name =~ /\bbean $irish_post_bean_re\b/iu
971 1242 76 24 $i > 1 and $kcstarter =~ /^[yi]$/iu
1058 2 6 1837 defined $name and length $name

or 3 conditions

line l !l&&r !l&&!r condition
788 1978 4966 1095 $mode eq "family" or index($name, ",") != -1