Branch Coverage

blib/lib/Mozilla/PublicSuffix.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
29 65 0 index($string, 'xn--') == -1 ? :
65 2 defined $string && ref $string eq '' ? :
35 60 7 $domain =~ /$dn_re/ ? :
53 15 80 if (defined $rule) { }
8 72 elsif ($domain eq $rhs) { }
55 12 3 if ($rule eq 'i') { }
1 2 elsif ($rule eq 'w') { }
74 37 35 if (defined $rrule) { }
78 5 32 if ($rrule eq 'w') { }
30 2 elsif ($rrule eq 'i') { }