Condition Coverage

blib/lib/Mojo/DOM/Role/Analyzer.pm
Criterion Covered Total %
condition 14 23 60.8


and 3 conditions

line !l l&&!r l&&r condition
82 3 0 2 ref $_[1] and ref $_[2]
88 0 0 2 $_[1] and not ref $_[1]
0 0 2 $_[1] and not ref $_[1] and not $_[2]
290 2 1 1 $depth_tracker and $depth != $depth_tracker

or 2 conditions

line l !l condition
31 2 0 shift() || 'up'

or 3 conditions

line l !l&&r !l&&!r condition
88 2 0 1 $_[1] || $_[2]
104 0 4 8 not $seg2 or $seg ne $seg2
213 1 1 0 $sn->{'all_tags_have_same_depth'} or $sn->{'top_level'}