Branch Coverage

blib/lib/Net/IDN/Punycode/PP.pm
Criterion Covered Total %
branch 39 48 81.2


line true false branch
38 10134 12457 $firsttime ? :
49 0 8400 unless @_
59 0 8400 unless defined $input
60 0 8400 unless length $input
62 2060 6340 if ($input =~ s/(.*)$Delimiter//os)
64 0 2060 if $base_chars =~ /[^$BasicRE]/so
70 0 8400 if $code =~ /[^$PunyRE]/so
82 0 70474 unless defined $cp
88 31922 38552 $digit < 64 ? :
92 41231 6770 $t > 26 ? :
22473 48001 $t < 1 ? :
94 19229 51245 if $digit < $t
100 6 19223 if $n < 0 or $n > 1114111
108 0 1734 unless @_
118 454 1280 if $bb > 0
129 105 3257 if $m < $n
135 13743 6999 if $c < $n
136 3362 17380 if ($c == $n)
141 5735 647 $t > 26 ? :
3771 6382 $t < 1 ? :
143 3362 6791 if $q < $t
146 3094 3697 $o < 26 ? :
150 0 3362 if $q > 36
151 3362 0 $q < 26 ? :