Condition Coverage

blib/lib/HTML/DOM/Collection.pm
Criterion Covered Total %
condition 8 9 88.8


and 3 conditions

line !l l&&!r l&&r condition
49 0 229 22 exists $NameableElements{$elem->tag} and $elem->attr('name') eq $name
92 1 7 5 defined($id = ($item = $self->item($_))->id) and not $guts->[2]{$id}++
101 1 13 2 defined($id = ($item = $self->item($_))->attr('name')) and not $guts->[2]{$id}++