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 5452 615 $mode eq "full" and %namecase_exceptions_full
797 6067 1005 973 $mode eq "family" and defined $given_names
7072 865 108 $mode eq "family" and defined $given_names and %fnamecase_exceptions_full
962 1888 84 96 @words < 2 and not $name =~ /^[\p{Han}\p{Hangul}\p{Hiragana}\p{Katakana}]+$/u
968 1318 48 24 $kcstarter eq "ben" and not $name =~ / v$apostrophe| ha$hyphen(?:Kohein|Levi|Rav)\b/iu
969 1318 36 12 $kcstarter eq "bean" and not $name =~ /\bbean $irish_post_bean_re\b/iu
972 1242 76 24 $i > 1 and $kcstarter =~ /^[yi]$/iu
1060 2 6 1840 defined $name and length $name

or 3 conditions

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