Condition Coverage

blib/lib/IO/Async/Resolver.pm
Criterion Covered Total %
condition 20 29 68.9


and 3 conditions

line !l l&&!r l&&r condition
377 4 0 12 $host =~ /^[\d.]+$/ || $host =~ /^[[:xdigit:]:]$/ || $host eq '' and $service =~ /^\d*$/

or 2 conditions

line l !l condition
241 0 15 $args{'timeout'} || 10
358 14 2 $args{'host'} || ''
360 0 16 $args{'flags'} || 0
501 0 5 $args{'flags'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
353 4 12 0 $args{'on_resolved'} or defined wantarray
356 4 12 0 $args{'on_error'} or defined wantarray
368 61 1 0 defined $args{$_} or delete $args{$_}
377 10 2 4 $host =~ /^[\d.]+$/ || $host =~ /^[[:xdigit:]:]$/ || $host eq ''
496 2 3 0 $args{'on_resolved'} or defined wantarray
499 2 3 0 $args{'on_error'} or defined wantarray