Branch Coverage

lib/HTML/Object/Collection.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
36 0 16 unless $self->SUPER::init(@_)
45 2 0 if warnings::enabled("HTML::Object")
54 2 3 unless exists $opts->{'all'}
58 3 2 if ($opts->{'all'}) { }
77 0 2 unless $first and $self->_is_a($first, "HTML::Object::Element")