blib/lib/URI/file/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 22 | 77.2 |
line | true | false | branch |
---|---|---|---|
14 | 2 | 49 | unless defined $path |
21 | 12 | 39 | if (defined $auth) { } |
22 | 12 | 0 | unless $escaped_auth |
25 | 12 | 0 | if (defined $path) { } |
26 | 1 | 11 | unless substr($path, 0, 1) eq "/" |
31 | 0 | 39 | unless defined $path |
35 | 39 | 12 | unless $escaped_path |
39 | 24 | 27 | if substr($uri, 0, 1) eq "/" |
47 | 26 | 18 | unless $class->_file_is_absolute($path) |
65 | 0 | 10 | if $host eq "localhost" |
68 | 10 | 0 | unless lc(Net::Domain::hostfqdn() || '') eq $host |