blib/lib/Net/Google/SafeBrowsing4.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 63 | 7.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
268 | 0 | 0 | 0 | $time > &Net::Google::SafeBrowsing4::time() and $force == 0 |
517 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
537 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
560 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
569 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
574 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
578 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
634 | 0 | 0 | 0 | $threat eq '*' || $original->{'threatType'} eq $threat and $platform eq '*' || $original->{'platformType'} eq $platform |
0 | 0 | 0 | $threat eq '*' || $original->{'threatType'} eq $threat and $platform eq '*' || $original->{'platformType'} eq $platform and $threatEntry eq '*' || $original->{'threatEntryType'} eq $threatEntry | |
738 | 0 | 0 | 0 | $_->{'threatType'} eq $info->{'list'}{'threatType'} and $_->{'platformType'} eq $info->{'list'}{'platformType'} |
line | l | !l | condition |
---|---|---|---|
263 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
264 | 0 | 0 | $args{'force'} || 0 |
423 | 2 | 1 | $@ || 'Data is an array and not an object' |
481 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
842 | 0 | 0 | $info->{'minimumWaitDuration'} || 0 |
845 | 0 | 0 | $info->{'negativeCacheDuration'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
422 | 2 | 1 | 2 | $@ or ref $info ne 'HASH' |
606 | 0 | 0 | 0 | $args{'lists'} or $self->{'lists'} |
634 | 0 | 0 | 0 | $threat eq '*' || $original->{'threatType'} eq $threat |
0 | 0 | 0 | $platform eq '*' || $original->{'platformType'} eq $platform | |
0 | 0 | 0 | $threatEntry eq '*' || $original->{'threatEntryType'} eq $threatEntry | |
666 | 0 | 0 | 0 | $args{'time'} || &Net::Google::SafeBrowsing4::time() |
818 | 0 | 0 | 0 | not exists $info->{'matches'} or scalar @{$info->{'matches'};} == 0 |