Condition Coverage

blib/lib/URI/file.pm
Criterion Covered Total %
condition 14 29 48.2


and 3 conditions

line !l l&&!r l&&r condition
74 4 0 0 defined $DEFAULT_AUTHORITY and lc $auth eq lc $DEFAULT_AUTHORITY
81 36 0 0 defined $auth || defined $DEFAULT_AUTHORITY and !(defined $auth && defined $DEFAULT_AUTHORITY) || $auth ne $DEFAULT_AUTHORITY

or 2 conditions

line l !l condition
30 78 62 $OS_CLASS{$OS} || 'Unix'

or 3 conditions

line l !l&&r !l&&!r condition
28 122 18 0 shift() || $^O
72 40 0 6 defined $scheme or defined $auth
74 36 0 4 not defined $auth or $auth eq ""
36 0 4 not defined $auth or $auth eq "" or lc $auth eq "localhost"
0 0 4 not defined $auth or $auth eq "" or lc $auth eq "localhost" or defined $DEFAULT_AUTHORITY and lc $auth eq lc $DEFAULT_AUTHORITY
81 0 0 36 defined $auth || defined $DEFAULT_AUTHORITY
0 0 0 !(defined $auth && defined $DEFAULT_AUTHORITY) || $auth ne $DEFAULT_AUTHORITY