blib/lib/App/dategrep/Iterator/Uncompress.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
14 | 2 | 2 | if ($self->filename =~ /\.(bz|bz2)$/) { } |
2 | 0 | elsif ($self->filename =~ /\.(gz|z)$/) { } | |
15 | 1 | 1 | if ($^O eq 'MSWin32' or not can_run('bzcat')) { } |
22 | 0 | 1 | unless open $fh, '-|', @uncompress, $self->filename |
27 | 1 | 1 | if ($^O eq 'MSWin32' or not can_run('gzip')) { } |
33 | 0 | 1 | unless open $fh, '-|', @uncompress, $self->filename |