Branch Coverage

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


line true false branch
93 0 1 unless $self->document->find('PPI::Token::Word')
95 0 8 if $word->sprevious_sibling eq 'sub'
96 1 7 if $word->sprevious_sibling eq 'constant' and $word->sprevious_sibling->sprevious_sibling eq 'use'
130 0 1 unless $self->document->find('PPI::Token::Word')
132 4 4 if is_perl_builtin($word)
137 2 0 $word eq lc $word ? :
2 2 $word eq uc $word ? :
139 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 4 elsif (is_function_call($word) and $$ls{$word}) { }
163 83 7 unless $_[1]->isa('PPI::Token::Symbol')
166 0 1 unless $self->document->find($VariableFinder)
168 0 7 if $word->isa('PPI::Token::Magic')
173 7 0 $word eq lc $word ? :
0 7 $word eq uc $word ? :
179 7 0 if ($word->isa('PPI::Token::Symbol')) { }
0 0 elsif ($word->isa('PPI::Token::ArrayIndex')) { }
191 0 1 unless $self->document->find('PPI::Token::Quote')
196 0 1 if ($$ls{$qq->string}) { }
1 0 elsif ($qq->isa('PPI::Token::Quote::Double') or $qq->isa('PPI::Token::Quote::Interpolate')) { }
210 0 0 $$n{$1} ? :