Branch Coverage

blib/lib/WWW/OhNoRobotCom/Search.pm
Criterion Covered Total %
branch 1 24 4.1


line true false branch
22 0 1 if @_ & 1
45 0 0 if (@_)
62 0 0 if (grep {not exists $$valid_include{$_};} @{$args{'include'};})
66 0 0 unless defined $args{'term'} and length $args{'term'}
73 0 0 $args{'lucky'} ? :
96 0 0 if ($is_lucky and $response->code == 302) { }
0 0 elsif ($response->is_success) { }
102 0 0 unless $results_ref
114 0 0 unless ($response->is_success)
132 0 0 if $is_lucky and not %results
146 0 0 if ($t->is_start_tag('a') and defined $t->get_attr('class') and $t->get_attr('class') eq 'searchlink') { }
0 0 elsif ($get_link and $t->is_text) { }