blib/lib/Net/BGP/Transport.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 32 | 28.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
382 | 0 | 0 | 2 | $this->{'_fsm_state'} == BGP_STATE_ESTABLISHED() and $this->{'_peer_refresh'} |
567 | 14 | 0 | 4 | $pre_state == BGP_STATE_OPEN_CONFIRM() and $pos_state == BGP_STATE_ESTABLISHED() |
709 | 12 | 0 | 0 | $num_read == 0 and $this->{'_in_msg_buf_bytes_exp'} != 0 |
1302 | 5 | 0 | 0 | $hold_time < 3 and $hold_time != 0 |
line | l | !l | condition |
---|---|---|---|
509 | 0 | 0 | $Net::BGP::Transport::BGP_FSM[$state][$event] || $Net::BGP::Transport::BGP_FSM[$state][0] || undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
453 | 0 | 0 | 0 | shift() || BGP_ERROR_SUBCODE_NULL() |
934 | 0 | 0 | 0 | $this->{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_SENT() or $this->{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_CONFIRM() |
1133 | 0 | 0 | 20 | $length < BGP_MESSAGE_HEADER_LENGTH() or $length > BGP_MAX_MESSAGE_LENGTH() |
1143 | 0 | 0 | 20 | $type < BGP_MESSAGE_OPEN() or $type > BGP_MESSAGE_REFRESH() |
1409 | 0 | 0 | 2 | $error_code < 1 or $error_code > 6 |
1415 | 0 | 0 | 2 | $error_subcode < 0 or $error_subcode > 11 |