| blib/lib/Path/Naive.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 30 | 86.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 22 | 4 | 2 | 51 | defined $_[0] and length $_[0] |
| 32 | 78 | 20 | 3 | $d eq '.' and @d || @d0 || $abs |
| 33 | 62 | 15 | 5 | $d eq '..' and @d > 1 && $d[-1] ne '..' || @d == 1 && $d[-1] ne '..' && $d[-1] ne '.' && @d0 || $abs |
| 47 | 2 | 1 | 12 | defined $_[0] and length $_[0] |
| 52 | 2 | 1 | 2 | defined $_[0] and length $_[0] |
| 61 | 0 | 0 | 49 | defined $_ and length $_ |
| 77 | 2 | 1 | 6 | defined $_[0] and length $_[0] |
| 78 | 0 | 0 | 6 | defined $_[1] and length $_[1] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 32 | 17 | 2 | 4 | @d || @d0 || $abs |
| 33 | 5 | 1 | 7 | @d > 1 && $d[-1] ne '..' || @d == 1 && $d[-1] ne '..' && $d[-1] ne '.' && @d0 || $abs |