Condition Coverage

blib/lib/MarpaX/Languages/C/AST.pm
Criterion Covered Total %
condition 31 62 50.0


and 3 conditions

line !l l&&!r l&&r condition
288 2 16 0 exists $lexemeHashp->{'name'} and exists $self->{'_logInfo'}{$lexemeHashp->{'name'}} || exists $self->{'_logInfo'}{'__ALL__'}
300 18 0 0 $self->{'_lexemeCallback'} and exists $lexemeHashp->{'name'}
408 0 0 1 $lexemeHashp->{'name'} ne 'COMMA' and $lexemeHashp->{'name'} ne 'SEMICOLON'
0 0 1 $lexemeHashp->{'name'} ne 'COMMA' and $lexemeHashp->{'name'} ne 'SEMICOLON' and $lexemeHashp->{'name'} ne 'EQUAL'
447 1 11 1 $self->{'_scope'}->parseScopeLevel == 1 and $self->{'_scope'}->parseDelay
448 0 0 1 defined $self->{'_callbackEvents'}->topic_fired_data('reenterScope') and $self->{'_callbackEvents'}->topic_fired_data('reenterScope')->[0]
649 3 0 0 exists $terminals_expected{'TYPEDEF_NAME'} and $self->{'_scope'}->parseIsTypedef($lexemeHashp->{'value'})
1 2 0 exists $terminals_expected{'ENUMERATION_CONSTANT'} and $self->{'_scope'}->parseIsEnum($lexemeHashp->{'value'})

or 2 conditions

line l !l condition
27 0 1 $opts{'logInfo'} || []
34 0 1 $opts{'grammarName'} || 'ISO-ANSI-C-2011'
42 0 1 $opts{'lexemeCallback'} || ''
58 0 1 $opts{'typedef'} || []
63 0 1 $opts{'enum'} || []
68 0 1 $opts{'lazy'} || 0
215 0 1 $arrayOfValuesb ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
219 1 0 0 $self->{'_impl'}->value || logCroak('%s', $self->_show_last_expression)
288 0 0 16 exists $self->{'_logInfo'}{$lexemeHashp->{'name'}} || exists $self->{'_logInfo'}{'__ALL__'}
364 0 0 0 $directive eq 'line' or $directive =~ /^\d+$/
426 0 1 15 $lexemeHashp->{'name'} eq 'LCURLY_SCOPE' or $lexemeHashp->{'name'} eq 'LPAREN_SCOPE'
1 1 13 $lexemeHashp->{'name'} eq 'RCURLY_SCOPE' or $lexemeHashp->{'name'} eq 'RPAREN_SCOPE'
489 1 0 7 ${$self->{'_sourcep'};} =~ /\G$WS_RE*\(/ or ${$self->{'_sourcep'};} =~ /\G$WS_RE+\w+$WS_RE*\(/
632 0 0 16 $lexemeHashp->{'name'} eq 'TYPEDEF_NAME' or $lexemeHashp->{'name'} eq 'ENUMERATION_CONSTANT'
0 3 13 $lexemeHashp->{'name'} eq 'TYPEDEF_NAME' or $lexemeHashp->{'name'} eq 'ENUMERATION_CONSTANT' or $lexemeHashp->{'name'} eq 'IDENTIFIER'