| blib/lib/EBook/Ishmael/Unzip.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 12 | 41.6 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 31 | 0 | if (not -l 'File::Spec'->tmpdir) { } |
| 0 | 0 | elsif (not -l cwd() and -w cwd()) { } | |
| 0 | 0 | elsif (exists $ENV{'HOME'} and -d $ENV{'HOME'} and not -l $ENV{'HOME'} and -w $ENV{'HOME'}) { } | |
| 47 | 0 | 31 | unless ($obj->read($zip) == 0) |
| 52 | 20 | 423 | $m->isDirectory ? : |
| 55 | 0 | 31 | unless ($obj->extractTree("", $out) == 0) |