| blib/lib/LibZip.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 39 | 30.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 169 | 0 | 0 | 1 | $size > 0 and -s $filename != $size |
| 200 | 17 | 0 | 18 | $dir ne '' and not $dir =~ m[/$] |
| 236 | 3 | 0 | 0 | $path =~ m[^\Q$pack\E[^/]+$] and not $path =~ /\.pm$/i |
| 241 | 0 | 0 | 0 | $size > 0 and -s $extract != $size |
| 249 | 0 | 0 | 1 | $pack =~ m[^(?:lib|site/lib)/([^/]+.*)$] and not $_[1] |
| 276 | 0 | 0 | 0 | $size > 0 and -s $extract != $size |
| 308 | 4 | 4 | 3 | $filename ne '.' and $filename ne '..' |
| 316 | 2 | 0 | 0 | $pid != $_[0] and not kill(0, $pid) |
| 344 | 0 | 4 | 0 | -d $file and not kill(0, $pid) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 218 | 0 | 0 | 1 | $LIBTREE{$pack} or $LIBTREE{$_[0]} |
| 223 | 0 | 0 | 0 | $LIBTREE{$path0} or $LIBTREE{$path1} |
| 295 | 0 | 0 | 0 | $LIBTREE{'DynaLoader.pm'} or $LIBTREE{'lib/DynaLoader.pm'} |
| 311 | 1 | 0 | 0 | not $LIBTMPFIX or $filename ne 'auto' |