| blib/lib/Path/Tiny/Archive/Zip.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 14 | 57.1 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 1 | 1 | if ($self->is_file) { } |
| 1 | 0 | elsif ($self->is_dir) { } | |
| 35 | 0 | 2 | unless ($zip->writeToFileNamed($dest->realpath->stringify) == 0) |
| 48 | 0 | 2 | unless ($zip->read($self->realpath->stringify) == 0) |
| 53 | 0 | 2 | if ($dest->is_file) |
| 56 | 0 | 2 | unless ($dest->is_dir) |
| 60 | 0 | 2 | unless ($zip->extractTree(undef, $dest->realpath->stringify) == 0) |