Branch Coverage

blib/lib/Gherkin/ParserBase.pm
Criterion Covered Total %
branch 3 14 21.4


line true false branch
32 0 0 unless ref $error
33 0 0 if $self->stop_at_first_error
34 0 0 if (ref $error eq 'Gherkin::Exceptions::CompositeParser') { }
41 0 0 if @errors > $self->max_errors
48 0 33 if (not eval { do { $self->ast_builder->start_rule($ruleType); 1 } })
55 0 33 if (not eval { do { $self->ast_builder->end_rule($ruleType); 1 } })
62 0 36 if (not eval { do { $self->ast_builder->build($token); 1 } })