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
76 0 133 0 exists $self->{'VERSION'} and $self->{'VERSION'} < $COMPATIBLE
112 0 0 0 $self->{'LEX'} and &reftype($self->{'LEX'}) eq 'CODE'
183 0 0 0 $index < 0 and -$index <= @{$self->{'STACK'};}
388 0 0 0 $t ne $spec and $t ne ''
532 0 0 0 exists $self->{'STATES'}[$conflictstate]{'ACTIONS'} and $self->{'STATES'}[$conflictstate]{'ACTIONS'}{$_} >= 0
576 0 0 0 exists $self->{'STATES'}[$conflictstate]{'ACTIONS'} and $self->{'STATES'}[$conflictstate]{'ACTIONS'}{$_} >= 0
659 0 0 0 &reftype($state) and &reftype($state) eq 'ARRAY'
682 0 0 0 $newaction and &reftype($newaction) eq 'CODE'
694 0 0 0 $newaction{$n} and &reftype($newaction{$n}) eq 'CODE'
952 481 10 8 $bypass and @children == 1
962 0 6 2 $childisterminal and not $finalclass->isa($PREFIX . 'TERMINAL')
1013 0 0 10 exists $_[$dotpos] and UNIVERSAL::isa($_[$dotpos], 'CODE')
1355 0 0 0 $fn and -r $fn
1457 0 0 0 $self->input and defined ${$self->input;}
1502 0 0 0 not $file and @ARGV
1541 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
1553 0 0 0 $yaml and ref $tree
1565 0 0 0 $dot and &blessed($tree)
1567 0 0 0 defined $extension and $tree->can($extension)
1568 0 0 0 not defined $sfile and defined $file
1624 0 0 0 &blessed($attr) and $attr->can('str')
1647 0 0 0 &blessed($attr) and $attr->can('line')
1856 0 158 6639 defined $$token and $$token ne ''
1992 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
313 0 0 shift() || 0
374 0 0 shift() || 1
872 4 129 $self->YYPrefix || ''
1254 265 0 shift @classes || (return)
1526 0 0 $parser->YYPrefix || ''

or 3 conditions

line l !l&&r !l&&!r condition
242 0 0 0 shift() || $self->YYRuleindex
406 0 0 0 shift() || $parser
745 0 1257 0 shift() || $self->{'CURRENT_RULE'}
1270 0 0 0 !defined($_) || $_ eq '' || defined pos $_ && pos $_ >= length $_
1992 13 0 12 !(exists $$states[$stack->[-1][0]]{'ACTIONS'} && exists $$states[$stack->[-1][0]]{'ACTIONS'}{'error'}) || $$states[$stack->[-1][0]]{'ACTIONS'}{'error'} <= 0