| blib/lib/HTML/TreeBuilder/LibXML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 15 | 60.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 0 | 42 | 1 | defined $self->{'_content'} and $self->{'_content'} eq "" |
| 92 | 19 | 0 | 8 | $destructive and @out > 0 |
| 94 | 8 | 0 | 0 | not $self->{'_implicit_doctype'} and my $dtd = $out[0]->ownerDocument->internalSubset |
| 105 | 7 | 0 | 1 | not $self->{'_implicit_doctype'} and my $dtd = $out[0]->ownerDocument->internalSubset |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 75 | 40 | 0 | 3 | $doc->documentElement || do { my $elem = $doc->createElement('html'); $elem->appendChild($doc->createElement('body')); $elem } |