| blib/lib/Gherkin/TokenMatcher.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 20 | 40.0 |
| 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("#") |
| line | l | !l | condition |
|---|---|---|---|
| 140 | 0 | 36 | $options->{'items'} ||= [] |
| 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) |