Branch Coverage

blib/lib/Net/IDN/PP.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
20 3 8 if $label =~ /^[\x00-\x7F]+$/u
30 7 1 if $basic_length > 0
44 12 43 if $cp >= $n and $cp < $m
52 38 17 if ($cp < $n) { }
11 6 elsif ($cp == $n) { }
61 16 14 if ($k <= $bias) { }
13 1 elsif ($k >= $bias + 26) { }
72 11 19 if $q < $t
103 29 4 if $cp >= 97 and $cp <= 122
107 4 0 if $cp >= 48 and $cp <= 57
114 17 6 $first_time ? :
130 2 9 unless $label =~ /^xn--/iu
136 8 1 if ($dash_pos != -1)
154 0 33 if $in_idx >= $in_len
162 18 15 if ($k <= $bias) { }
14 1 elsif ($k >= $bias + 26) { }
173 12 21 if $d < $t