Condition Coverage

blib/lib/Mojo/DOM/Role/PrettyPrinter.pm
Criterion Covered Total %
condition 10 16 62.5


and 2 conditions

line l !l condition
19 0 0 croak('No element') and return

and 3 conditions

line !l l&&!r l&&r condition
93 0 4 3 $child->[0] and $child->[0][0] eq 'text'
2 4 3 not $child->[1] and ($child->[0] and $child->[0][0] eq 'text')
104 0 6 0 $child->[0] and $child->[0][0] eq 'text'

or 2 conditions

line l !l condition
13 14 6 shift() // 0

or 3 conditions

line l !l&&r !l&&!r condition
14 14 6 0 shift() || $self->tree