Condition Coverage

blib/lib/File/Spec/VMS.pm
Criterion Covered Total %
condition 15 71 21.1


and 3 conditions

line !l l&&!r l&&r condition
162 0 1 2 defined $dir && length $dir
197 1 0 0 $spath =~ m<^(?]+\)\Z(?!\n)>s and basename($file) eq $file
201 0 0 0 defined $rslt && length $rslt
207 0 0 2 defined $file && length $file
338 46 0 0 $file =~ /^[\w\$\-]+\Z(?!\n)/s and $ENV{$file}
431 0 0 0 length $dev and $dir eq '[]' || $dir eq '<>'
445 0 0 18 defined $base and length $base
475 0 0 0 @pathchunks and @basechunks
0 0 0 @pathchunks and @basechunks and lc $pathchunks[0] eq lc $basechunks[0]
511 32 6 0 defined $base and $base =~ m[/]
536 0 0 0 $base_directories =~ /[^.\]>]\Z(?!\n)/ and $path_directories =~ /^[^.\[<]/s

or 2 conditions

line l !l condition
57 0 131 $ENV{'DECC$FILENAME_UNIX_REPORT'} || ''
370 0 0 $1 || ''
374 0 0 $1 || ''
0 0 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
258 0 0 0 $dev1 != $dev2 or $ino1 != $ino2
339 39 2 5 $file =~ m[^/]s || $file =~ /[<\[][^.\-\]>]/ || $file =~ /^[A-Za-z0-9_\$\-\~]+(?
387 0 1 14 not defined $dirspec or '' eq $dirspec
426 0 0 0 $dev eq '' or $dev =~ /:\Z(?!\n)/
427 0 0 0 length $dev or length $dir
431 0 0 0 $dir eq '[]' || $dir eq '<>'
485 0 0 0 @basechunks > 0 or $basechunks != $pathchunks
507 0 0 0 -d $path || $path =~ m[/\z]
516 0 0 5 not defined $base or $base eq ''
533 0 0 0 $path_directories eq '[]' or $path_directories eq '<>'