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
170 0 0 48 $lines and @$lines
0 44 4 $lines and @$lines and $lines->[0]->raw_content =~ /^\s*#\s*language:\s+([^\s]+)/
183 87 308 94 $lines[0] and $lines[0]->is_blank
247 136 1 1 $last_scenario->keyword_original =~ /^($self->{'langdef'}{'scenarioOutline'})/ and not @{$last_scenario->datasets;}
305 47 104 0 $scenarios++ and $type =~ /^($langdef->{'background'})/
358 39 114 471 @lines and $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
417 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
228 0 50 139 $line->is_comment or $line->is_blank
230 46 1 92 $self->_is_scenario_line($line->content) or $self->_is_tags_line($line->content)
250 0 1 0 $line || $last_scenario->line
264 0 18 190 $line->is_comment or $line->is_blank
358 2 471 112 $lines[0]->is_comment || (($verb, $text) = $self->_is_step_line(1, $lines[0]->content))
368 112 1 358 $verb =~ /^($langdef->{'and'})$/ or $verb =~ /^($langdef->{'but'}$)/
402 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)
417 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))