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 60 n/a BEGIN
16 60 n/a BEGIN
19 60 n/a BEGIN
22 60 n/a BEGIN
23 60 n/a BEGIN
24 60 n/a BEGIN
25 60 n/a BEGIN
26 60 n/a BEGIN
27 60 n/a BEGIN
28 60 n/a BEGIN
29 60 n/a BEGIN
39 60 n/a BEGIN
48 60 n/a BEGIN
49 60 n/a BEGIN
50 60 n/a BEGIN
51 60 n/a BEGIN
52 60 n/a BEGIN
53 60 n/a BEGIN
54 60 n/a BEGIN
56 60 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 331 No BUILD
396 331 No DEMOLISH
405 54 n/a _check_for_uri_changes
438 4548 No all_servers
440 0 No all_data_bearing_servers
443 108 No check_address
458 0 No close_all_links
464 54 n/a _maybe_get_txn_error_labels_and_unpin_from
477 0 No get_readable_link
515 0 No get_specific_link
531 54 No get_writable_link
565 0 No mark_server_unknown
571 0 No mark_stale
577 1080 No scan_all_servers
597 108 n/a __ANON__
600 108 n/a __ANON__
620 0 No status_struct
645 520 n/a _add_address_as_unknown
660 121 n/a _check_for_primary
670 108 n/a _check_oldest_server
686 1235 n/a _check_wire_versions
717 261 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 1097 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 30 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 1143 n/a _get_server_in_latency_window
953 0 n/a _ping_server
969 0 n/a _get_server_link
1000 108 n/a _initialize_link
1023 0 n/a __ANON__
1039 203 n/a _primaries
1043 225 n/a _remove_address
1054 13 n/a _remove_server
1060 118 n/a _reset_address_to_unknown
1071 51 n/a _secondaries
1075 54 n/a _status_string
1092 54 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 263 n/a _update_topology_from_server_desc
1311 483 n/a _update_ewma
1328 261 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 76 n/a _update_Single
1555 54 n/a _update_Direct
1569 13 n/a _update_Unknown