Condition Coverage

blib/lib/Parse/Path/Role/Path.pm
Criterion Covered Total %
condition 17 53 32.0


and 3 conditions

line !l l&&!r l&&r condition
58 0 0 14 &blessed($thing) and $thing->does('Parse::Path::Role::Path')
62 4 4 45 $i <= $#{$self->_path;} and $i <= $#{$thing->_path;}
64 45 0 0 $$stepA{'type'} eq 'ARRAY' && $$stepB{'type'} eq 'ARRAY'
175 28 2 24 $self->auto_cleanup and @$path_array
223 0 0 0 $self->auto_cleanup and @$step_hashs
231 2 0 0 $self->auto_cleanup and @$step_hashs
243 0 0 0 $self->auto_cleanup and defined $length
0 0 0 $self->auto_cleanup and defined $length and @$step_hashs
390 3 0 0 &blessed($thing) and $thing->does('Parse::Path::Role::Path')
401 0 0 0 $thing->isa($self) and $thing->auto_normalize || !$self->auto_normalize
432 0 0 0 exists $$thing{'key'} and exists $$thing{'type'}
485 3 87 0 $type eq 'HASH' and !($step =~ /^$hash_re$/u) || $type eq 'ARRAY'
87 0 0 $type eq 'HASH' and !($step =~ /^$hash_re$/u) || $type eq 'ARRAY' and not $step =~ /^$array_re$/u
589 143 57 0 not $next_step and exists $$dlp{'-1L'}

or 2 conditions

line l !l condition
489 0 0 $pos // '???'

or 3 conditions

line l !l&&r !l&&!r condition
401 0 0 0 $thing->auto_normalize || !$self->auto_normalize
485 0 0 87 !($step =~ /^$hash_re$/u) || $type eq 'ARRAY'
493 90 0 0 $pos // $self->_find_pos($step)