Branch Coverage

blib/lib/Locale/Maketext/Extract/Plugin/PPI.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
30 95 41 unless @children and $child->isa('PPI::Token::Word') && $subnames{$child->content} || $child->isa('PPI::Token::Magic') && $child->content eq '_'
37 0 45 unless $list->isa('PPI::Structure::List') and $list->schildren
57 0 49 unless $string_el->isa('PPI::Token::Quote') or $string_el->isa('PPI::Token::HereDoc')
61 15 34 if ($string_el->isa('PPI::Token::HereDoc')) { }
63 13 2 $$string_el{'_mode'} eq 'interpolate' ? :
70 19 11 $string_el->isa('PPI::Token::Quote::Double') || $string_el->isa('PPI::Token::Quote::Interpolate') ? :
4 30 $string_el->isa('PPI::Token::Quote::Literal') ? :
78 32 17 if ($mode eq 'double') { }
11 6 elsif ($mode eq 'single') { }
80 0 32 unless not $string =~ /(?
96 9 4 unless $next_op and $next_op->isa('PPI::Token::Operator') and $next_op->content eq '.'
100 2 43 unless $final_string