lib/PPIx/Element/Sub.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 9 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 2 | 16 | 76 | $element->can('parent') and defined(my $parent = $element->parent) |
35 | 2 | 14 | 65 | $element->can('parent') and defined(my $parent = $element->parent) |
59 | 44 | 2 | 2 | $sibling->can('find_first') and my $result = $sibling->find_first('PPI::Statement::Sub') |