Condition Coverage

blib/lib/Google/Search.pm
Criterion Covered Total %
condition 13 39 33.3


and 3 conditions

line !l l&&!r l&&r condition
90 0 0 0 ref $data eq 'ARRAY' and $$data[1]
108 13 0 0 1 == @_ and ref $_[0] eq 'HASH'
12 0 1 3 == @_ and $_[0] eq 'service'
12 0 1 3 == @_ and $_[0] eq 'service' and not ref $_[2]
0 0 1 3 == @_ and $_[0] eq 'service' and not ref $_[2] and defined $_[2]
0 0 1 @_ > 3 and $_[0] eq 'service'
128 3 0 10 defined $query and not defined $$given{'query'}
131 12 0 1 defined $version and not defined $$given{'version'}
134 13 0 0 defined $referrer and not defined $$given{'referer'}
250 6 0 0 $ENV{'GS_TRACE'} and $request
314 0 0 0 $result and $result = $result->next

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 0 $agent_ ||= 'LWP::UserAgent'->new
263 0 0 0 $self->_page->[$number] ||= 'Google::Search::Page'->new('search', $self, 'number', $number)