Branch Coverage

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


line true false branch
49 0 1 if (defined $h{'packer'}) { }
1 0 elsif (defined $h{'secret'}) { }
62 0 1 unless exists $h{'ip'}
64 0 1 if exists $h{'bind_ip'}
71 0 2 if ($h{'on_read_raw'})
80 0 2 if (not $send_info) { }
82 0 0 if ($h{'on_error'}) { }
92 2 0 if ($on_read or $req_callback)
99 2 0 if $on_read
107 0 2 if $req_callback
116 0 0 unless ($obj->read_cv->ready)
117 0 0 if ($h{'on_read_timeout'})
129 0 0 unless ($obj->write_cv->ready)
130 0 0 if ($h{'on_write_timeout'})
148 0 0 if ($h{'on_error'}) { }
156 0 0 if $fatal
170 0 0 if ($send_cache)
173 0 0 if (my $cb = $send_cache->{$request_id}{'callback'})
238 0 0 if (defined ${^GLOBAL_PHASE}) { }
240 0 0 if ${^GLOBAL_PHASE} eq "DESTRUCT"
244 0 0 if $_IN_GLOBAL_DESTRUCTION
247 0 0 unless $self->handler
272 0 0 if (ref $class)
286 0 0 if $new_request_id == $last_request_id
301 0 2 if ($self->queue_cnt >= 255)
307 0 2 unless defined $request_id
309 2 0 if exists $AnyEvent::Radius::Client::RADIUS_PACKET_TYPES{$type}
330 0 2 wantarray ? :