| blib/lib/Path/Class/Dir.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 28 | 71.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 91 | 284 | 1 | @_ == 1 and not defined $_[0] |
| 39 | 160 | 0 | 215 | &Scalar::Util::blessed($first) and $first->isa('Path::Class::Dir') |
| 50 | 107 | 0 | 0 | &Scalar::Util::blessed($_) && $_->isa('Path::Class::Dir') |
| 218 | 4 | 1 | 1 | $opts{'depthfirst'} && $opts{'preorder'} |
| 238 | 0 | 80 | 102 | not $opts{'all'} and $self->_is_local_dot_dir($entry) |
| 239 | 80 | 0 | 0 | $opts{'no_hidden'} and $entry =~ /^\./ |
| 307 | 1 | 0 | 1 | -d $self && (-e $other || -l $other) && $self->subsumes($other) |
| line | l | !l | condition |
|---|---|---|---|
| 202 | 5 | 0 | $ret || '' |
| 210 | 12 | 6 | $ret || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 250 | 51 | 51 | 80 | $dir eq $Updir || $dir eq $Curdir |