lib/Path/Extended/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 48 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
115 | 1 | 48 | 1 | $mode and $mode =~ /:/ |
261 | 9 | 3 | 3 | $filter and not $line =~ /$filter/ |
287 | 27 | 0 | 0 | $$opts{'lock'} and not $self->lock_ex |
373 | 1 | 0 | 15 | $self->exists and -d $self->_path |
397 | 0 | 69 | 0 | not $opts{'all'} and $path eq '.' || $path eq '..' |
441 | 3 | 1 | 1 | $opts{'depthfirst'} && $opts{'preorder'} |
461 | 0 | 0 | 0 | -d $self && (-e $other || -l $other) && $self->subsumes($other) |
464 | 37 | 0 | 4 | @_ == 1 && ref $_[0] eq ref {} |
line | l | !l | condition |
---|---|---|---|
116 | 48 | 1 | $mode || 'r' |
144 | 1 | 0 | shift() || 0 |
220 | 0 | 12 | $$opts{'iomode'} || 'r' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
55 | 46 | 5 | 127 | $_[0][1] || $_[0][2] |
252 | 4 | 0 | 8 | @callbacks or $filter |
2 | 0 | 6 | @callbacks or $filter or wantarray | |
282 | 0 | 0 | 27 | $$opts{'mode'} || $$opts{'append'} |
397 | 18 | 18 | 33 | $path eq '.' || $path eq '..' |
399 | 25 | 0 | 8 | $opts{'prune'} or $opts{'no_hidden'} |