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 70 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 18 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
196 62 No AWAITING_HEADER_START
197 12 No AWAITING_HEADER_FRAGMENT
198 24 No AWAITING_MESSAGE_FRAGMENT
210 4 n/a BEGIN
211 4 n/a BEGIN
212 4 n/a BEGIN
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
228 0 No dump_hex
257 6 Yes new
319 5 Yes start
325 6 Yes stop
331 0 Yes version
336 0 Yes is_established
341 1 No can_refresh
346 2 No can_as4
351 3 No can_mbgp
356 4 Yes update
373 2 Yes refresh
390 110 No parent
395 238 No sibling
405 0 n/a _clone
448 0 n/a _error
459 66 n/a _is_connected
465 80 n/a _get_socket
471 2 n/a _set_socket
478 33 n/a _enqueue_event
484 108 n/a _dequeue_event
490 12 n/a _enqueue_message
496 12 n/a _dequeue_message
502 32 n/a _handle_event
553 18 n/a _trigger_post_transition_action
571 76 n/a _handle_pending_events
586 76 n/a _update_timers
627 20 n/a _send_msg
654 32 n/a _handle_socket_read_ready
730 4 n/a _handle_socket_write_ready
738 0 n/a _handle_socket_error_condition
744 4 n/a _close_session
766 6 n/a _kill_session
786 0 n/a _ignore_start_event
792 8 n/a _handle_receive_keepalive_message
807 4 n/a _handle_receive_update_message
829 2 n/a _handle_receive_refresh_message
854 2 n/a _handle_receive_notification_message
868 4 n/a _handle_keepalive_expired
883 0 n/a _handle_hold_timer_expired
890 0 n/a _handle_bgp_fsm_error
897 4 n/a _handle_bgp_conn_open
912 0 n/a _handle_collision_selfdestuct
920 4 n/a _handle_bgp_open_received
975 0 n/a _handle_open_sent_disconnect
983 0 n/a _handle_connect_retry_restart
993 4 n/a _handle_bgp_start_event
1057 5 n/a _min
1063 6 n/a _cease
1078 22 n/a _encode_bgp_message
1108 20 n/a _decode_bgp_message_header
1166 6 n/a _encode_bgp_open_message
1227 6 n/a _encode_capability_mbgp
1239 3 n/a _encode_capability_as4
1253 21 n/a _encode_capability
1271 5 n/a _decode_bgp_open_message
1336 15 n/a _decode_capabilities
1359 17 n/a _decode_one_capability
1400 2 n/a _decode_bgp_notification_message
1426 8 n/a _encode_bgp_keepalive_message
1432 4 n/a _encode_bgp_update_message
1438 2 n/a _encode_bgp_refresh_message
1444 2 n/a _encode_bgp_notification_message