Condition Coverage

blib/lib/Test/Virtual/Filesystem.pm
Criterion Covered Total %
condition 8 37 21.6


and 3 conditions

line !l l&&!r l&&r condition
305 0 0 0 $_[0]{'fs_opts'}{$field} && $_[0]{'fs_opts'}{$field}{$subfield}
324 0 0 0 $self->_enable_test_all($$hash{$key}, @arg) && $all_set
329 0 0 0 $all_set &&= $$hash{$key}
374 0 0 48 defined $tmpdir and -e $tmpdir
380 0 48 0 defined $tmpdir and -d $tmpdir
1378 0 0 14 $eval_error and $num_errno
0 0 14 $eval_error and $num_errno and any sub { $_ == $num_errno; } , @{$expected_errnos;}

or 2 conditions

line l !l condition
273 3 0 $opts ||= {}
306 0 0 $_[0]{'fs_opts'}{$field} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
393 8 0 42 -l $path or -e $path
1020 0 0 0 @attrs == 0 || defined $attrs[0]
1059 0 0 0 !defined($get) || '' eq $get
1338 0 0 1 $Test::Virtual::Filesystem::OSNAME eq 'MSWin32' or $Test::Virtual::Filesystem::OSNAME eq 'cygwin'