Condition Coverage

lib/Archive/Tar/File.pm
Criterion Covered Total %
condition 20 28 71.4


and 2 conditions

line l !l condition
265 10 0 $type == 2 && 1

and 3 conditions

line !l l&&!r l&&r condition
227 20 72 0 $obj->is_file and $obj->name =~ m[/$]
320 8 0 11 $opt and ref $opt eq 'HASH'
349 46 34 29 @dirs and not length $dirs[-1]
352 69 0 11 $self->is_dir and not length $file
407 0 438 67 defined $self->prefix and length $self->prefix
444 6 5 42 defined $self->data && length $self->data

or 2 conditions

line l !l condition
486 7 2 shift @_ || ''

or 3 conditions

line l !l&&r !l&&!r condition
226 0 0 92 not length $obj->type or $obj->type =~ /\W/
256 1 0 9 $type == 5 or $type == 2