Branch Coverage

blib/lib/IO/Async/Resolver/DNS.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
90 0 6 unless my $code = 'IO::Async::Resolver::DNS'->can("_extract_$type")
116 4 4 if $rr->type eq 'A' or $rr->type eq 'AAAA'
137 0 0 if $rr->type eq 'PTR'
166 3 0 if $rr->type eq 'A' or $rr->type eq 'AAAA'
172 1 1 if $additional{$exchange}{'address'}
203 4 0 if $rr->type eq 'A' or $rr->type eq 'AAAA'
213 2 3 unless $_->weight
219 4 1 if $additional{$target}{'address'}
282 0 4 unless my $dname = $args{'dname'}
284 0 4 unless my $type = $args{'type'}
287 0 4 unless ref $on_resolved
314 0 2 unless my $dname = $args{'dname'}
316 0 2 unless my $type = $args{'type'}
319 0 2 unless ref $on_resolved