blib/lib/Net/Google/SafeBrowsing4.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 63 | 7.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
265 | 0 | 0 | 0 | $time > &Net::Google::SafeBrowsing4::time() and $force == 0 |
514 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
534 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
557 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
566 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
571 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
575 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
631 | 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 | |
735 | 0 | 0 | 0 | $_->{'threatType'} eq $info->{'list'}{'threatType'} and $_->{'platformType'} eq $info->{'list'}{'platformType'} |
line | l | !l | condition |
---|---|---|---|
260 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
261 | 0 | 0 | $args{'force'} || 0 |
420 | 2 | 1 | $@ || 'Data is an array and not an object' |
478 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
839 | 0 | 0 | $info->{'minimumWaitDuration'} || 0 |
842 | 0 | 0 | $info->{'negativeCacheDuration'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
419 | 2 | 1 | 2 | $@ or ref $info ne 'HASH' |
603 | 0 | 0 | 0 | $args{'lists'} or $self->{'lists'} |
631 | 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 | |
663 | 0 | 0 | 0 | $args{'time'} || &Net::Google::SafeBrowsing4::time() |
815 | 0 | 0 | 0 | not exists $info->{'matches'} or scalar @{$info->{'matches'};} == 0 |