Branch Coverage

blib/lib/URI/file.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
32 10 130 unless (%{"${class}::";})
34 0 10 if $@
51 5 4 unless $$file =~ /^file:/
60 0 6 if $^O eq "VMS"
62 5 1 unless substr($cwd, -1, 1) eq "/"
72 6 0 unless defined $scheme or defined $auth
74 0 4 if (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 if (defined $auth || defined $DEFAULT_AUTHORITY and !(defined $auth && defined $DEFAULT_AUTHORITY) || $auth ne $DEFAULT_AUTHORITY)
85 0 0 if $self == $other