Branch Coverage

blib/lib/PPI/Structure.pm
Criterion Covered Total %
branch 5 32 15.6


line true false branch
122 22425 0 PPI::Token::__LEXER__opens($_[0]) ? :
196 895 0 $_[0]{'start'} ? :
233 0 0 if (wantarray) { }
241 0 0 $self->{'start'} ? :
0 0 $self->{'finish'} ? :
249 0 0 unless $_[0]{'start'} or $_[0]{'children'}[0]
256 0 0 unless $_[0]{'finish'} or $_[0]{'children'}[-1]
262 0 5090 unless my $first = $self->first_element
289 50522 0 $self->{'start'} ? :
293 50522 0 if $self->{'finish'}
305 0 0 unless my $Element = &_INSTANCE(shift(), "PPI::Element")
306 0 0 if ($Element->isa('PPI::Structure')) { }
0 0 elsif ($Element->isa('PPI::Token')) { }
317 0 0 unless my $Element = &_INSTANCE(shift(), "PPI::Element")
318 0 0 if ($Element->isa('PPI::Structure')) { }
0 0 elsif ($Element->isa('PPI::Token')) { }