Condition Coverage

blib/lib/Locale/TextDomain/OO/Extract/Xslate.pm
Criterion Covered Total %
condition 37 96 38.5


and 3 conditions

line !l l&&!r l&&r condition
80 1096 174 90 $ast and ref $ast eq 'Text::Xslate::Symbol'
81 1096 0 264 $ast and ref $ast eq 'ARRAY'
85 432 0 20 $sym->arity eq 'methodcall' and $sym->value eq '.'
418 0 14 $sym->arity eq 'call' and $sym->value eq '('
87 0 0 20 $second and ref $second eq 'Text::Xslate::Symbol'
88 0 6 14 $second->arity eq 'literal' and $second->value =~ /\AN?(?:loc|_)_(x|n|nx|p|px|np|npx)?\Z/
93 0 0 14 $third and ref $third eq 'ARRAY'
0 14 0 $third and ref $third eq 'ARRAY' and $third->[0]
0 0 14 $third and ref $third eq 'ARRAY' and $third->[0] and ref $third->[0] eq 'Text::Xslate::Symbol'
114 0 0 14 $first and ref $first eq 'Text::Xslate::Symbol'
115 0 0 14 $first->arity eq 'name' and $first->value =~ /\AN?(?:loc|_)_(x|n|nx|p|px|np|npx)?\Z/
119 0 0 14 $second and ref $second eq 'ARRAY'
0 14 0 $second and ref $second eq 'ARRAY' and $second->[0]
0 0 14 $second and ref $second eq 'ARRAY' and $second->[0] and ref $second->[0] eq 'Text::Xslate::Symbol'
180 0 0 8 defined $p[0] and $p[0]->arity eq 'literal'
190 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]
202 0 0 20 defined $p[0] and $p[0]->arity eq 'literal'

or 2 conditions

line l !l condition
53 28 0 $cat // ''
28 0 $dom // ''
8 20 $msg->{'MSGCTXT'} // ''
28 0 $msg->{'MSGID'} // ''
8 20 $msg->{'MSGID_PLURAL'} // ''
91 8 6 $1 || ''
117 8 6 $1 || ''
145 0 0 $sym->id // 'undef()'
146 0 0 $sym->line // 'undef()'
147 0 0 $sym->lbp // 'undef()'
148 0 0 $sym->ubp // 'undef()'
149 0 0 $sym->type // 'undef()'
150 0 0 $sym->arity // 'undef()'
151 0 0 $sym->assignment // 'undef()'
152 0 0 $sym->value // 'undef()'
154 0 0 $sym->first // 'undef()'
159 0 0 $sym->second // 'undef()'
164 0 0 $sym->third // 'undef()'