| blib/lib/Treex/PML/Schema/Reader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 40 | 30.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 38 | 66 | 0 | 0 | builtin::blessed($opts->{'reader'}) and $opts->{'reader'}->isa("XML::LibXML::Reader") |
| 68 | 0 | 2961 | 0 | ref $_[0] && $_[0][0] |
| 71 | 0 | 2895 | 0 | ref $_[0] && $_[0][1] |
| 74 | 0 | 66 | 0 | ref $_[0] && $_[0][2] |
| 87 | 2895 | 0 | 0 | defined $prefix && length $prefix |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 0 | 0 | $URL ||= "string://" |
| 46 | 0 | 0 | $URL ||= "fh://" |
| 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 | 66 | not $fh or $@ |
| 106 | 2294 | 601 | 0 | $opts->{'Bless'}{$el_ns_name} || $opts->{'Bless'}{'*'} |
| 119 | 573 | 0 | 2196 | $nodeType == 3 or $nodeType == 4 |
| 1906 | 0 | 0 | $nodeType == 15 or $nodeType == 14 | |
| 1906 | 0 | 0 | $nodeType == 15 or $nodeType == 14 or $nodeType == 13 |