Condition Coverage

blib/lib/Archive/Tar/Wrapper.pm
Criterion Covered Total %
condition 25 41 60.9


and 3 conditions

line !l l&&!r l&&r condition
242 19 0 0 $self->_is_openbsd and $self->{'tar_read_options'}
380 13 0 0 $logger->is_warn and $err
459 23 0 1 $self->{'tar'} =~ /$bsd_regex/i and $self->{'tar_exit_code'} == 1
548 11 0 1 ord substr($two, 0, 1) == 31 and ord substr($two, 1, 1) == 139
611 0 0 2 ref $opts and ref $opts eq 'HASH'
836 18 2 15 $type eq 'd' and not $self->{'dirs'}
938 13 0 20 length $_ <= 2 and $_ eq '.' || $_ eq '..'

or 2 conditions

line l !l condition
224 1 19 delete $options{'tar'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
224 1 19 0 delete $options{'osname'} || $Archive::Tar::Wrapper::Config{'osname'}
250 19 0 0 which('tar') || which('gtar')
667 0 0 16 defined $uid or defined $gid
0 1 15 defined $uid or defined $gid or defined $perm
1 2 13 defined $uid or defined $gid or defined $perm or ref $path_or_stringref
938 10 10 0 $_ eq '.' || $_ eq '..'