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 18 CORE::not $stuff =~ /\n/ and -f $stuff
414 1 0 17 ref $r and $node->parent
578 73 2 2 @stuff == 2 and CORE::not ref $stuff[0]
75 0 2 @stuff == 2 and CORE::not ref $stuff[0] and $stuff[1]->isa('HTML::Element')

or 2 conditions

line l !l condition
502 14 6 $t->attr('class') || ''

or 3 conditions

line l !l&&r !l&&!r condition
27 8 0 0 $UserAgent ||= 'LWP::UserAgent'->new('agent', 'Web::Query/' . 'Web::Query'->VERSION)
124 77 1191 0 ref $self_or_class || $self_or_class
143 4 0 0 ref $self || $self
163 26 0 0 ref $self || $self
22 4 0 $self->{'trees'}[$index] || ()
172 295 0 0 ref $self || $self
185 20 0 0 ref $self || $self
196 1 0 145 $_->isa('HTML::TreeBuilder::XPath::TextNode') || $_->isa('HTML::TreeBuilder::XPath::CommentNode')
332 140 0 0 ref $self || $self
343 125 0 0 ref $self || $self
358 78 0 0 ref $self || $self
367 64 0 0 ref $self || $self
401 8 0 0 ref $self || $self
405 14 0 0 ref $self || $self
419 10 0 0 ref $self || $self
426 2 0 0 ref $self || $self
437 2 0 0 ref $self || $self
449 2 0 0 ref $self || $self
461 2 0 0 ref $self || $self
570 2 0 0 ref $self || $self
588 77 0 0 ref $self || $self
609 1 0 0 ref $self || $self
617 22 0 0 ref $self || $self