| blib/lib/Path/Class/Dir.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 37 | 67.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 29 | 105 | 392 | 1 | @_ == 1 and not defined $_[0] |
| 33 | 237 | 223 | 29 | !ref($_[0]) && $_[0] eq '' |
| 39 | 260 | 0 | 237 | &Scalar::Util::blessed($first) and $first->isa('Path::Class::Dir') |
| 50 | 127 | 0 | 0 | &Scalar::Util::blessed($_) && $_->isa('Path::Class::Dir') |
| 218 | 4 | 2 | 0 | $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 =~ /^\./ |
| 315 | 0 | 12 | 0 | -d $self and -e $other || -l $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 |
| 289 | 1 | 0 | 25 | $self->volume or $other->volume |
| 315 | 10 | 0 | 2 | -e $other || -l $other |