Condition Coverage

blib/lib/Web/Query.pm
Criterion Covered Total %
condition 36 83 43.3


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 9 CORE::not $stuff =~ /\n/ and -f $stuff
414 1 0 8 ref $r and $node->parent
578 27 1 1 @stuff == 2 and CORE::not ref $stuff[0]
28 0 1 @stuff == 2 and CORE::not ref $stuff[0] and $stuff[1]->isa('HTML::Element')

or 2 conditions

line l !l condition
502 7 3 $t->attr('class') || ''

or 3 conditions

line l !l&&r !l&&!r condition
27 6 0 0 $UserAgent ||= 'LWP::UserAgent'->new('agent', 'Web::Query/' . 'Web::Query'->VERSION)
124 29 564 0 ref $self_or_class || $self_or_class
143 2 0 0 ref $self || $self
163 13 0 0 ref $self || $self
11 2 0 $self->{'trees'}[$index] || ()
172 147 0 0 ref $self || $self
185 10 0 0 ref $self || $self
196 1 0 63 $_->isa('HTML::TreeBuilder::XPath::TextNode') || $_->isa('HTML::TreeBuilder::XPath::CommentNode')
332 60 0 0 ref $self || $self
343 52 0 0 ref $self || $self
358 37 0 0 ref $self || $self
367 32 0 0 ref $self || $self
401 4 0 0 ref $self || $self
405 7 0 0 ref $self || $self
419 5 0 0 ref $self || $self
426 1 0 0 ref $self || $self
437 1 0 0 ref $self || $self
449 1 0 0 ref $self || $self
461 1 0 0 ref $self || $self
570 1 0 0 ref $self || $self
588 29 0 0 ref $self || $self
609 1 0 0 ref $self || $self
617 22 0 0 ref $self || $self