Condition Coverage

blib/lib/File/Spec/Unix.pm
Criterion Covered Total %
condition 0 63 0.0


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 0 $double_slashes_special and $path =~ s[^(//[^/]+)/?\z][]s || $path =~ s[^(//[^/]+)/][/]s
178 0 0 0 defined $_ and -d $_
0 0 0 defined $_ and -d $_ and -w _
183 0 0 0 defined $tmpdir && $self->canonpath($tmpdir)
352 0 0 0 $directory ne '' and $file ne ''
0 0 0 $directory ne '' and $file ne '' and substr($directory, -1) ne '/'
0 0 0 $directory ne '' and $file ne '' and substr($directory, -1) ne '/' and substr($file, 0, 1) ne '/'
398 0 0 0 defined $base and length $base
420 0 0 0 not length $base_directories and $self->file_name_is_absolute($base)
441 0 0 0 @pathchunks and @basechunks
0 0 0 @pathchunks and @basechunks and $self->_same($pathchunks[0], $basechunks[0])
458 0 0 0 @reverse_base and $reverse_base[0] eq $self->updir
550 0 0 0 @dirs and $dirs[-1] eq ''
554 0 0 0 $dir eq $updir and @collapsed
0 0 0 $dir eq $updir and @collapsed and length $collapsed[-1]
0 0 0 $dir eq $updir and @collapsed and length $collapsed[-1] and $collapsed[-1] ne $updir
0 0 0 $dir eq $updir and @collapsed and length $collapsed[-1] and $collapsed[-1] ne $updir and $collapsed[-1] ne $curdir

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 $^O eq 'qnx' || $^O eq 'nto'
55 0 0 0 $path =~ s[^(//[^/]+)/?\z][]s || $path =~ s[^(//[^/]+)/][/]s
445 0 0 0 @pathchunks or @basechunks
507 0 0 0 not defined $base or $base eq ''