Branch Coverage

blib/lib/WWW/Search/Scrape.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
92 0 8 unless (ref $q eq 'HASH')
98 1 7 unless ($$q{'engine'})
104 2 5 unless ($$q{'results'} and $$q{'results'} >= 0)
109 1 4 unless ($$q{'keyword'} and length $$q{'keyword'} >= 1)
114 3 1 if (lc $$q{'engine'} eq 'google') { }
1 0 elsif (lc $$q{'engine'} eq 'bing') { }
115 0 3 if ($$q{'geo_location'})
118 2 1 if ($$q{'frontpage'})