Branch Coverage

blib/lib/File/Spec/Cygwin.pm
Criterion Covered Total %
branch 11 26 42.3


line true false branch
43 2 182 unless defined $path
49 1 181 if ($path =~ s[^(//[^/]+)(?:/|\z)][/]s)
57 1 52 unless @_
60 11 38 if ($_[0] and $_[0] eq '/' || $_[0] eq '\\')
80 84 9 if $file =~ m[^([a-z]:)?[\\/]]is
102 0 0 if defined $cached
121 1 0 unless $^O eq 'cygwin' and defined &Cygwin::mount_flags
125 0 0 unless ($drive)
128 0 0 if (not $prefix or $prefix eq 'cygdrive') { }
0 0 elsif ($prefix eq '/') { }
137 0 0 if ($mntopts and $mntopts =~ /,managed/)
140 0 0 unless eval { do { require Win32API::File } }
145 0 0 if ($ouFsFlags & Win32API::File::FS_CASE_SENSITIVE()) { }