Branch Coverage

blib/lib/URI/_punycode.pm
Criterion Covered Total %
branch 39 48 81.2


line true false branch
30 3 155 if $code =~ /[A-Z]/
31 120 35 if $code =~ /[a-z]/
32 35 0 if $code =~ /[0-9]/
38 273 36 if 0 <= $digit and $digit <= 25
39 36 0 if 26 <= $digit and $digit <= 36
45 41 255 $firsttime ? :
63 11 6 if ($code =~ s/(.*)$Delimiter//o)
65 0 11 unless $1 =~ /^$BasicRE*$/o
75 0 158 unless defined $digit
77 95 22 $k >= $bias + 26 ? :
41 117 $k <= $bias ? :
79 80 78 if $digit < $t
83 0 80 if $DEBUG
87 0 80 if $DEBUG
105 16 9 if $b and $h < @input
106 0 25 if $DEBUG
110 0 76 if $DEBUG
115 709 566 if $c < $n
116 216 1059 if ($c == $n)
120 232 22 $k >= $bias + 26 ? :
55 254 $k <= $bias ? :
122 216 93 if $q < $t
129 0 216 if $DEBUG
142 201 289 if $_ <= $min