Condition Coverage

blib/lib/XML/DOM2.pm
Criterion Covered Total %
condition 12 25 48.0


or 2 conditions

line l !l condition
126 0 1 $attrs{'seperator'} || $$self{'seperator'} || "\n"
361 0 1 $$self{'version'} || '1.0'
362 0 1 $$self{'encoding'} || 'UTF-8'
363 0 1 $$self{'stand_alone'} || 'yes'
422 20 0 $self->doctype->name || 'xml'

or 3 conditions

line l !l&&r !l&&!r condition
78 0 4 0 ref $proto || $proto
80 0 0 4 $o{'file'} or $o{'fh'}
0 2 2 $o{'file'} or $o{'fh'} or $o{'data'}
96 0 2 0 ref $proto || $proto
379 0 2 18 $type eq '#document' or $type eq $self->_document_name