Condition Coverage

blib/lib/PPI/Element.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
313 18 0 54 $position and $$elements[$position - 1]
336 21 0 1496 $position-- and defined(my $it = $elements->[$position])
428 13 0 5 $cursor->isa("PPI::Structure") and $cursor->finish
464 11 0 5 $cursor->isa("PPI::Structure") and $cursor->start

or 3 conditions

line l !l&&r !l&&!r condition
811 5 0 0 ref $_[0] || $_[0]