Branch Coverage

blib/lib/AnyEvent/CacheDNS.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
25 1 0 if ($key eq ':register')
38 1 1 if (exists $$cache{$qname})
40 1 0 $response ? :
55 1 0 @_ ? :
58 1 0 $IS_AE_6X && @_ ? :
0 1 defined $DEFAULT_TTL ? :
63 1 0 if ($ttl > 0)
86 0 1 if exists $ENV{$key}
90 0 1 if (exists $ENV{'PERL_ANYEVENT_RESOLV_CONF'}) { }
92 0 0 if length $conf
98 0 1 if exists $ENV{'PERL_ANYEVENT_DNS_TTL'}