Condition Coverage

blib/lib/Net/BGP/Transport.pm
Criterion Covered Total %
condition 9 32 28.1


and 3 conditions

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()
713 12 0 0 $num_read == 0 and $this->{'_in_msg_buf_bytes_exp'} != 0
1306 5 0 0 $hold_time < 3 and $hold_time != 0

or 2 conditions

line l !l condition
509 0 0 $Net::BGP::Transport::BGP_FSM[$state][$event] || $Net::BGP::Transport::BGP_FSM[$state][0] || undef

or 3 conditions

line l !l&&r !l&&!r condition
453 0 0 0 shift() || BGP_ERROR_SUBCODE_NULL()
938 0 0 0 $this->{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_SENT() or $this->{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_CONFIRM()
1137 0 0 20 $length < BGP_MESSAGE_HEADER_LENGTH() or $length > BGP_MAX_MESSAGE_LENGTH()
1147 0 0 20 $type < BGP_MESSAGE_OPEN() or $type > BGP_MESSAGE_REFRESH()
1413 0 0 2 $error_code < 1 or $error_code > 6
1419 0 0 2 $error_subcode < 0 or $error_subcode > 11