Branch Coverage

lib/UR/BoolExpr/BxParser.pm
Criterion Covered Total %
branch 37 74 50.0


line true false branch
68 0 125 if exists $self->{'VERSION'} and $self->{'VERSION'} < $UR::BoolExpr::BxParser::Yapp::Driver::COMPATIBLE
73 0 125 if ref $class
85 0 125 if ($self->{'DEBUG'}) { }
88 0 0 if $@
100 125 3890 unless exists $self->{'USER'}
152 0 0 if $index < 0 and -$index <= @{$self->{'STACK'};}
161 0 0 if @_
169 0 0 if @_
198 0 750 unless exists $checklist->{$prm}
200 0 750 unless ref $value eq $checklist->{$prm}
206 0 375 unless exists $outhash->{$_}
220 0 0 if exists do { 'UR::BoolExpr::BxParser::Yapp::Driver::' }->{'_DBParse'}
224 0 0 unless open DRV, "<$fname"
227 0 0 if (/^\s*sub\s+_Parse\s*{\s*$/ .. /^\s*}\s*#\s*_Parse\s*$/)
283 1918 2142 if (exists $actions->{'ACTIONS'}) { }
286 1550 368 unless (defined $$token)
296 590 11 exists $actions->{'DEFAULT'} ? :
1317 601 exists $actions->{'ACTIONS'}{$$token} ? :
305 4049 11 if (defined $act)
308 1317 2732 if ($act > 0)
314 0 1317 if ($$errstatus)
329 1203 114 if $$token ne ''
342 114 2618 unless $act
348 0 2732 if (unpack('A1', $lhs) eq '@')
349 0 0 unless $lhs =~ /^\@[0-9]+\-([0-9]+)$/
356 2586 146 $$dotpos ? :
359 114 0 @sempar ? :
2618 114 $code ? :
365 114 2618 if ($$check eq 'ACCEPT')
374 0 2618 if ($$check eq 'ABORT')
387 2618 0 unless ($$check eq 'ERROR')
415 11 0 unless ($$errstatus)
419 0 0 unless $$errstatus
433 0 0 if ($$errstatus == 3)
435 0 0 if ($$token eq '')
461 0 0 unless (@$stack)
496 0 125 if ref $class