blib/lib/WWW/Search/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 51 | 3.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
250 | 0 | 0 | 0 | $self->{'mode'} eq $WWW::Search::Test::MODE_INTERNAL and $query =~ /$WWW::Search::Test::bogus_query/ |
527 | 0 | 0 | 0 | defined(my $s1 = readline DIFF1) and $iResult ne 1 |
680 | 0 | 0 | 0 | $iAnyFailure and $WWW::Search::Test::sSaveOnError ne '' |
713 | 0 | 0 | 0 | defined $iMin and defined $iMax |
0 | 0 | 0 | defined $iMin and defined $iMax and $iMax < $iMin |
line | l | !l | condition |
---|---|---|---|
93 | 1 | 0 | shift @as || undef |
97 | 1 | 0 | $WWW::Search::Test::websearch ||= '' |
187 | 0 | 0 | $code ||= '' |
236 | 0 | 0 | $low_end ||= 0 |
237 | 0 | 0 | $high_end ||= 0 |
297 | 0 | 0 | open OUTFILE, ">$file.out" or die "$0: cannot open $file.out for writing ($!)\n" |
649 | 0 | 0 | pop @_ || 0 |
679 | 0 | 0 | $WWW::Search::Test::sSaveOnError ||= '' |
710 | 0 | 0 | $iDebug ||= 0 |
711 | 0 | 0 | $iPrintResults ||= 0 |
715 | 0 | 0 | $iMin ||= 0 |
812 | 0 | 0 | shift() || 0.8 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
290 | 0 | 0 | 0 | $websearch ||= catfile($pwd, 'blib', 'script', 'WebSearch') |
294 | 0 | 0 | 0 | $self->{'verbose'} or $self->{'debug'} |
779 | 0 | 0 | 0 | $iResults < $iMin or $iMax < $iResults |
829 | 0 | 0 | 0 | $sDesc ||= "test #$iTest" |