Condition Coverage

blib/lib/XML/Handler/Trees.pm
Criterion Covered Total %
condition 0 59 0.0


and 3 conditions

line !l l&&!r l&&r condition
42 0 0 0 exists $$element{'LocalName'} and $$element{'NamespaceURI'}
60 0 0 0 $pos > 0 and $$clist[$pos - 1] eq '0'
190 0 0 0 @$clist and $$clist[-1]{'type'} eq 't'
0 0 0 @$clist and $$clist[-1]{'type'} eq 't' and $$clist[-1]{'content'} =~ /^\s+$/
237 0 0 0 exists $$self{'content'} and defined $$self{'content'}
246 0 0 0 exists $$possible{'type'} and $$possible{'type'} eq 't'
249 0 0 0 exists $$possible{'content'} and defined $$possible{'content'}
341 0 0 0 exists $$self{'attrib'} and defined $$self{'attrib'}
344 0 0 0 exists $$attrib{$spec} and defined $$attrib{$spec}
358 0 0 0 exists $$self{'attrib'} and defined $$self{'attrib'}

or 2 conditions

line l !l condition
206 0 0 ref $type || $type || die('must supply a object type')
210 0 0 $opts{'Name'} || ''
211 0 0 $opts{'Content'} || undef
271 0 0 shift() || ''
304 0 0 shift() || ''
339 0 0 shift() || (return '')
416 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
10 0 0 0 ref $_[0] || $_[0]
83 0 0 0 ref $class || $class
85 0 0 0 $$self{'Noempty'} ||= $$self{'Searchable'}
135 0 0 0 not @$clist or $$clist[-1]{'type'} ne 't'
466 0 0 0 ref $_[0] || $_[0]