| line |
true |
false |
branch |
|
69
|
0 |
0 |
if @_ |
|
76
|
0 |
0 |
if @_ |
|
115
|
0 |
0 |
unless my $filename = shift() |
|
117
|
0 |
0 |
if (UNIVERSAL::isa($filename, 'SCALAR')) { } |
|
122
|
0 |
0 |
unless open SHERFILE, $filename |
|
134
|
0 |
0 |
if ($content) |
|
141
|
0 |
0 |
unless $action = $$self{'search'}{'action'} |
|
204
|
0 |
0 |
if ($tag eq 'search') { } |
|
|
0 |
0 |
elsif ($tag eq 'prefetch') { } |
|
|
0 |
0 |
elsif ($tag eq 'postfetch') { } |
|
|
0 |
0 |
elsif ($tag eq 'interpret') { } |
|
|
0 |
0 |
elsif ($tag eq 'input') { } |
|
|
0 |
0 |
elsif ($tag eq '/prefetch') { } |
|
|
0 |
0 |
elsif ($tag eq '/postfetch') { } |
|
|
0 |
0 |
elsif ($tag eq '/search') { } |
|
225
|
0 |
0 |
if ($current_tag eq 'prefetch') { } |
|
|
0 |
0 |
elsif ($current_tag eq 'postfetch') { } |
|
265
|
0 |
0 |
if ($2 eq '=') { } |
|
270
|
0 |
0 |
if ($2 eq '>' or $$stringtoparse =~ /\G\s*>/cgs) |
|
286
|
0 |
0 |
if ($$string =~ /\G\"/cgs) { } |
|
|
0 |
0 |
elsif ($$string =~ /\G\'/cgs) { } |
|
287
|
0 |
0 |
if $$string =~ /\G(.*?[^\\])\"/cgs |
|
291
|
0 |
0 |
if $$string =~ /\G(.*?[^\\])\'/cgs |
|
295
|
0 |
0 |
if $$string =~ /\G(\S+)/cgs |
|
296
|
0 |
0 |
if ($content =~ s/>$//) |
|
330
|
0 |
0 |
unless $$self{$stage}{'method'} and $$self{$stage}{'action'} |
|
337
|
0 |
0 |
if ($$self{$stage}{'method'} =~ /post/i) { } |
|
|
0 |
0 |
elsif ($$self{$stage}{'method'} =~ /get/i) { } |
|
343
|
0 |
0 |
if $get eq '?' |
|
350
|
0 |
0 |
unless $stage eq 'search' |
|
353
|
0 |
0 |
unless ($result->is_success) |
|
375
|
0 |
0 |
if $] < 5.007001 |
|
381
|
0 |
0 |
if $] < 5.007001 |
|
390
|
0 |
0 |
if ($tag eq 'prefetch') { } |
|
|
0 |
0 |
elsif ($tag eq 'postfetch') { } |
|
401
|
0 |
0 |
if ($$item{'user'}) { } |
|
|
0 |
0 |
elsif ($$item{'mode'} ne 'browser') { } |
|
416
|
0 |
0 |
if ($tag eq 'prefetch') { } |
|
|
0 |
0 |
elsif ($tag eq 'postfetch') { } |
|
429
|
0 |
0 |
if ($$item{'user'}) { } |
|
|
0 |
0 |
elsif ($$item{'mode'} ne 'browser') { } |
|
452
|
0 |
0 |
unless ($resultStruct) |
|
467
|
0 |
0 |
if ($$interpret{'bannerstart'}) { } |
|
482
|
0 |
0 |
unless ($bannerimageurl) |
|
488
|
0 |
0 |
if ($$interpret{'pagenextstart'}) |
|
497
|
0 |
0 |
if ($$interpret{'resultliststart'}) |
|
504
|
0 |
0 |
if ($$interpret{'resultitemstart'}) { } |
|
517
|
0 |
0 |
if (length $$interpret{'resultitemfind'}) |
|
533
|
0 |
0 |
if ($$interpret{'relevancestart'}) |
|
543
|
0 |
0 |
if ($$interpret{'namestart'}) |
|
546
|
0 |
0 |
if $temp |
|
549
|
0 |
0 |
if ($$interpret{'datestart'}) |
|
552
|
0 |
0 |
if $temp |
|
560
|
0 |
0 |
if $content =~ /^\s*$/ |
|
562
|
0 |
0 |
unless $rest |
|
565
|
0 |
0 |
if $relev |
|
566
|
0 |
0 |
if $skip_href and exists $$skip_href{$itemurl} |
|
568
|
0 |
0 |
if ($$interpret{'resultcontentstart'}) |
|
571
|
0 |
0 |
if ($result->is_success) |
|
597
|
0 |
0 |
if ($limit and $resultStruct->getNumResults >= $limit) |
|
606
|
0 |
0 |
$pagenexturl ? : |
|
642
|
0 |
0 |
unless ($url) |
|
647
|
0 |
0 |
unless ($url =~ m[^(?:\w+:)?//]) |
|
648
|
0 |
0 |
$url =~ m[^/] ? : |
|
650
|
0 |
0 |
if ($url =~ m[^//] and $basehref =~ /^(\w+:)/) |
|
698
|
0 |
0 |
unless UNIVERSAL::isa($attr, 'HASH') and %$attr |
|
701
|
0 |
0 |
if $tag =~ /^(?:pre|post)fetch$/ |
|
705
|
0 |
0 |
unless ($key) = grep({lc $_ eq lc $key;} @{$Attr{$tag};}) |
|
707
|
0 |
0 |
if length $val |
|
718
|
0 |
0 |
if length $$self{$stage}{'action'} |
|
721
|
0 |
0 |
unless $stage =~ /^(.*?)(?:fetch)?(?:search)?$/ |
|
727
|
0 |
0 |
if ($stage eq 'search') |
|
734
|
0 |
0 |
if $$self{$stage} and %{$$self{$stage};} and length $$self{$stage}{'action'} |