Condition Coverage

blib/lib/Gherkin/TokenMatcher.pm
Criterion Covered Total %
condition 8 20 40.0


and 3 conditions

line !l l&&!r l&&r condition
106 0 3 0 $token->line and $token->line->get_line_text =~ /$LANGUAGE_RE/
120 0 39 0 $token->line and $token->line->startswith("\@")
182 0 12 12 $token->line and $token->line->is_empty
189 0 21 0 $token->line and $token->line->startswith("#")

or 2 conditions

line l !l condition
147 0 36 $options->{'items'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
20 0 3 0 $options->{'dialect'} ||= "Gherkin::Dialect"->new({"dialect", "en"})
252 0 15 0 $self->_match_DocStringSeparator($token, '"""', 1) || $self->_match_DocStringSeparator($token, '```', 1)