Branch Coverage

blib/lib/PPI/Statement/Variable.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
68 0 5 if &_INSTANCE($schild[0], "PPI::Token::Label")
71 5 0 &_INSTANCE($schild[0], 'PPI::Token::Word') && $schild[0]->content =~ /^(my|local|our|state)$/ ? :
107 0 8 if &_INSTANCE($schild[0], "PPI::Token::Label")
110 5 3 if (&_INSTANCE($schild[1], "PPI::Token::Symbol"))
115 3 0 if (&_INSTANCE($schild[1], "PPI::Structure::List"))
117 0 3 unless $Expression and $Expression->isa("PPI::Statement::Expression")
121 0 1 if ($self->type eq "my" or $self->type eq "our" or $self->type eq "state")
154 1 3 unless my $n = $el->snext_sibling
156 1 2 if (not $p or $p eq ",")
158 0 1 if $n eq ","
161 1 0 if $n eq "="