Branch Coverage

blib/lib/PPI/Token/Structure.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
112 7 1 if $_[0]{'content'} eq ";"
117 1 1 if $_[0]{'content'} eq ";"
122 4 1 if $_[0]{'content'} eq ";"
127 1 1 if $_[0]{'content'} eq ";"
133 3 14 if $self->{'content'} eq ";"
134 0 14 unless my $structure = $self->parent
138 7 7 if ($OPENS{ord $self->{'content'}})
140 5 2 if ($child) { }
1 1 elsif ($structure->finish) { }
142 2 3 $child->isa('PPI::Token') ? :
161 3 13 if $self->{'content'} eq ";"
162 0 13 unless my $structure = $self->parent
166 7 6 if ($CLOSES{ord $self->{'content'}})
168 6 1 if ($child) { }
1 0 elsif ($structure->start) { }
170 3 3 $child->isa('PPI::Token') ? :