Branch Coverage

blib/lib/Acme/PPIx/MetaSyntactic.pm
Criterion Covered Total %
branch 25 42 59.5


line true false branch
89 0 1 unless $self->document->find('PPI::Token::Word')
91 0 8 if $word->sprevious_sibling eq 'sub'
92 1 7 if $word->sprevious_sibling eq 'constant' and $word->sprevious_sibling->sprevious_sibling eq 'use'
126 0 1 unless $self->document->find('PPI::Token::Word')
128 4 4 if is_perl_builtin($word)
133 2 0 $word eq lc $word ? :
2 2 $word eq uc $word ? :
135 0 4 if ($word->sprevious_sibling eq 'sub' and $ls->{$word}) { }
1 3 elsif ($word->sprevious_sibling eq 'constant' and $word->sprevious_sibling->sprevious_sibling eq 'use' and $ls->{$word}) { }
1 2 elsif (is_function_call($word) and $ls->{$word}) { }
159 83 7 unless $_[1]->isa('PPI::Token::Symbol')
162 0 1 unless $self->document->find($VariableFinder)
164 0 7 if $word->isa('PPI::Token::Magic')
169 7 0 $word eq lc $word ? :
0 7 $word eq uc $word ? :
175 7 0 if ($word->isa('PPI::Token::Symbol')) { }
0 0 elsif ($word->isa('PPI::Token::ArrayIndex')) { }
187 0 1 unless $self->document->find('PPI::Token::Quote')
192 0 1 if ($$ls{$qq->string}) { }
1 0 elsif ($qq->isa('PPI::Token::Quote::Double') or $qq->isa('PPI::Token::Quote::Interpolate')) { }
206 0 0 $n->{$1} ? :