| blib/lib/Alien/Build/Plugin/Extract/ArchiveTar.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 0 | 0 | if $ext =~ /^(tar|tar.gz|tar.bz2|tbz|taz)$/ |
| 32 | 8 | 8 | if ($ext eq 'tar.gz') { } |
| 3 | 5 | elsif ($ext eq 'tar.bz2') { } | |
| 38 | 2 | 1 | if "Archive::Tar"->has_bzip2_support |
| 51 | 5 | 9 | if ($self->format eq 'tar.gz' or $self->format eq 'tgz') { } |
| 0 | 9 | elsif ($self->format eq 'tar.bz2' or $self->format eq 'tbz') { } | |
| 85 | 0 | 3 | unless $content and $content eq "xx\n" |