Condition Coverage

blib/lib/Treex/PML/Schema/Reader.pm
Criterion Covered Total %
condition 12 40 30.0


and 3 conditions

line !l l&&!r l&&r condition
38 63 0 0 &blessed($opts->{'reader'}) and $opts->{'reader'}->isa('XML::LibXML::Reader')
68 0 2807 0 ref $_[0] && $_[0][0]
71 0 2744 0 ref $_[0] && $_[0][1]
74 0 63 0 ref $_[0] && $_[0][2]
87 2744 0 0 defined $prefix && length $prefix

or 2 conditions

line l !l condition
39 0 0 $URL ||= 'string://'
46 0 0 $URL ||= 'fh://'

or 3 conditions

line l !l&&r !l&&!r condition
29 0 0 0 $opts->{'relaxng_schema'} || Treex::PML::FindInResources('pml_schema_inline.rng')
51 0 0 0 $URL ||= $reader->document->URI
56 0 0 63 not $fh or $@
106 2166 578 0 $opts->{'Bless'}{$el_ns_name} || $opts->{'Bless'}{'*'}
119 553 0 2044 $nodeType == 3 or $nodeType == 4
1820 0 0 $nodeType == 15 or $nodeType == 14
1820 0 0 $nodeType == 15 or $nodeType == 14 or $nodeType == 13