blib/lib/Net/Google/SafeBrowsing3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 87 | 4.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
334 | 0 | 0 | 0 | $info->{'time'} + $info->{'wait'} > time and $force == 0 |
621 | 0 | 0 | 0 | defined $hash and defined $list |
1136 | 37 | 3 | 0 | $exception and $escape =~ m[^[a-z]+://[^/]+/(.+)] |
1210 | 0 | 0 | 0 | defined $errors and $errors->{'errors'} > 2 |
1237 | 0 | 0 | 0 | defined $errors and $errors->{'errors'} >= 2 || $errors->{'errors'} == 1 && time - $errors->{'timestamp'} > 300 |
1363 | 0 | 0 | 0 | $i > 1 and $new_range == 1 |
line | l | !l | condition |
---|---|---|---|
320 | 0 | 0 | $args{'force'} || 0 |
531 | 0 | 0 | $args{'list'} || '' |
532 | 0 | 0 | $args{'url'} || (return '') |
575 | 0 | 0 | $args{'url'} || (return '') |
603 | 0 | 0 | $result->{'type'} || 0 |
626 | 0 | 0 | $hash->{'type'} || 0 |
648 | 0 | 0 | $args{'url'} || (return ()) |
649 | 0 | 0 | $args{'full_hashes'} || [] |
650 | 0 | 0 | $args{'full_hashes_prefix'} || [] |
719 | 0 | 0 | $args{'list'} || '' |
767 | 0 | 0 | $args{'data'} || '' |
768 | 0 | 0 | $args{'list'} || '' |
803 | 0 | 0 | $args{'chunk'} || (return ()) |
820 | 0 | 0 | $chunk->{'prefix_type'} || 0 |
821 | 0 | 0 | $chunk->{'hashes'} || '' |
848 | 0 | 0 | $args{'chunk'} || (return ()) |
856 | 0 | 0 | $chunk->{'prefix_type'} || 0 |
857 | 0 | 0 | $chunk->{'hashes'} || '' |
1190 | 0 | 0 | $args{'prefixes'} || (return ()) |
1353 | 0 | 0 | $args{'numbers'} || [] |
1386 | 0 | 0 | $args{'range'} || (return ()) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
574 | 0 | 0 | 0 | $args{'lists'} || croak("Missing lists\n") |
647 | 0 | 0 | 0 | $args{'lists'} || croak("Missing lists\n") |
688 | 0 | 0 | 0 | $add_chunk->{'chunknum'} != $sub_chunk->{'addchunknum'} or $add_chunk->{'list'} ne $sub_chunk->{'list'} |
718 | 0 | 0 | 0 | $args{'time'} || time |
782 | 0 | 0 | 0 | not exists $data->{'chunk_type'} or $data->{'chunk_type'} == 0 |
923 | 0 | 0 | 0 | $self->{'debug'} > 0 or $self->{'errors'} > 0 |
1065 | 3 | 0 | 37 | not $uri->scheme or $uri->scheme eq '' |
1191 | 0 | 0 | 0 | $args{'size'} || length $prefixes->[0] |
1237 | 0 | 0 | 0 | $errors->{'errors'} >= 2 || $errors->{'errors'} == 1 && time - $errors->{'timestamp'} > 300 |