| blib/lib/WebService/Livedoor/SpamChampuru/DNSBL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 81 | 1 | 0 | if (my $res = $self->_dnslookup_with_timeout($dnsbl_request, $$self{'timeout'})) |
| 82 | 1 | 0 | if ($res eq $DNSBL_ANS) |
| 94 | 0 | 1 | if (defined $$self{'nameservers'}) { } |
| 107 | 1 | 0 | if (@ready) |
| 109 | 1 | 0 | if ($sock == $bgsock) |
| 111 | 1 | 0 | if ($packet) |
| 113 | 0 | 1 | unless $rr->type eq 'A' |