Condition Coverage

blib/lib/File/Spec/Link.pm
Criterion Covered Total %
condition 5 18 27.7


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 0 $_[0] =~ /^opendir\b/ and $_[0] =~ /\bNot\s+a\s+directory\b/
0 0 0 $_[0] =~ /^opendir\b/ and $_[0] =~ /\bNot\s+a\s+directory\b/ and $Cwd::VERSION < "2.18"
0 0 0 $_[0] =~ /^opendir\b/ and $_[0] =~ /\bNot\s+a\s+directory\b/ and $Cwd::VERSION < "2.18" and not -d $file
132 0 0 1 length $dirs[-1] and $dirs[-1] ne $self->curdir
167 30 4 1 @$dirs == 1 and not length $dirs->[0]

or 3 conditions

line l !l&&r !l&&!r condition
132 0 0 1 not @dirs or $dirs[-1] eq $self->updir