Branch Coverage

blib/lib/Net/IDN/IDNA2003.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
33 8 40 unless exists $param{'AllowUnassigned'}
34 8 40 unless exists $param{'UseSTD3ASCIIRules'}
36 38 10 if ($label =~ /[^\x00-\x7F]/)
40 26 10 if ($param{'UseSTD3ASCIIRules'})
41 3 22 if $label =~ /^-/ or $label =~ /-$/ or $label =~ /[\x00-\x2C\x2E-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]/
47 21 11 if ($label =~ /[^\x00-\x7F]/)
48 1 20 if $label =~ /^$IDNA_prefix/io
52 3 28 if length $label < 1 or length $label > 63
65 7 23 unless exists $param{'AllowUnassigned'}
66 7 23 unless exists $param{'UseSTD3ASCIIRules'}