blib/lib/File/Spec/Win32.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 23 | 73.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
292 | 52 | 7 | 0 | ($v) = $volume =~ m[^([\\/])[\\/][^\\/]+[\\/][^\\/]+\Z(?!\n)]s and $directory =~ m[^[^\\/]]s |
301 | 0 | 20 | 39 | not $volume =~ /^[a-zA-Z]:\Z(?!\n)/s and $volume =~ m[[^\\/]\Z(?!\n)] |
20 | 37 | 2 | not $volume =~ /^[a-zA-Z]:\Z(?!\n)/s and $volume =~ m[[^\\/]\Z(?!\n)] and $file =~ m[[^\\/]] | |
439 | 174 | 33 | 7 | $path eq '' and $volume =~ /\A(\\\\.*)\\\z/s |
line | l | !l | condition |
---|---|---|---|
94 | 0 | 0 | shift() || 'C:' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
186 | 2 | 1 | 189 | not defined $_[1] or $_[1] eq '' |
333 | 5 | 0 | 9 | not defined $base or $base eq '' |
443 | 227 | 34 | 0 | $path ne '' || $volume |