Condition Coverage

blib/lib/Locale/TextDomain/OO/Extract/Xslate.pm
Criterion Covered Total %
condition 46 108 42.5


and 3 conditions

line !l l&&!r l&&r condition
103 2069 391 133 $ast and ref $ast eq 'Text::Xslate::Symbol'
104 2069 0 524 $ast and ref $ast eq 'ARRAY'
119 846 0 23 $sym->arity eq 'methodcall' and $sym->value eq '.'
800 0 46 $sym->arity eq 'call' and defined $sym->value
800 46 0 $sym->arity eq 'call' and defined $sym->value and $sym->value eq '(' || $sym->value eq '(call)'
121 0 0 23 $second and ref $second eq 'Text::Xslate::Symbol'
122 0 6 17 $second->arity eq 'literal' and $second->value =~ /$l10n_fns/
127 0 0 17 $third and ref $third eq 'ARRAY'
0 0 17 $third and ref $third eq 'ARRAY' and $third->[0]
0 0 17 $third and ref $third eq 'ARRAY' and $third->[0] and ref $third->[0] eq 'Text::Xslate::Symbol'
0 3 14 $third and ref $third eq 'ARRAY' and $third->[0] and ref $third->[0] eq 'Text::Xslate::Symbol' and not $third->[0]->arity =~ /^(?: variable | methodcall | field )$/x
160 0 0 46 $first and ref $first eq 'Text::Xslate::Symbol'
161 0 3 43 $first->arity eq 'name' and $first->value =~ /$l10n_fns/
166 0 0 43 $second and ref $second eq 'ARRAY'
0 0 43 $second and ref $second eq 'ARRAY' and $second->[0]
0 0 43 $second and ref $second eq 'ARRAY' and $second->[0] and ref $second->[0] eq 'Text::Xslate::Symbol'
0 6 37 $second and ref $second eq 'ARRAY' and $second->[0] and ref $second->[0] eq 'Text::Xslate::Symbol' and not $second->[0]->arity =~ /^(?: variable | methodcall | field )$/x
232 0 0 10 defined $p[0] and $p[0]->arity eq 'literal'
242 0 0 8 defined $p[0] and $p[0]->arity eq 'literal'
0 0 8 defined $p[0] and $p[0]->arity eq 'literal' and defined $p[1]
0 0 8 defined $p[0] and $p[0]->arity eq 'literal' and defined $p[1] and $p[1]->arity eq 'literal'
0 0 8 defined $p[0] and $p[0]->arity eq 'literal' and defined $p[1] and $p[1]->arity eq 'literal' and defined $p[2]
256 0 0 43 defined $p[0] and $p[0]->arity eq 'literal'

or 2 conditions

line l !l condition
70 51 0 $cat // ''
51 0 $dom // ''
10 41 $msg->{'MSGCTXT'} // ''
51 0 $msg->{'MSGID'} // ''
8 43 $msg->{'MSGID_PLURAL'} // ''
125 8 9 $1 || ''
164 12 31 $1 || ''
196 0 0 $sym->id // 'undef()'
197 0 0 $sym->line // 'undef()'
198 0 0 $sym->lbp // 'undef()'
199 0 0 $sym->ubp // 'undef()'
200 0 0 $sym->type // 'undef()'
201 0 0 $sym->arity // 'undef()'
202 0 0 $sym->assignment // 'undef()'
203 0 0 $sym->value // 'undef()'
205 0 0 $sym->first // 'undef()'
210 0 0 $sym->second // 'undef()'
215 0 0 $sym->third // 'undef()'

or 3 conditions

line l !l&&r !l&&!r condition
119 27 19 0 $sym->value eq '(' || $sym->value eq '(call)'