Branch Coverage

blib/lib/Lingua/JA/Name/Splitter.pm
Criterion Covered Total %
branch 34 34 100.0


line true false branch
57 1 10 unless ($kanji =~ /^($kkre)+$/)
67 1 12 unless ($kanji)
71 1 11 if (length $kanji == 1)
75 1 10 unless (kkname($kanji))
78 1 10 unless (wantarray)
82 1 10 if (length $kanji == 2)
99 2 16 if (is_kana($moji)) { }
13 3 elsif ($known{$moji}) { }
1 2 elsif ($moji eq "\x{3005}") { }
116 9 9 if ($probability[$i] < $split_cutoff)
126 1 8 unless ($name)
130 1 7 unless (wantarray)
138 2 6 if (not $name =~ /\s|,/) { }
139 1 1 if ($name =~ /^([A-Z][a-z]+)([A-Z]+)$/) { }
154 1 12 unless (is_romaji_strict($_))
159 1 5 if (@parts > 2)
164 2 4 if ($parts[0] =~ /^[A-Z]+$/ or $name =~ /,/) { }