Condition Coverage

blib/lib/Test/BDD/Cucumber/Parser.pm
Criterion Covered Total %
condition 35 51 68.6


and 3 conditions

line !l l&&!r l&&r condition
171 0 0 52 $lines and @$lines
0 48 4 $lines and @$lines and $lines->[0]->raw_content =~ /^\s*#\s*language:\s+([^\s]+)/u
184 95 328 106 $lines[0] and $lines[0]->is_blank
248 148 1 1 $last_scenario->keyword_original =~ /^($self->{'langdef'}{'scenarioOutline'})/u and not @{$last_scenario->datasets;}
306 51 112 0 $scenarios++ and $type =~ /^($langdef->{'background'})/u
359 43 122 483 @lines and $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
418 0 171 1 @lines and $lines[0]->is_comment || !($self->_is_step_line(0, $lines[0]->content) || $self->_is_examples_line($lines[0]->content) || $self->_is_tags_line($lines[0]->content) || $self->_is_scenario_line($lines[0]->content))

or 3 conditions

line l !l&&r !l&&!r condition
229 0 50 143 $line->is_comment or $line->is_blank
231 46 5 92 $self->_is_scenario_line($line->content) or $self->_is_tags_line($line->content)
251 0 1 0 $line || $last_scenario->line
265 0 18 210 $line->is_comment or $line->is_blank
359 2 483 120 $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
369 112 1 370 $verb =~ /^($langdef->{'and'})$/u or $verb =~ /^($langdef->{'but'}$)/u
403 26 0 0 $self->_is_table_line($content) or $self->_is_examples_line($content)
26 0 0 $self->_is_table_line($content) or $self->_is_examples_line($content) or $self->_is_tags_line($content)
0 0 0 $self->_is_table_line($content) or $self->_is_examples_line($content) or $self->_is_tags_line($content) or $self->_is_scenario_line($content)
418 8 1 163 $lines[0]->is_comment || !($self->_is_step_line(0, $lines[0]->content) || $self->_is_examples_line($lines[0]->content) || $self->_is_tags_line($lines[0]->content) || $self->_is_scenario_line($lines[0]->content))