Condition Coverage

blib/lib/MarpaX/G4/Symboltable.pm
Criterion Covered Total %
condition 5 87 5.7


and 3 conditions

line !l l&&!r l&&r condition
45 85 0 0 $rulename eq "EOF" and not exists $self->{'symboltable'}{$rulename}
46 0 18 67 defined $rulename and exists $self->{'symboltable'}{$rulename}
87 23 0 0 $rulename eq "EOF" and not exists $self->{'symboltable'}{$rulename}
185 0 0 0 ref $e eq "HASH" and exists $e->{'token'}
210 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "rulegroup"
215 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "tokengroup"
220 0 0 0 ref $token eq "HASH" and exists $token->{'token'}
230 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "literal"
233 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "class"
236 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "regex"
239 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "range"
242 0 0 0 ref $token eq "HASH" and exists $token->{'type'}
0 0 0 ref $token eq "HASH" and exists $token->{'type'} and $token->{'type'} eq "value"
245 0 0 0 ref $token eq "HASH" and exists $token->{'comment'}
248 0 0 0 ref $token eq "HASH" and exists $token->{'action'}
401 0 0 0 exists $rule->{'grammarstate'} and $rule->{'grammarstate'} eq "lexer"
402 0 0 0 exists $rule->{'type'} and $rule->{'type'} eq "fragment"
444 0 0 0 exists $rule->{'grammarstate'} and $rule->{'grammarstate'} eq "lexer"
445 0 0 0 exists $rule->{'type'} and $rule->{'type'} eq "fragment"

or 3 conditions

line l !l&&r !l&&!r condition
18 0 1 0 ref $invocant || $invocant
291 0 0 0 ref $rule ne "HASH" or not exists $rule->{'rightsides'}
401 0 0 0 exists $rule->{'isLexeme'} or exists $rule->{'grammarstate'} and $rule->{'grammarstate'} eq "lexer"
444 0 0 0 exists $rule->{'isLexeme'} or exists $rule->{'grammarstate'} and $rule->{'grammarstate'} eq "lexer"