Branch Coverage

blib/lib/PPI/Structure.pm
Criterion Covered Total %
branch 6 32 18.7


line true false branch
121 22125 0 PPI::Token::__LEXER__opens($_[0]) ? :
195 839 0 $_[0]{'start'} ? :
232 0 0 if (wantarray) { }
240 0 0 $self->{'start'} ? :
0 0 $self->{'finish'} ? :
248 0 0 unless $_[0]{'start'} or $_[0]{'children'}[0]
255 0 0 unless $_[0]{'finish'} or $_[0]{'children'}[-1]
261 0 4938 unless my $first = $self->first_element
288 48523 0 $self->{'start'} ? :
292 48521 2 if $self->{'finish'}
304 0 0 unless my $Element = &_INSTANCE(shift(), "PPI::Element")
305 0 0 if ($Element->isa('PPI::Structure')) { }
0 0 elsif ($Element->isa('PPI::Token')) { }
316 0 0 unless my $Element = &_INSTANCE(shift(), "PPI::Element")
317 0 0 if ($Element->isa('PPI::Structure')) { }
0 0 elsif ($Element->isa('PPI::Token')) { }