Branch Coverage

blib/lib/Localizer/Scanner/Xslate.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
18 0 1 @_ == 1 ? :
34 0 1 if $@
50 0 1 unless open my $fh, '<:encoding(utf-8)', $filename
59 18 223 if $ast and ref $ast eq 'Text::Xslate::Symbol'
60 186 55 unless $ast and ref $ast eq 'ARRAY'
64 11 69 if ($sym->arity eq 'call' and $sym->value eq '(')
66 11 0 if ($first and ref $first eq 'Text::Xslate::Symbol')
67 11 0 if ($first->arity eq 'variable' and $first->value eq 'l')
69 11 0 if ($second and ref $second eq 'ARRAY' and $$second[0] and ref $$second[0] eq 'Text::Xslate::Symbol')
71 10 1 if ($value->arity eq 'literal')