Condition Coverage

blib/lib/LaTeX/TOM/Tree.pm
Criterion Covered Total %
condition 13 22 59.0


and 3 conditions

line !l l&&!r l&&r condition
133 12 18 8 $node->{'type'} eq "TEXT" and $node->{'plaintext'}
207 0 2 0 defined $parent and $parent->{'start'} == $node->{'start'}
2 0 0 defined $parent and $parent->{'start'} == $node->{'start'} and $parent->{'end'} == $node->{'end'}
327 22 5 2 $node->{'type'} eq 'COMMAND' && $node->{'command'} eq $name
336 27 0 2 $node->{'type'} eq 'ENVIRONMENT' && $node->{'class'} eq $name

or 2 conditions

line l !l condition
21 186 0 shift() || []
72 0 0 $level ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
189 118 0 44 $node->{'type'} eq "TEXT" or $node->{'type'} eq "COMMENT"