Condition Coverage

blib/lib/Net/IDN/Encode.pm
Criterion Covered Total %
condition 6 12 50.0


and 3 conditions

line !l l&&!r l&&r condition
91 0 0 0 $domain_literal =~ /\P{ASCII}/ and croak('Non-ASCII characters in domain-literal')

or 3 conditions

line l !l&&r !l&&!r condition
77 4 4 18 not defined $email or $email eq ''
96 14 0 4 $domain || $domain_literal
14 0 0 $domain || $domain_literal