Branch Coverage

blib/lib/File/Spec/Cygwin.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
42 2 182 unless defined $path
48 1 181 if ($path =~ s[^(//[^/]+)(?:/|\z)][/]s)
56 1 52 unless @_
59 11 38 if ($_[0] and $_[0] eq '/' || $_[0] eq '\\')
79 84 9 if $file =~ m[^([a-z]:)?[\\/]]is
101 0 0 if defined $cached
120 1 0 unless $^O eq 'cygwin' and defined &Cygwin::mount_flags
124 0 0 unless ($drive)
127 0 0 if (not $prefix or $prefix eq 'cygdrive') { }
0 0 elsif ($prefix eq '/') { }
136 0 0 if ($mntopts and $mntopts =~ /,managed/)
139 0 0 unless eval { do { local(@INC) = @INC; pop @INC if $INC[-1] eq '.'; require Win32API::File } }
141 0 0 if $INC[-1] eq '.'
148 0 0 if ($ouFsFlags & Win32API::File::FS_CASE_SENSITIVE()) { }