| lib/Lingua/JA/Romaji/Valid/Rule.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 4213 | 3937 | if (length $c == 2 or $c eq 'j' or $c eq 'y') { } |
| 54 | 75 | 2070 | if (@data) |
| 64 | 770 | 492 | unless $$self{'filters'}{'word'}->can($filter) |
| 65 | 2 | 490 | unless ($$self{'filters'}{'word'}->$filter($word_ref)) |
| 66 | 0 | 2 | if $Verbose |
| 77 | 1187 | 1848 | unless $$self{'filters'}{'kana'}->can($filter) |
| 78 | 7 | 1841 | unless ($$self{'filters'}{'kana'}->$filter(\$kana)) |
| 79 | 0 | 7 | if $Verbose |
| 84 | 668 | 127 | exists $$self{'valid'}{$kana} ? : |
| 85 | 127 | 668 | unless ($ret) |
| 86 | 0 | 127 | if $Verbose |
| 91 | 306 | 16 | @_ ? : |