Branch Coverage

blib/lib/URI/ParseSearchString/More.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
159 1 542 if ($url =~ /$url_regex{$engine}/)
172 0 1 if ($mech->status and $mech->status == 403)
176 1 0 if ($mech->title)
182 1 0 if ($search_term)
192 135 0 if ($terms)
211 0 135 unless $url
220 135 0 if ($url =~ m[ ( (?: $regex ) .* ?/ ) .* ?\? (.*)\z ]msx)
235 135 5396 if ($domain =~ /$engine/i)
254 0 135 unless ($domain =~ /\w/)
279 0 0 if ($uri->query_params)
282 0 0 if ($uri->query_param($guess))
295 1 2 if ($switch) { }
315 2 272 if ($cache)
317 1 1 unless (exists $self->{'__more_mech_cached'})
330 2 270 unless (exists $self->{'__more_mech'})
351 2 0 if ($args{'string'} =~ /$regex/)