Condition Coverage

lib/Archive/Tar.pm
Criterion Covered Total %
condition 56 92 60.9


and 2 conditions

line l !l condition
607 0 71 $CHOWN and 0

and 3 conditions

line !l l&&!r l&&r condition
302 0 20 72 length $entry->type and $entry->is_file || $entry->is_longlink
304 0 72 0 $entry->is_file and not $entry->validate
372 66 0 6 $extract and not $entry->is_longlink
66 0 6 $extract and not $entry->is_longlink and not $entry->is_unknown
66 0 6 $extract and not $entry->is_longlink and not $entry->is_unknown and not $entry->is_label
557 3 72 0 -e $dir and not -d _
580 0 0 71 length $entry->type and $entry->is_file
614 0 0 71 $CHMOD and not -l $full
729 0 0 0 @$aref == 1 and $$aref[0] eq 'name'
992 49 0 0 $clone->is_symlink && $FOLLOW_SYMLINK
993 0 9 40 !$clone->is_symlink && $clone->has_content

or 2 conditions

line l !l condition
173 3 20 shift @_ || 0
174 7 16 shift @_ || {}
198 9 26 shift @_ || 0
234 22 0 shift @_ || {}
236 1 21 $$opts{'limit'} || 0
237 6 16 $$opts{'extract'} || 0
253 0 182 eval {
723 0 13 shift @_ || []
907 6 10 shift @_ || 0
961 6 37 length $clone->name > 100 || length $clone->prefix > 155 || 0
1046 0 49 shift @_ || 0
1084 34 15 $entry->version || '00'
1351 3 3 shift @_ || 0
1386 0 2 shift @_ || 0
1411 3 3 shift @_ || 0

or 3 conditions

line l !l&&r !l&&!r condition
199 35 0 0 shift @_ || sub {
204 9 19 7 $gzip or sub {
302 72 0 20 $entry->is_file || $entry->is_longlink
385 0 0 1 $entry->is_longlink or $entry->is_dir
629 0 0 0 $entry->is_blockdev or $entry->is_chardev
729 13 0 0 @$aref == 0 or @$aref == 1 and $$aref[0] eq 'name'
915 13 0 0 $self->_get_handle($file, $gzip, sub {
961 3 3 37 length $clone->name > 100 || length $clone->prefix > 155
1013 0 40 9 $link_ok or $data_ok