Condition Coverage

blib/lib/XML/Stream/Parser.pm
Criterion Covered Total %
condition 19 30 63.3


and 3 conditions

line !l l&&!r l&&r condition
247 692 8 499 $estart == 0 and $cdatastart != 0
271 499 0 0 $$self{'DTD'} == 1 and exists $attribs{'xmlns'}
343 162 8 2 $id1 < $id2 and $id1 != -1
349 8 2 0 $id2 < $id1 and $id1 == -1
485 0 0 0 $pos > 0 and $$self{'TREE'}[$pos - 1] eq '0'

or 3 conditions

line l !l&&r !l&&!r condition
197 2 0 11 substr($$self{'XML'}, $start, 3) eq '
308 20 672 0 $cdatastart == -1 or $cdatastart > $estart
334 499 0 172 length $str == 0 or $eq == -1
343 2 160 10 $id1 < $id2 and $id1 != -1 or $id2 == -1
349 0 10 0 $id2 < $id1 and $id1 == -1 or $id2 != -1