Condition Coverage

lib/Perl/PrereqScanner/NotQuiteLite/Parser/Core.pm
Criterion Covered Total %
condition 34 50 68.0


and 3 conditions

line !l l&&!r l&&r condition
48 5 0 4 ref $module and $module->[1] eq 'WORD' || $module->[1] eq 'KEYWORD'
72 23 26 2 ref $module and ($module->[1] || '') eq "WORD"
75 0 0 2 @$tokens and ref $tokens->[0]
0 1 1 @$tokens and ref $tokens->[0] and ($tokens->[0][1] || '') eq "()"
78 24 23 3 ref $module and ref $module->[0]
100 21 24 2 ref $module and ($module->[1] || '') eq "WORD"
103 0 0 2 @$tokens and ref $tokens->[0]
0 1 1 @$tokens and ref $tokens->[0] and ($tokens->[0][1] || '') eq "()"
106 22 21 3 ref $module and ref $module->[0]
157 0 0 32 ref $token and $token->[1]
0 1 31 ref $token and $token->[1] and $token->[1] eq "WORD"
166 0 0 32 ref $token and $token->[1]
0 26 6 ref $token and $token->[1] and $token->[1] =~ /^\{/

or 2 conditions

line l !l condition
72 26 2 $module->[1] || ''
75 2 0 $tokens->[0][1] || ''
100 24 2 $module->[1] || ''
103 2 0 $tokens->[0][1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
48 2 2 0 $module->[1] eq 'WORD' || $module->[1] eq 'KEYWORD'