Condition Coverage

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


or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
14 1 7 1378 not length $parts->[$i] or $parts->[$i] eq "."
8 4 1374 not length $parts->[$i] or $parts->[$i] eq "." or $parts->[$i] eq "..."
856 481 37 $i < 1 or $parts->[$i] ne ".."
1337 19 18 $i < 1 or $parts->[$i] ne ".." or $$parts[$i - 1] eq ".."
107 4352 70 0 decode($charset, $path) // $path