Branch Coverage

blib/lib/AnyEvent/Radius/Client.pm
Criterion Covered Total %
branch 13 56 23.2


line true false branch
54 0 1 if (defined $h{'packer'}) { }
1 0 elsif (defined $h{'secret'}) { }
67 0 1 unless exists $h{'ip'}
69 0 1 if exists $h{'bind_ip'}
76 0 3 if ($h{'on_read_raw'})
85 0 3 if (not $send_info) { }
87 0 0 if ($h{'on_error'}) { }
97 3 0 if ($on_read or $req_callback)
104 3 0 if $on_read
112 0 3 if $req_callback
121 0 0 unless ($obj->read_cv->ready)
122 0 0 if ($h{'on_read_timeout'})
134 0 0 unless ($obj->write_cv->ready)
135 0 0 if ($h{'on_write_timeout'})
153 0 0 if ($h{'on_error'}) { }
161 0 0 if $fatal
175 0 0 if ($send_cache)
178 0 0 if (my $cb = $send_cache->{$request_id}{'callback'})
241 0 0 if (defined ${^GLOBAL_PHASE}) { }
243 0 0 if ${^GLOBAL_PHASE} eq "DESTRUCT"
247 0 0 if $_IN_GLOBAL_DESTRUCTION
250 0 0 unless $self->handler
275 0 0 if (ref $class)
284 0 3 if $self->queue_cnt > 255
290 0 0 if $new_request_id == $last_request_id
307 0 3 unless (defined $request_id)
311 3 0 if exists $AnyEvent::Radius::Client::RADIUS_PACKET_TYPES{$type}
330 0 3 wantarray ? :