Condition Coverage

blib/lib/Net/BGP/Transport.pm
Criterion Covered Total %
condition 10 32 31.2


and 3 conditions

line !l l&&!r l&&r condition
379 0 0 2 $$this{'_fsm_state'} == BGP_STATE_ESTABLISHED() and $$this{'_peer_refresh'}
564 14 0 4 $pre_state == BGP_STATE_OPEN_CONFIRM() and $pos_state == BGP_STATE_ESTABLISHED()
705 12 0 0 $num_read == 0 and $$this{'_in_msg_buf_bytes_exp'} != 0
1298 5 0 0 $hold_time < 3 and $hold_time != 0

or 2 conditions

line l !l condition
506 32 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
450 0 0 0 shift() || BGP_ERROR_SUBCODE_NULL()
930 0 0 0 $$this{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_SENT() or $$this{'_sibling'}{'_fsm_state'} == BGP_STATE_OPEN_CONFIRM()
1129 0 0 20 $length < BGP_MESSAGE_HEADER_LENGTH() or $length > BGP_MAX_MESSAGE_LENGTH()
1139 0 0 20 $type < BGP_MESSAGE_OPEN() or $type > BGP_MESSAGE_REFRESH()
1405 0 0 2 $error_code < 1 or $error_code > 6
1411 0 0 2 $error_subcode < 0 or $error_subcode > 11