| lib/Pcore/Util/IDN/PP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 34 | 58.8 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 5 | 5 | /[^\x00-\x7f]/msu ? : |
| 24 | 0 | 0 | /\Axn--(.+)\z/msu ? : |
| 52 | 0 | 5 | if $basic > 0 |
| 55 | 3 | 16 | if $m < $n |
| 64 | 39 | 53 | if ($c < $n) { } |
| 19 | 34 | elsif ($c == $n) { } | |
| 74 | 21 | 4 | $t > $PC_TMAX ? : |
| 10 | 25 | $t < $PC_TMIN ? : | |
| 76 | 19 | 16 | if $q < $t |
| 80 | 6 | 10 | $o < 26 ? : |
| 85 | 19 | 0 | $q < 26 ? : |
| 116 | 0 | 0 | if $input =~ s/(.*)\x2d//msu |
| 127 | 0 | 0 | $digit < 64 ? : |
| 133 | 0 | 0 | $t > $PC_TMAX ? : |
| 0 | 0 | $t < $PC_TMIN ? : | |
| 135 | 0 | 0 | if $digit < $t |
| 155 | 5 | 14 | $firsttime ? : |