Branch Coverage

blib/lib/Gherkin/Line.pm
Criterion Covered Total %
branch 5 30 16.6


line true false branch
24 38 0 if defined $trimmed
43 5 0 unless defined $indent_to_remove
45 5 0 if ($indent_to_remove < 0 or $indent_to_remove > $self->indent) { }
59 0 273 unless defined $self->_trimmed_line_text
65 0 75 unless defined $self->_trimmed_line_text
79 0 0 unless $row =~ s/^(.)//
82 0 0 if ($char eq '|') { }
0 0 elsif ($char eq '\\') { }
0 0 elsif (defined $char) { }
83 0 0 if ($first_cell) { }
89 0 0 unless $row =~ s/^(.)//
113 0 0 unless defined $col
147 0 0 if length $item == 0
149 0 0 unless ($item =~ /^\S+$/)
168 0 0 if (@errors)