Branch Coverage

blib/lib/Regexp/Parsertron.pm
Criterion Covered Total %
branch 27 60 45.0


line true false branch
147 0 2 unless defined $opts{$param}
155 1 7 if $node->is_root
160 1 6 if ($opts{'uid'} == $uid)
178 0 92 if $self->verbose > 1
180 21 71 if ($event_name =~ /^close_(?:bracket|parenthesis)$/)
187 21 71 if ($event_name =~ /^open_(?:bracket|parenthesis)$/)
202 0 0 if ($index >= 0)
223 12 92 if $node->is_root
247 0 0 if $node->is_root
279 12 0 if defined $opts{'re'}
280 0 12 if defined $opts{'verbose'}
300 12 0 if (defined(my $value = $self->_process)) { }
302 0 12 if $self->verbose > 1
308 0 0 unless $self->error_str
310 0 0 if $self->verbose and $self->error_str
320 0 0 if $self->verbose and $self->error_str
337 0 12 if $self->verbose
341 0 12 if ($string_re eq '')
343 0 0 if $self->verbose
348 0 12 if $self->verbose
374 0 92 if $event_name eq q['exhausted]
379 0 92 unless defined $pos
381 0 92 if $self->verbose > 1
388 12 0 if ($self->recce->exhausted) { }
0 0 elsif (my $status = $self->recce->ambiguous) { }
400 0 0 if $#$terminals < 0
406 0 12 if $self->verbose
449 12 0 &does($candidate, 'Regexp') ? :
476 0 92 if ($event_name eq q['exhausted])
487 0 92 if $self->verbose > 1