Subroutine Coverage

blib/lib/MongoDB/_Topology.pm
Criterion Covered Total %
subroutine 68 88 77.2
pod 0 14 0.0


line count pod subroutine
15 59 n/a BEGIN
16 59 n/a BEGIN
19 59 n/a BEGIN
22 59 n/a BEGIN
23 59 n/a BEGIN
24 59 n/a BEGIN
25 59 n/a BEGIN
26 59 n/a BEGIN
27 59 n/a BEGIN
28 59 n/a BEGIN
29 59 n/a BEGIN
39 59 n/a BEGIN
48 59 n/a BEGIN
49 59 n/a BEGIN
50 59 n/a BEGIN
51 59 n/a BEGIN
52 59 n/a BEGIN
53 59 n/a BEGIN
54 59 n/a BEGIN
56 59 n/a BEGIN
307 0 No update_cluster_time
327 2 n/a _build_number_of_seeds
332 0 n/a _truncate_for_handshake
337 0 n/a _build_handshake_document
356 330 No BUILD
396 330 No DEMOLISH
405 53 n/a _check_for_uri_changes
438 4483 No all_servers
440 0 No all_data_bearing_servers
443 106 No check_address
458 0 No close_all_links
464 53 n/a _maybe_get_txn_error_labels_and_unpin_from
477 0 No get_readable_link
515 0 No get_specific_link
531 53 No get_writable_link
565 0 No mark_server_unknown
571 0 No mark_stale
577 1060 No scan_all_servers
597 106 n/a __ANON__
600 106 n/a __ANON__
620 0 No status_struct
645 517 n/a _add_address_as_unknown
660 121 n/a _check_for_primary
670 106 n/a _check_oldest_server
686 1215 n/a _check_wire_versions
717 259 n/a _update_ls_timeout_minutes
735 0 n/a _supports_sessions
746 0 n/a _supports_transactions
756 0 n/a _supports_mongos_pinning_transactions
766 76 n/a _check_staleness_compatibility
793 0 n/a _dump
798 42 n/a _eligible
822 19 n/a _filter_fresh_servers
863 1077 n/a _find_available_server
876 7 n/a _find_readable_mongos_server
887 23 n/a _find_nearest_server
898 18 n/a _find_primary_server
902 24 n/a __ANON__
906 8 n/a _find_primarypreferred_server
913 24 n/a _find_secondary_server
924 11 n/a _find_secondarypreferred_server
931 1123 n/a _get_server_in_latency_window
953 0 n/a _ping_server
969 0 n/a _get_server_link
1000 106 n/a _initialize_link
1023 0 n/a __ANON__
1039 203 n/a _primaries
1043 223 n/a _remove_address
1054 13 n/a _remove_server
1060 116 n/a _reset_address_to_unknown
1071 51 n/a _secondaries
1075 53 n/a _status_string
1092 53 n/a _selection_timeout
1165 0 n/a _generate_ismaster_request
1185 0 n/a _update_topology_from_link
1263 0 n/a _construct_compressor
1280 261 n/a _update_topology_from_server_desc
1311 481 n/a _update_ewma
1328 259 n/a _update_link_metadata
1340 17 n/a _update_rs_with_primary_from_member
1372 63 n/a _update_rs_with_primary_from_primary
1442 10 n/a _update_rs_without_primary
1483 53 n/a _update_ReplicaSetNoPrimary
1507 54 n/a _update_ReplicaSetWithPrimary
1532 11 n/a _update_Sharded
1547 75 n/a _update_Single
1555 53 n/a _update_Direct
1569 13 n/a _update_Unknown