Branch Coverage

blib/lib/PPI/Statement/Sub.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
79 4 53 defined $self->type ? :
80 41 16 if defined $token and $token->isa("PPI::Token::Word")
86 16 0 if defined $token and $token->isa("PPI::Token::Word")
110 4 2 defined $Prototype ? :
128 0 71 unless my $lastchild = $self->schild(-1)
129 37 34 if $lastchild->isa("PPI::Structure::Block")
166 0 68 unless my $name = $self->name
192 0 62 if &_INSTANCE($schild[0], "PPI::Token::Label")
195 8 54 &_INSTANCE($schild[0], 'PPI::Token::Word') && $schild[0]->content =~ /^(my|our|state)$/ ? :