Condition Coverage

blib/lib/Mojo/Path.pm
Criterion Covered Total %
condition 16 17 94.1


or 2 conditions

line l !l condition
105 3384 811 delete $self->{'path'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
14 1 7 1359 not length $parts->[$i] or $parts->[$i] eq "."
8 4 1355 not length $parts->[$i] or $parts->[$i] eq "." or $parts->[$i] eq "..."
844 474 37 $i < 1 or $parts->[$i] ne ".."
1318 19 18 $i < 1 or $parts->[$i] ne ".." or $$parts[$i - 1] eq ".."
107 4125 68 0 decode($charset, $path) // $path