Condition Coverage

blib/lib/POE/Component/Client/DNS.pm
Criterion Covered Total %
condition 24 42 57.1


and 3 conditions

line !l l&&!r l&&r condition
204 54 0 11 $type eq 'A' || $type eq 'AAAA' and $class eq 'IN'
317 0 0 8 defined $socket and $event eq $socket
375 0 61 0 defined $packet and not defined $packet->answerfrom
468 2 5 0 $global_hosts_file and not -f $global_hosts_file
512 4 0 7 $$self[5] == ($mtime || -1) and $$self[6] == ($ctime || -1)
4 0 7 $$self[5] == ($mtime || -1) and $$self[6] == ($ctime || -1) and $$self[7] == ($inode || -1)
0 1 6 $$self[5] == ($mtime || -1) and $$self[6] == ($ctime || -1) and $$self[7] == ($inode || -1) and $$self[9] == ($bytes || -1)
553 6 0 4 exists $$self[8]{$host} and exists $$self[8]{$host}{$type}

or 2 conditions

line l !l condition
55 0 7 $nameservers ||= [$resolver->nameservers]
480 0 0 $ENV{'SystemRoot'} || 'c:\\Windows'
512 10 1 $mtime || -1
7 0 $ctime || -1
7 0 $inode || -1
7 0 $bytes || -1

or 3 conditions

line l !l&&r !l&&!r condition
204 10 1 54 $type eq 'A' || $type eq 'AAAA'
478 0 0 2 $^O eq 'MSWin32' or $^O eq 'Cygwin'