Branch Coverage

blib/lib/Test/Pcuke/Gherkin/Node/Step.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
66 0 2 unless $_[0]->_get_immutable('type')
86 1 2 unless grep {$_ eq $type;} 'GIVEN', 'WHEN', 'THEN', 'AND', 'BUT', '*'
104 1 3 unless $title
108 2 1 unless $params
178 0 2 unless ref $hash eq 'HASH'
239 11 1 unless ref $result
250 10 1 if (defined $result)
251 8 2 if $result =~ /pass/ or $result
253 4 6 if $result =~ /fail/ or not $result
255 2 8 if $result =~ /undef/