Condition Coverage

blib/lib/Parse/Eyapp/Driver.pm
Criterion Covered Total %
condition 16 103 15.5


and 3 conditions

line !l l&&!r l&&r condition
72 0 133 0 exists $$self{'VERSION'} and $$self{'VERSION'} < $COMPATIBLE
109 0 0 0 $$self{'LEX'} and reftype($$self{'LEX'}) eq 'CODE'
179 0 0 0 $index < 0 and -$index <= @{$$self{'STACK'};}
385 0 0 0 $t ne $spec and $t ne ''
529 0 0 0 exists $$self{'STATES'}[$conflictstate]{'ACTIONS'} and $$self{'STATES'}[$conflictstate]{'ACTIONS'}{$_} >= 0
573 0 0 0 exists $$self{'STATES'}[$conflictstate]{'ACTIONS'} and $$self{'STATES'}[$conflictstate]{'ACTIONS'}{$_} >= 0
656 0 0 0 reftype $state and reftype $state eq 'ARRAY'
679 0 0 0 $newaction and reftype $newaction eq 'CODE'
691 0 0 0 $newaction{$n} and reftype($newaction{$n}) eq 'CODE'
949 481 10 8 $bypass and @children == 1
959 0 6 2 $childisterminal and not $finalclass->isa($PREFIX . 'TERMINAL')
1010 0 0 10 exists $_[$dotpos] and UNIVERSAL::isa($_[$dotpos], 'CODE')
1352 0 0 0 $fn and -r $fn
1454 0 0 0 $self->input and defined ${$self->input;}
1499 0 0 0 not $file and @ARGV
1538 0 0 0 $tree and blessed $tree
0 0 0 $tree and blessed $tree and $tree->isa('Parse::Eyapp::Node')
0 0 0 $tree and ref $tree
1550 0 0 0 $yaml and ref $tree
1562 0 0 0 $dot and blessed $tree
1564 0 0 0 defined $extension and $tree->can($extension)
1565 0 0 0 not defined $sfile and defined $file
1621 0 0 0 blessed $attr and $attr->can('str')
1644 0 0 0 blessed $attr and $attr->can('line')
1853 0 158 6639 defined $$token and $$token ne ''
1989 0 25 0 @$stack and !(exists $$states[$$stack[-1][0]]{'ACTIONS'} && exists $$states[$$stack[-1][0]]{'ACTIONS'}{'error'}) || $$states[$$stack[-1][0]]{'ACTIONS'}{'error'} <= 0

or 2 conditions

line l !l condition
310 0 0 shift() || 0
371 0 0 shift() || 1
869 4 129 $self->YYPrefix || ''
1251 346 0 shift @classes || (return)
1523 0 0 $parser->YYPrefix || ''

or 3 conditions

line l !l&&r !l&&!r condition
239 0 0 0 shift() || $self->YYRuleindex
403 0 0 0 shift() || $parser
742 0 1257 0 shift() || $$self{'CURRENT_RULE'}
1267 0 0 0 !defined($_) || $_ eq '' || defined pos $_ && pos $_ >= length $_
1989 13 0 12 !(exists $$states[$$stack[-1][0]]{'ACTIONS'} && exists $$states[$$stack[-1][0]]{'ACTIONS'}{'error'}) || $$states[$$stack[-1][0]]{'ACTIONS'}{'error'} <= 0