blib/lib/POE/Component/IRC/Plugin/QueryDNSBL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 18 | 5.5 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 0 | unless ref $args{'resolver'} and $args{'resolver'}->isa('POE::Component::Client::DNS') |
49 | 0 | 0 | unless $command and $command =~ /^\Q$cmdstr\E/i |
59 | 0 | 0 | unless $string and $string =~ /^\Q$cmdstr\E\s+/i |
60 | 0 | 0 | $$self{'privmsg'} ? : |
66 | 0 | 0 | unless $cmdstr and $query |
67 | 0 | 0 | unless (ip_is_ipv4($query)) |
85 | 0 | 0 | if ($$response{'error'}) { } |
89 | 0 | 0 | if ($$response{'response'} eq 'NXDOMAIN') { } |
93 | 0 | 0 | $$response{'reason'} ? : |