Condition Coverage

blib/lib/YAML/Tidy/Node.pm
Criterion Covered Total %
condition 30 32 93.7


and 3 conditions

line !l l&&!r l&&r condition
44 771 839 749 $parent->{'type'} eq 'MAP' && !($node->{'index'} % 2)
121 15812 3278 770 $pos->{'line'} == $line and $pos->{'column'} >= $offset
158 1062 3930 2922 $pos->{'column'} == 0 and $pos->{'line'} == $startline
230 3183 19815 551 $start->{'line'} == $end->{'line'} and $start->{'column'} == $end->{'column'}
247 154 3790 1402 $pos->{'line'} == $line and $pos->{'column'} >= $offset
267 4362 36 102 $self->empty_scalar and $pos->{'column'} == 0
4398 87 15 $self->empty_scalar and $pos->{'column'} == 0 and $pos->{'line'} == $startline
274 4095 321 84 $pos->{'column'} == 0 and $pos->{'line'} == $startline

or 2 conditions

line l !l condition
20 44872 1498 $self->{'type'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
74 0 0 749 $new_index < 0 or $new_index > $#$children
203 1421 1073 10620 $self->{'style'} == 4 or $self->{'style'} == 5