Condition Coverage

blib/lib/Text/Spintax/grammar.pm
Criterion Covered Total %
condition 1 12 8.3


and 3 conditions

line !l l&&!r l&&r condition
70 0 1 0 exists $self->{'VERSION'} and $self->{'VERSION'} < $Text::Spintax::Parse::Yapp::Driver::COMPATIBLE
154 0 0 0 $index < 0 and -$index <= @{$self->{'STACK'};}
451 0 0 0 @$stack and !(exists $$states[$stack->[-1][0]]{'ACTIONS'} && exists $$states[$stack->[-1][0]]{'ACTIONS'}{'error'}) || $$states[$stack->[-1][0]]{'ACTIONS'}{'error'} <= 0

or 3 conditions

line l !l&&r !l&&!r condition
451 0 0 0 !(exists $$states[$stack->[-1][0]]{'ACTIONS'} && exists $$states[$stack->[-1][0]]{'ACTIONS'}{'error'}) || $$states[$stack->[-1][0]]{'ACTIONS'}{'error'} <= 0