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
99 0 3 0 $token->line and $token->line->get_line_text =~ /$LANGUAGE_RE/
113 0 39 0 $token->line and $token->line->startswith("\@")
175 0 12 12 $token->line and $token->line->is_empty
182 0 21 0 $token->line and $token->line->startswith("#")

or 2 conditions

line l !l condition
140 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"})
242 0 15 0 $self->_match_DocStringSeparator($token, '"""', 1) || $self->_match_DocStringSeparator($token, '```', 1)