Subroutine Coverage

blib/lib/Net/BGP/Transport.pm
Criterion Covered Total %
subroutine 99 118 83.9
pod 7 56 12.5


line count pod subroutine
4 4 n/a BEGIN
6 4 n/a BEGIN
7 4 n/a BEGIN
11 4 n/a BEGIN
20 65 No TRUE
21 74 No FALSE
25 0 No BGP_PORT
26 11 No BGP_VERSION_4
30 114 No BGP_MESSAGE_HEADER_LENGTH
31 20 No BGP_MAX_MESSAGE_LENGTH
32 6 No BGP_CONNECT_RETRY_TIME
33 6 No BGP_HOLD_TIME
34 6 No BGP_KEEPALIVE_TIME
38 22 No BGP_STATE_IDLE
39 4 No BGP_STATE_CONNECT
40 0 No BGP_STATE_ACTIVE
41 4 No BGP_STATE_OPEN_SENT
42 22 No BGP_STATE_OPEN_CONFIRM
43 64 No BGP_STATE_ESTABLISHED
51 5 No BGP_EVENT_START
52 0 No BGP_EVENT_STOP
53 4 No BGP_EVENT_TRANSPORT_CONN_OPEN
54 0 No BGP_EVENT_TRANSPORT_CONN_CLOSED
55 0 No BGP_EVENT_TRANSPORT_CONN_OPEN_FAILED
56 0 No BGP_EVENT_TRANSPORT_FATAL_ERROR
57 76 No BGP_EVENT_CONNECT_RETRY_TIMER_EXPIRED
58 76 No BGP_EVENT_HOLD_TIMER_EXPIRED
59 76 No BGP_EVENT_KEEPALIVE_TIMER_EXPIRED
60 4 No BGP_EVENT_RECEIVE_OPEN_MESSAGE
61 12 No BGP_EVENT_RECEIVE_KEEP_ALIVE_MESSAGE
62 4 No BGP_EVENT_RECEIVE_UPDATE_MESSAGE
63 4 No BGP_EVENT_RECEIVE_NOTIFICATION_MESSAGE
64 4 No BGP_EVENT_RECEIVE_REFRESH_MESSAGE
88 26 No BGP_MESSAGE_OPEN
89 4 No BGP_MESSAGE_UPDATE
90 2 No BGP_MESSAGE_NOTIFICATION
91 28 No BGP_MESSAGE_KEEPALIVE
92 22 No BGP_MESSAGE_REFRESH
96 0 No BGP_OPTION_AUTH
97 36 No BGP_OPTION_CAPABILITIES
100 23 No BGP_CAPABILITY_MBGP
101 23 No BGP_CAPABILITY_REFRESH
102 20 No BGP_CAPABILITY_AS4
103 23 No BGP_CAPABILITY_REFRESH_OLD
199 66 No AWAITING_HEADER_START
200 12 No AWAITING_HEADER_FRAGMENT
201 24 No AWAITING_MESSAGE_FRAGMENT
213 4 n/a BEGIN
214 4 n/a BEGIN
215 4 n/a BEGIN
216 4 n/a BEGIN
217 4 n/a BEGIN
218 4 n/a BEGIN
219 4 n/a BEGIN
220 4 n/a BEGIN
221 4 n/a BEGIN
231 0 No dump_hex
260 6 Yes new
322 5 Yes start
328 6 Yes stop
334 0 Yes version
339 0 Yes is_established
344 1 No can_refresh
349 2 No can_as4
354 3 No can_mbgp
359 4 Yes update
376 2 Yes refresh
393 110 No parent
398 238 No sibling
408 0 n/a _clone
451 0 n/a _error
462 66 n/a _is_connected
468 80 n/a _get_socket
474 2 n/a _set_socket
481 33 n/a _enqueue_event
487 108 n/a _dequeue_event
493 12 n/a _enqueue_message
499 12 n/a _dequeue_message
505 32 n/a _handle_event
556 18 n/a _trigger_post_transition_action
574 76 n/a _handle_pending_events
589 76 n/a _update_timers
630 20 n/a _send_msg
661 32 n/a _handle_socket_read_ready
738 4 n/a _handle_socket_write_ready
746 0 n/a _handle_socket_error_condition
752 8 n/a _close_session
774 6 n/a _kill_session
794 0 n/a _ignore_start_event
800 8 n/a _handle_receive_keepalive_message
815 4 n/a _handle_receive_update_message
837 2 n/a _handle_receive_refresh_message
862 2 n/a _handle_receive_notification_message
876 4 n/a _handle_keepalive_expired
891 0 n/a _handle_hold_timer_expired
898 0 n/a _handle_bgp_fsm_error
905 4 n/a _handle_bgp_conn_open
920 0 n/a _handle_collision_selfdestuct
928 4 n/a _handle_bgp_open_received
983 0 n/a _handle_open_sent_disconnect
991 0 n/a _handle_connect_retry_restart
1001 4 n/a _handle_bgp_start_event
1065 5 n/a _min
1071 6 n/a _cease
1086 22 n/a _encode_bgp_message
1116 20 n/a _decode_bgp_message_header
1174 6 n/a _encode_bgp_open_message
1235 6 n/a _encode_capability_mbgp
1247 3 n/a _encode_capability_as4
1261 21 n/a _encode_capability
1279 5 n/a _decode_bgp_open_message
1344 15 n/a _decode_capabilities
1367 17 n/a _decode_one_capability
1408 2 n/a _decode_bgp_notification_message
1434 8 n/a _encode_bgp_keepalive_message
1440 4 n/a _encode_bgp_update_message
1446 2 n/a _encode_bgp_refresh_message
1452 2 n/a _encode_bgp_notification_message