blib/lib/Lingua/ZH/PinyinConvert.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
447 | 0 | 276 | unless exists $idx{lc $pinyin} |
449 | 276 | 20 | if $PS[$line][$from] eq $pinyin |
455 | 4 | 0 | exists $enum{lc $from} ? : |
456 | 4 | 0 | exists $enum{lc $to} ? : |
463 | 402 | 3588 | unless $SS =~ /[':A-Za-z]/o |
465 | 276 | 3312 | if (exists $idx{$ss}) |
467 | 276 | 0 | if ($targets) |
468 | 0 | 276 | if $SS =~ /^[A-Z]/o |
475 | 402 | 276 | if (not $matched) { } |