Branch Coverage

blib/lib/WWW/Bing/Search.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
25 0 0 $args{'proxy'} ? :
26 0 0 $args{'timeout'} ? :
32 0 0 unless defined $_[2]
33 0 0 unless (defined $WWW::Bing::Search::query)
35 0 0 $args{'query'} ? :
36 0 0 $args{'first'} ? :
37 0 0 $args{'minPages'} ? :
45 0 0 if $WWW::Bing::Search::proxy ne 0
56 0 0 if index($1, 'bing.com') != -1 or index($1, 'w3.org') != -1 or index($1, 'feedback.discoverbing.com') != -1 or index($1, 'login.live.com') != -1 or index($1, 'www.microsofttranslator.com') != -1 or index($1, 'go.microsoft.com') != -1 or index($1, 'g.msn.com') != -1 or index($1, 'onlinehelp.microsoft.com') != -1 or index($1, 'cc.bingj.com') != -1 or index($1, 'schemas.live.com') != -1
70 0 0 if ($answer =~ m[id="count">.+?([0-9&#;]+)]gi)