| blib/lib/App/Gimei/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 16 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 39 | 36 | 18 | if ($token eq 'name' or $token eq 'male' or $token eq 'female') { } |
| 16 | 2 | elsif ($token eq 'address') { } | |
| 41 | 7 | 29 | if ($token ne "name") |
| 54 | 4 | 48 | if (@tokens) |
| 55 | 1 | 3 | if (defined $params{'word_subtype'}) { } |
| 78 | 16 | 20 | if ($word_subtype = $map{$token}) |
| 89 | 5 | 7 | if ($token eq "prefecture" or $token eq "city" or $token eq "town") |
| 101 | 5 | 38 | if ($token eq "kanji" or $token eq "hiragana" or $token eq "katakana" or $token eq "romaji") |