Condition Coverage

blib/lib/POE/Component/IRC/Plugin/QueryDNS.pm
Criterion Covered Total %
condition 1 19 5.2


and 3 conditions

line !l l&&!r l&&r condition
19 1 0 0 ref $args{'resolver'} and $args{'resolver'}->isa('POE::Component::Client::DNS')
51 0 0 0 $command and $command =~ /^\Q$cmdstr\E/i
61 0 0 0 $string and $string =~ /^\Q$cmdstr\E\s+/i
68 0 0 0 $cmdstr and $query
70 0 0 0 $type and $type =~ /^(A|CNAME|NS|MX|PTR|TXT|AAAA|SRV|SOA)$/i

or 2 conditions

line l !l condition
49 0 0 $$self{'command'} || 'dns'
60 0 0 $$self{'command'} || 'dns'