blib/lib/File/Spec/Win32.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 23 | 73.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
296 | 52 | 7 | 0 | ($v) = $volume =~ m[^([\\/])[\\/][^\\/]+[\\/][^\\/]+\Z(?!\n)]s and $directory =~ m[^[^\\/]]s |
305 | 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[[^\\/]] | |
442 | 174 | 33 | 7 | $path eq '' and $volume =~ /\A(\\\\.*)\\\z/s |
line | l | !l | condition |
---|---|---|---|
98 | 0 | 0 | shift() || 'C:' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
190 | 2 | 1 | 189 | not defined $_[1] or $_[1] eq '' |
337 | 5 | 0 | 9 | not defined $base or $base eq '' |
446 | 227 | 34 | 0 | $path ne '' || $volume |