Condition Coverage

blib/lib/Locale/XGettext/TT2.pm
Criterion Covered Total %
condition 36 57 63.1


and 3 conditions

line !l l&&!r l&&r condition
157 28 0 9 "USE" eq $tokens->[0] and "IDENT" eq $tokens->[2]
158 9 0 0 $plug_in eq $tokens->[3] and 4 == @$tokens || '(' eq $tokens->[4]
0 0 9 "ASSIGN" eq $tokens->[4] and "IDENT" eq $tokens->[6]
0 0 9 "ASSIGN" eq $tokens->[4] and "IDENT" eq $tokens->[6] and $plug_in eq $tokens->[7]
179 4 175 53 $lplug_in and "IDENT" eq $tokens->[$i]
179 40 13 $lplug_in and "IDENT" eq $tokens->[$i] and $ident eq $$tokens[$i + 1]
215 0 13 $lplug_in and "IDENT" eq $tokens->[$i] and $ident eq $$tokens[$i + 1] and "DOT" eq $$tokens[$i + 2]
40 0 13 $lplug_in and "IDENT" eq $tokens->[$i] and $ident eq $$tokens[$i + 1] and "DOT" eq $$tokens[$i + 2] and "IDENT" eq $$tokens[$i + 4]
0 0 13 $lplug_in and "IDENT" eq $tokens->[$i] and $ident eq $$tokens[$i + 1] and "DOT" eq $$tokens[$i + 2] and "IDENT" eq $$tokens[$i + 4] and exists $$keywords{$$tokens[$i + 5]}
205 0 14 "FILTER" eq $tokens->[$i] and "IDENT" eq $$tokens[$i + 2]
205 2 12 "FILTER" eq $tokens->[$i] and "IDENT" eq $$tokens[$i + 2] and exists $$keywords{$$tokens[$i + 3]}
203 3 1 not $lplug_in and "IDENT" eq $tokens->[$i]
206 0 1 not $lplug_in and "IDENT" eq $tokens->[$i] and exists $$keywords{$$tokens[$i + 1]}
263 0 1 7 "TEXT" eq $tokens[2] and "\"" eq $tokens[4]
1 0 7 "TEXT" eq $tokens[2] and "\"" eq $tokens[4] and 'COMMA' eq $tokens[6] || ')' eq $tokens[6]
312 26 0 9 "ASSIGN" eq $next and "=>" eq $tokens[0]

or 3 conditions

line l !l&&r !l&&!r condition
158 0 0 0 4 == @$tokens || '(' eq $tokens->[4]
200 2 2 3 "FILTER" eq $$tokens[4 + $i] or "DOT" eq $$tokens[4 + $i]
263 0 7 0 'COMMA' eq $tokens[6] || ')' eq $tokens[6]