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 48 $lines and @$lines
0 44 4 $lines and @$lines and $lines->[0]->raw_content =~ /^\s*#\s*language:\s+([^\s]+)/u
184 87 308 94 $lines[0] and $lines[0]->is_blank
248 136 1 1 $last_scenario->keyword_original =~ /^($self->{'langdef'}{'scenarioOutline'})/u and not @{$last_scenario->datasets;}
306 47 104 0 $scenarios++ and $type =~ /^($langdef->{'background'})/u
359 39 114 471 @lines and $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
418 0 159 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 139 $line->is_comment or $line->is_blank
231 46 1 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 190 $line->is_comment or $line->is_blank
359 2 471 112 $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
369 112 1 358 $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 151 $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))