blib/lib/Net/Google/SafeBrowsing4.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 66 | 7.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
258 | 0 | 0 | 0 | $time > &Net::Google::SafeBrowsing4::time() and $force == 0 |
437 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
532 | 0 | 0 | 0 | $self->{'perf'} and $self->{'logger'} |
554 | 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'} |
616 | 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 | |
716 | 0 | 0 | 0 | $_->{'threatType'} eq $info->{'list'}{'threatType'} and $_->{'platformType'} eq $info->{'list'}{'platformType'} |
line | l | !l | condition |
---|---|---|---|
253 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
254 | 0 | 0 | $args{'force'} || 0 |
410 | 0 | 0 | $args{'lists'} || $self->{'lists'} || [] |
498 | 2 | 1 | $@ || 'Data is an array not an object' |
820 | 0 | 0 | $info->{'minimumWaitDuration'} || 0 |
823 | 0 | 0 | $info->{'negativeCacheDuration'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
497 | 2 | 1 | 2 | $@ or ref $info ne 'HASH' |
524 | 0 | 0 | 0 | $args{'lists'} || croak("Missing lists\n") |
591 | 0 | 0 | 0 | $args{'lists'} or $self->{'lists'} |
616 | 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 | |
648 | 0 | 0 | 0 | $args{'time'} || &Net::Google::SafeBrowsing4::time() |
796 | 0 | 0 | 0 | not exists $info->{'matches'} or scalar @{$info->{'matches'};} == 0 |