blib/lib/HTML/DOM/Node.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 42 | 73.8 |
line | l | !l | condition | |
---|---|---|---|---|
559 | 547 | 1162 | 0 | ref $_ and &weaken($_->{'_parent'}) |
584 | 0 | 562 | 0 | ref $_ and &weaken($_->{'_parent'}) |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
280 | 16 | 15 | 0 | not $was_inside_doc and my $sub = $doc->elem_handler(lc $_->tag) |
326 | 12 | 1 | 3 | $new_node->is_inside($doc) and not $new_node->is_inside($old_node) |
426 | 16 | 43 | 1 | not $was_inside_doc and my $sub = $doc->elem_handler(lc $_->tag) |
454 | 8 | 3 | 3 | substr($addr1, 0, length $addr2) ne $addr2 and substr($addr2, 0, length $addr1) ne $addr1 |
568 | 0 | 8 | 0 | ref $_ and &weaken($_->{'_parent'}) |
line | l | !l | condition |
---|---|---|---|
388 | 22 | 7 | $self->ownerDocument || (next) |
490 | 6 | 6 | $pile[0]->nextSibling || (next _) |
505 | 2 | 1 | (shift())->attributes || (return 0) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
189 | 20 | 457 | 0 | $root->{'_HTML_DOM_Node_owner'} || $root |
244 | 13 | 1 | 0 | $self->ownerDocument || $self |
309 | 16 | 1 | 0 | $self->ownerDocument || $self |
405 | 132 | 5 | 0 | $self->ownerDocument || $self |
525 | 1857 | 15 | 0 | $n->ownerDocument || $n |