Branch Coverage

blib/lib/YAML/Tidy/Node.pm
Criterion Covered Total %
branch 43 46 93.4


line true false branch
22 44872 0 if ($self->is_collection) { }
44 0 6 $ENV{'YAML_TIDY_DEBUG'} ? :
52 7460 28451 if ($firstevent->{'name'} eq "document_start_event")
98 619 4645 if $self->end->{'line'} < $line
99 779 3866 if $self->start->{'line'} > $line
102 106 15358 if ($pos->{'line'} == $line and $pos->{'column'} >= $offset)
119 2620 3884 if ($pos->{'line'} == $line)
133 3336 4578 if ($pos->{'line'} >= $startline)
138 2922 4992 if ($pos->{'column'} == 0 and $pos->{'line'} == $startline) { }
3846 1146 elsif ($pos->{'line'} >= $startline) { }
150 0 6 $ENV{'YAML_TIDY_DEBUG'} ? :
179 2494 10682 if ($self->{'style'} == 4 or $self->{'style'} == 5)
181 2414 80 if ($end->{'column'} == 0)
198 2826 17633 if ($self->open->{'line'} < $self->close->{'line'})
206 551 22998 if ($start->{'line'} == $end->{'line'} and $start->{'column'} == $end->{'column'})
220 2802 4348 if $self->end->{'line'} < $line
221 2529 1819 if $self->start->{'line'} > $line
223 836 2802 if ($pos->{'line'} == $line and $pos->{'column'} >= $offset)
234 2442 4060 if ($pos->{'line'} == $line)
243 15 4485 if ($self->empty_scalar and $pos->{'column'} == 0 and $pos->{'line'} == $startline) { }
2178 2307 elsif ($pos->{'line'} >= $startline) { }
250 84 4416 if ($pos->{'column'} == 0 and $pos->{'line'} == $startline) { }
2178 2238 elsif ($pos->{'line'} >= $startline) { }