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 61 $lines and @$lines
0 55 6 $lines and @$lines and $lines->[0]->raw_content =~ /^\s*#\s*language:\s+([^\s]+)/u
184 113 417 139 $lines[0] and $lines[0]->is_blank
248 193 1 1 $last_scenario->keyword_original =~ /^($self->{'langdef'}{'scenarioOutline'})/u and not @{$last_scenario->datasets;}
306 60 155 0 $scenarios++ and $type =~ /^($langdef->{'background'})/u
359 52 167 653 @lines and $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
418 0 223 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 59 179 $line->is_comment or $line->is_blank
231 55 5 119 $self->_is_scenario_line($line->content) or $self->_is_tags_line($line->content)
251 0 1 0 $line || $last_scenario->line
265 0 28 275 $line->is_comment or $line->is_blank
359 4 653 163 $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
369 145 1 507 $verb =~ /^($langdef->{'and'})$/u or $verb =~ /^($langdef->{'but'}$)/u
403 36 0 0 $self->_is_table_line($content) or $self->_is_examples_line($content)
36 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 215 $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))