Branch Coverage

blib/lib/XML/LibXML/Reader.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
22 0 3 unless UNIVERSAL::can("XML::LibXML::Reader", "_newForFile")
114 0 1 unless defined $prop
119 0 0 ref $_ eq 'HASH' ? :
131 1 76 ref $_ eq 'HASH' ? :
134 4 16 if defined $URI
138 9 11 if (defined $args{'location'}) { }
8 3 elsif (defined $args{'string'}) { }
1 2 elsif (defined $args{'IO'}) { }
1 1 elsif (defined $args{'DOM'}) { }
1 0 elsif (defined $args{'FD'}) { }
143 8 0 if (defined $self)
152 0 1 unless UNIVERSAL::isa($args{'DOM'}, "XML::LibXML::Document")
162 4 16 if ($args{'RelaxNG'})
163 2 2 if (ref $args{'RelaxNG'}) { }
170 4 16 if ($args{'Schema'})
171 2 2 if (ref $args{'Schema'}) { }
192 1 0 $reader->_close == 0 ? :
198 1 1 if (ref $ns_map eq 'HASH') { }