Branch Coverage

blib/lib/AnyEvent/Radius/Client.pm
Criterion Covered Total %
branch 10 46 21.7


line true false branch
43 0 1 unless $h{'ip'}
46 0 1 unless $h{'packer'} or $h{'secret'}
56 0 2 if ($h{'on_read_raw'})
65 0 2 if (not $send_info) { }
67 0 0 if ($h{'on_error'}) { }
77 2 0 if ($on_read or $req_callback)
84 2 0 if $on_read
92 0 2 if $req_callback
101 0 0 unless ($obj->read_cv->ready)
102 0 0 if ($h{'on_read_timeout'})
114 0 0 unless ($obj->write_cv->ready)
115 0 0 if ($h{'on_write_timeout'})
133 0 0 if ($h{'on_error'}) { }
165 0 0 if ($send_cache)
168 0 0 if (my $cb = $send_cache->{$request_id}{'callback'})
232 0 0 if (defined ${^GLOBAL_PHASE}) { }
234 0 0 if ${^GLOBAL_PHASE} eq 'DESTRUCT'
238 0 0 if $_IN_GLOBAL_DESTRUCTION
241 0 0 unless $self->handler
266 0 0 if (ref $class)
283 0 2 if ($self->queue_cnt >= 255)
288 2 0 if exists $AnyEvent::Radius::Client::RADIUS_PACKET_TYPES{$type}
305 0 2 wantarray ? :