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
201 54 0 11 $type eq 'A' || $type eq 'AAAA' and $class eq 'IN'
325 0 0 13 defined $socket and $event eq $socket
385 0 61 0 defined $packet and not defined $packet->answerfrom
478 2 5 0 $global_hosts_file and not -f $global_hosts_file
526 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)
568 6 4 0 exists $self->[8]{$host} and exists $self->[8]{$host}{$type}

or 2 conditions

line l !l condition
52 0 7 $nameservers ||= [$resolver->nameservers]
494 0 0 $ENV{'SystemRoot'} || 'c:\\Windows'
526 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
201 10 1 54 $type eq 'A' || $type eq 'AAAA'
492 0 0 2 $^O eq 'MSWin32' or $^O eq 'Cygwin'