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
156 28 0 9 'USE' eq $tokens->[0] and 'IDENT' eq $tokens->[2]
157 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]
178 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]}
262 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]
311 26 0 9 'ASSIGN' eq $next and '=>' eq $tokens[0]

or 3 conditions

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