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
657 32 n/a _handle_socket_read_ready
734 4 n/a _handle_socket_write_ready
742 0 n/a _handle_socket_error_condition
748 8 n/a _close_session
770 6 n/a _kill_session
790 0 n/a _ignore_start_event
796 8 n/a _handle_receive_keepalive_message
811 4 n/a _handle_receive_update_message
833 2 n/a _handle_receive_refresh_message
858 2 n/a _handle_receive_notification_message
872 4 n/a _handle_keepalive_expired
887 0 n/a _handle_hold_timer_expired
894 0 n/a _handle_bgp_fsm_error
901 4 n/a _handle_bgp_conn_open
916 0 n/a _handle_collision_selfdestuct
924 4 n/a _handle_bgp_open_received
979 0 n/a _handle_open_sent_disconnect
987 0 n/a _handle_connect_retry_restart
997 4 n/a _handle_bgp_start_event
1061 5 n/a _min
1067 6 n/a _cease
1082 22 n/a _encode_bgp_message
1112 20 n/a _decode_bgp_message_header
1170 6 n/a _encode_bgp_open_message
1231 6 n/a _encode_capability_mbgp
1243 3 n/a _encode_capability_as4
1257 21 n/a _encode_capability
1275 5 n/a _decode_bgp_open_message
1340 15 n/a _decode_capabilities
1363 17 n/a _decode_one_capability
1404 2 n/a _decode_bgp_notification_message
1430 8 n/a _encode_bgp_keepalive_message
1436 4 n/a _encode_bgp_update_message
1442 2 n/a _encode_bgp_refresh_message
1448 2 n/a _encode_bgp_notification_message