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 733 812 727 $parent->{'type'} eq 'MAP' && !($node->{'index'} % 2)
123 16338 3390 804 $pos->{'line'} == $line and $pos->{'column'} >= $offset
160 1078 3978 2922 $pos->{'column'} == 0 and $pos->{'line'} == $startline
195 4417 36 102 $self->empty_leaf and $pos->{'column'} == 0
4453 87 15 $self->empty_leaf and $pos->{'column'} == 0 and $pos->{'line'} == $startline
202 4150 321 84 $pos->{'column'} == 0 and $pos->{'line'} == $startline
212 3041 19190 528 $start->{'line'} == $end->{'line'} and $start->{'column'} == $end->{'column'}
240 154 3940 1522 $pos->{'line'} == $line and $pos->{'column'} >= $offset

or 2 conditions

line l !l condition
20 42840 1454 $self->{'type'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 727 $new_index < 0 or $new_index > $children->$#*
265 1335 1006 10135 $self->{'style'} == 4 or $self->{'style'} == 5