Branch Coverage

blib/lib/WWW/Search/AOL.pm
Criterion Covered Total %
branch 10 26 38.4


line true false branch
64 2 0 unless (defined $$self{'_options'})
73 2 0 if (defined $opts)
77 2 0 if (WWW::Search::generic_option($k)) { }
79 2 0 if (defined $$opts{$k})
86 0 0 if (defined $$opts{$k})
117 0 2 if ($$self{'_AOL_no_results_found'})
122 2 0 if ($$self{'_AOL_first_retrieve_call'})
128 1 1 if (defined $nohit_div)
130 1 0 if ($nohit_div->as_text =~ /Your search for/ and $nohit_div->as_text =~ /returned no results\./)
140 1 0 unless (defined $wr_div)
148 0 0 if (my($n) = $wr_div->as_text =~ /of${word_sep}about$word_sep([\d,]+)/)
190 0 0 unless ($result->attr('about') =~ /^r(\d+)$/)
213 0 0 if ($a_tag->as_text =~ /Next/)