Branch Coverage

blib/lib/WWW/Search/AOL.pm
Criterion Covered Total %
branch 8 26 30.7


line true false branch
69 1 0 unless (defined $self->{'_options'})
78 1 0 if (defined $opts)
82 1 0 if (WWW::Search::generic_option($k)) { }
84 1 0 if (defined $opts->{$k})
91 0 0 if (defined $opts->{$k})
122 0 1 if ($self->{'_AOL_no_results_found'})
127 1 0 if ($self->{'_AOL_first_retrieve_call'})
133 1 0 if (defined $nohit_div)
135 1 0 if ($nohit_div->as_text =~ /Your search for/ and $nohit_div->as_text =~ /returned no results\./)
145 0 0 unless (defined $wr_div)
153 0 0 if (my($n) = $wr_div->as_text =~ /of${word_sep}about$word_sep([\d,]+)/)
195 0 0 unless ($result->attr('about') =~ /^r(\d+)$/)
218 0 0 if ($a_tag->as_text =~ /Next/)