id: 1 unit: fn build_and_save_report() file: nfm-controller/src/reports/report_otlp.rs start line: 398 end line: 580 size: 167 LOC McCabe index: 2 number of parameters: 1 id: 2 unit: fn test_enrich_flows_multi_scenario() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 603 end line: 763 size: 156 LOC McCabe index: 9 number of parameters: 0 id: 3 unit: fn test_sock_to_flow_rtt_add() file: nfm-controller/src/events/network_event.rs start line: 398 end line: 544 size: 136 LOC McCabe index: 1 number of parameters: 0 id: 4 unit: fn test_network_stats_add_from() file: nfm-controller/src/events/network_event.rs start line: 547 end line: 671 size: 110 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: fn test_get_host_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 304 end line: 420 size: 104 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: fn test_build_report() file: nfm-controller/src/reports/report.rs start line: 183 end line: 294 size: 101 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: fn do_work() file: nfm-controller/src/lib.rs start line: 186 end line: 287 size: 89 LOC McCabe index: 12 number of parameters: 7 id: 8 unit: fn test_sock_stats_add_from() file: nfm-common/src/network.rs start line: 424 end line: 533 size: 84 LOC McCabe index: 1 number of parameters: 0 id: 9 unit: fn test_sock_stats_subtract() file: nfm-common/src/network.rs start line: 650 end line: 735 size: 82 LOC McCabe index: 1 number of parameters: 0 id: 10 unit: fn test_top_loss_filter() file: nfm-controller/src/events/event_filter_top_loss.rs start line: 126 end line: 214 size: 80 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: fn test_ebpf_sock_op_retrans() file: nfm-common/src/sock_ops_handler.rs start line: 677 end line: 762 size: 74 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: fn test_nat_resolver_aggregation() file: nfm-controller/src/events/nat_resolver.rs start line: 226 end line: 313 size: 74 LOC McCabe index: 2 number of parameters: 0 id: 13 unit: fn perform_aggregation_cycle() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 91 end line: 187 size: 74 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: fn test_request() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 306 end line: 388 size: 71 LOC McCabe index: 4 number of parameters: 0 id: 15 unit: fn test_ebpf_sock_op_rto() file: nfm-common/src/sock_ops_handler.rs start line: 765 end line: 838 size: 66 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: fn test_get_sock_deltas_new_and_changed() file: nfm-controller/src/events/sock_cache.rs start line: 564 end line: 635 size: 64 LOC McCabe index: 6 number of parameters: 0 id: 17 unit: fn test_sock_stats_add_with_last_agg_timestamp() file: nfm-common/src/network.rs start line: 352 end line: 421 size: 62 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: fn test_top_loss_cmp() file: nfm-controller/src/events/event_filter_top_loss.rs start line: 61 end line: 123 size: 62 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: fn test_flow_aggregation_with_nat() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 795 end line: 862 size: 60 LOC McCabe index: 4 number of parameters: 0 id: 20 unit: fn test_get_sockets_to_evict_some_closed() file: nfm-controller/src/events/sock_cache.rs start line: 731 end line: 799 size: 59 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: fn test_get_sock_deltas_all_changed() file: nfm-controller/src/events/sock_cache.rs start line: 499 end line: 561 size: 57 LOC McCabe index: 4 number of parameters: 0 id: 22 unit: fn test_do_work() file: nfm-controller/src/lib.rs start line: 412 end line: 471 size: 55 LOC McCabe index: 9 number of parameters: 0 id: 23 unit: fn main() file: nfm-controller/src/sock_diag.rs start line: 14 end line: 80 size: 55 LOC McCabe index: 6 number of parameters: 0 id: 24 unit: fn publish() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 144 end line: 203 size: 54 LOC McCabe index: 3 number of parameters: 2 id: 25 unit: fn test_get_sockets_to_evict_some_inactive() file: nfm-controller/src/events/sock_cache.rs start line: 802 end line: 861 size: 52 LOC McCabe index: 2 number of parameters: 0 id: 26 unit: fn test_get_network_devices() file: nfm-controller/src/metadata/eni.rs start line: 261 end line: 315 size: 51 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: fn create_test_slice() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 804 end line: 855 size: 51 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: fn test_get_sockets_to_evict_all_closed() file: nfm-controller/src/events/sock_cache.rs start line: 864 end line: 923 size: 51 LOC McCabe index: 3 number of parameters: 0 id: 29 unit: fn build_report() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 604 end line: 658 size: 50 LOC McCabe index: 4 number of parameters: 3 id: 30 unit: fn aggregate_into_flows() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 378 end line: 433 size: 49 LOC McCabe index: 6 number of parameters: 3 id: 31 unit: fn test_get_sock_deltas_all_new_stats() file: nfm-controller/src/events/sock_cache.rs start line: 406 end line: 460 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: fn test_flow_aggregation_one_flow() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 581 end line: 631 size: 48 LOC McCabe index: 3 number of parameters: 0 id: 33 unit: fn test_ebpf_sock_op_rst_on_establish() file: nfm-common/src/sock_ops_handler.rs start line: 930 end line: 979 size: 44 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: fn parse_connection_properties() file: nfm-controller/src/utils/conntrack_listener.rs start line: 86 end line: 130 size: 43 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: fn run_compression_test() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 519 end line: 565 size: 43 LOC McCabe index: 4 number of parameters: 3 id: 36 unit: fn test_handle_endpoint_slice_event() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 858 end line: 906 size: 43 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: fn parse_and_save_conntrack_line() file: nfm-controller/src/kubernetes/remote_nat_resolver.rs start line: 131 end line: 176 size: 43 LOC McCabe index: 5 number of parameters: 2 id: 38 unit: fn test_flow_aggregation_many_flows() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 634 end line: 679 size: 43 LOC McCabe index: 2 number of parameters: 0 id: 39 unit: fn test_flow_aggregation_too_many_flows() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 682 end line: 727 size: 43 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: fn test_proxy_configuration() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 402 end line: 445 size: 42 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: fn test_ebpf_sock_op_too_many_events() file: nfm-common/src/sock_ops_handler.rs start line: 1072 end line: 1118 size: 41 LOC McCabe index: 3 number of parameters: 0 id: 42 unit: fn build_metric_histogram() file: nfm-controller/src/reports/report_otlp.rs start line: 48 end line: 90 size: 41 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: fn test_event_counters_rollover() file: nfm-common/src/network.rs start line: 536 end line: 583 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: fn build_random_network_stats() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 729 end line: 768 size: 40 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: fn handle_pod_event() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 163 end line: 205 size: 40 LOC McCabe index: 7 number of parameters: 3 id: 46 unit: fn test_ebpf_sock_op_max_connections() file: nfm-common/src/sock_ops_handler.rs start line: 982 end line: 1024 size: 39 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: fn test_quantify_loss() file: nfm-controller/src/events/network_event.rs start line: 674 end line: 724 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: fn test_sock_cache_add_context_pre_existing() file: nfm-controller/src/events/sock_cache.rs start line: 310 end line: 352 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: fn build_ebpf() file: nfm-controller/build.rs start line: 44 end line: 85 size: 39 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: fn handle_state_change() file: nfm-common/src/sock_ops_handler.rs start line: 172 end line: 221 size: 38 LOC McCabe index: 7 number of parameters: 1 id: 51 unit: fn test_ebpf_sock_op_rst_on_passive_connect() file: nfm-common/src/sock_ops_handler.rs start line: 841 end line: 883 size: 37 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: fn test_ebpf_sock_op_too_many_connections() file: nfm-common/src/sock_ops_handler.rs start line: 1027 end line: 1069 size: 37 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: fn add_resource_data() file: nfm-controller/src/reports/report_otlp.rs start line: 283 end line: 327 size: 37 LOC McCabe index: 4 number of parameters: 2 id: 54 unit: fn test_get_sock_deltas_all_partial() file: nfm-controller/src/events/sock_cache.rs start line: 638 end line: 678 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: fn test_ebpf_sock_op_rtt_no_arg() file: nfm-common/src/sock_ops_handler.rs start line: 633 end line: 674 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: fn test_ebpf_sock_op_rst_on_active_connect() file: nfm-common/src/sock_ops_handler.rs start line: 886 end line: 927 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: fn test_sock_cache_add_context_new() file: nfm-controller/src/events/sock_cache.rs start line: 269 end line: 307 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: fn handle_new_sock() file: nfm-common/src/sock_ops_handler.rs start line: 130 end line: 170 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 59 unit: fn get_or_add_sock_stats() file: nfm-common/src/sock_ops_handler.rs start line: 322 end line: 355 size: 34 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: fn create_test_pod() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 769 end line: 802 size: 34 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: fn test_get_sockets_to_evict_all_active() file: nfm-controller/src/events/sock_cache.rs start line: 691 end line: 728 size: 34 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: fn build_metric_gauge() file: nfm-controller/src/reports/report_otlp.rs start line: 92 end line: 126 size: 33 LOC McCabe index: 1 number of parameters: 3 id: 63 unit: fn test_sock_cache_add_context_too_many() file: nfm-controller/src/events/sock_cache.rs start line: 355 end line: 391 size: 33 LOC McCabe index: 3 number of parameters: 0 id: 64 unit: fn run_sock_ops_test_with_args() file: nfm-common/src/sock_ops_handler.rs start line: 405 end line: 440 size: 32 LOC McCabe index: 2 number of parameters: 7 id: 65 unit: fn test_clock_delta() file: nfm-controller/src/utils/clock.rs start line: 223 end line: 260 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: fn retrieve_network_information() file: nfm-controller/src/metadata/eni.rs start line: 137 end line: 171 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 67 unit: fn test_ebpf_sock_op_active_established() file: nfm-common/src/sock_ops_handler.rs start line: 556 end line: 591 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: fn test_ebpf_sock_op_rtt_with_arg() file: nfm-common/src/sock_ops_handler.rs start line: 594 end line: 630 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: fn build_metric_sum() file: nfm-controller/src/reports/report_otlp.rs start line: 128 end line: 160 size: 31 LOC McCabe index: 1 number of parameters: 3 id: 70 unit: fn test_get_service_name_from_endpoint_slice() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 481 end line: 512 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: fn try_from() file: nfm-controller/src/events/network_event.rs start line: 253 end line: 286 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: fn test_get_sock_deltas_all_new_contexts() file: nfm-controller/src/events/sock_cache.rs start line: 463 end line: 496 size: 30 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: fn handle_rtt() file: nfm-common/src/sock_ops_handler.rs start line: 223 end line: 262 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: fn get_new_entries() file: nfm-controller/src/utils/conntrack_listener.rs start line: 134 end line: 170 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: fn add_network_stats() file: nfm-controller/src/reports/report_otlp.rs start line: 163 end line: 197 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 76 unit: fn test_enrich_flows() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 561 end line: 591 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: fn test_from_sock_context_v6() file: nfm-controller/src/events/network_event.rs start line: 351 end line: 379 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: fn test_load_single_iface_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 238 end line: 269 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: fn add_host_stats() file: nfm-controller/src/reports/report_otlp.rs start line: 199 end line: 230 size: 27 LOC McCabe index: 3 number of parameters: 3 id: 80 unit: fn assert_reports_eq() file: nfm-controller/src/reports/report_otlp.rs start line: 582 end line: 619 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 81 unit: fn build_process_stats() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 673 end line: 701 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: fn sock_context_to_egress_cxn_info() file: nfm-controller/src/events/nat_resolver.rs start line: 138 end line: 164 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: fn test_ingress_cxn_info_tp_sock_context_ipv6() file: nfm-controller/src/events/nat_resolver.rs start line: 393 end line: 419 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: fn test_load_stats_from_incompatible_driver() file: nfm-controller/src/events/host_stats_provider.rs start line: 272 end line: 301 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: fn test_cpu_usage() file: nfm-controller/src/utils/cpu.rs start line: 90 end line: 118 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 86 unit: fn test_multi_metadata_provider() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 105 end line: 132 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: fn ingress_cxn_info_to_sock_context() file: nfm-controller/src/events/nat_resolver.rs start line: 166 end line: 191 size: 26 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: fn test_sock_context_to_egress_cxn_info_ipv6() file: nfm-controller/src/events/nat_resolver.rs start line: 340 end line: 365 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: fn test_from_sock_context_v4() file: nfm-controller/src/events/network_event.rs start line: 322 end line: 348 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: fn test_sock_context_from_network_byte_order() file: nfm-common/src/network.rs start line: 586 end line: 613 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: fn handle_endpoint_update() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 212 end line: 237 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 92 unit: fn load_single_iface_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 173 end line: 201 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 93 unit: fn add_counters() file: nfm-controller/src/reports/report_otlp.rs start line: 255 end line: 281 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 94 unit: fn test_ingress_cxn_info_tp_sock_context_ipv4() file: nfm-controller/src/events/nat_resolver.rs start line: 368 end line: 390 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: fn test_parse_conntrack_message_new() file: nfm-controller/src/utils/conntrack_listener.rs start line: 292 end line: 316 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: fn test_conntrack_props_reverse() file: nfm-controller/src/utils/conntrack_listener.rs start line: 345 end line: 368 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: fn test_network_information() file: nfm-controller/src/metadata/eni.rs start line: 216 end line: 238 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: fn test_sock_context_to_egress_cxn_info_ipv4() file: nfm-controller/src/events/nat_resolver.rs start line: 316 end line: 337 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: fn test_conntrack_entry_was_natd() file: nfm-controller/src/utils/conntrack_listener.rs start line: 371 end line: 393 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: fn handle_retransmit() file: nfm-common/src/sock_ops_handler.rs start line: 264 end line: 287 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: fn build_headers() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 99 end line: 121 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 102 unit: fn handle_endpoint_slice_event() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 266 end line: 286 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 103 unit: fn create_agg_results() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 539 end line: 558 size: 20 LOC McCabe index: 1 number of parameters: 4 id: 104 unit: fn instantiate_ebpf_object() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 53 end line: 73 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: fn perform_bpf_eviction() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 332 end line: 353 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 106 unit: fn test_ebpf_sock_op_sample_discard() file: nfm-common/src/sock_ops_handler.rs start line: 1121 end line: 1144 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: fn test_ebpf_sock_op_sample_capture() file: nfm-common/src/sock_ops_handler.rs start line: 1147 end line: 1170 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: fn add_process_stats() file: nfm-controller/src/reports/report_otlp.rs start line: 232 end line: 253 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 109 unit: fn create_options() file: nfm-controller/src/reports/publisher.rs start line: 193 end line: 211 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: fn test_port_edge_cases() file: nfm-common/src/network.rs start line: 616 end line: 633 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 111 unit: fn run_sock_ops_test() file: nfm-common/src/sock_ops_handler.rs start line: 386 end line: 403 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 112 unit: fn test_ebpf_context_invalid() file: nfm-common/src/sock_ops_handler.rs start line: 471 end line: 493 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: fn test_ebpf_sock_op_active_established_sans_connect() file: nfm-common/src/sock_ops_handler.rs start line: 532 end line: 553 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: fn test_netlink_deserialize_error() file: nfm-controller/src/utils/conntrack_listener.rs start line: 319 end line: 342 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: fn default() file: nfm-controller/src/metadata/k8s_metadata.rs start line: 20 end line: 37 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 116 unit: fn build_host_stats() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 703 end line: 720 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: fn load_all_iface_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 150 end line: 170 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 118 unit: fn set_up_toolchain() file: nfm-controller/build.rs start line: 23 end line: 42 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 119 unit: fn test_min_non_zero() file: nfm-common/src/utils.rs start line: 23 end line: 45 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: fn from() file: nfm-controller/src/reports/report.rs start line: 93 end line: 109 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 121 unit: fn perform_aggregation_cycle() file: nfm-controller/src/events/nat_resolver.rs start line: 60 end line: 82 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 122 unit: fn store_beyond_nat_entries() file: nfm-controller/src/events/nat_resolver.rs start line: 108 end line: 126 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 123 unit: fn test_sock_wrappers_missing_on_flow_agg() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 730 end line: 749 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: fn configure_flags() file: nfm-common/src/sock_ops_handler.rs start line: 357 end line: 377 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: fn try_sleep() file: nfm-controller/src/utils/event_timer.rs start line: 94 end line: 112 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 126 unit: fn test_machine_id() file: nfm-controller/src/metadata/host.rs start line: 56 end line: 72 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 127 unit: fn retrieve_imds_metadata() file: nfm-controller/src/metadata/eni.rs start line: 111 end line: 127 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: fn build_publisher() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 585 end line: 602 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: fn get_tcp_ports_from_endpoint_slice() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 86 end line: 101 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: fn extract_ports_from_pod_container() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 106 end line: 121 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: fn get_pod_info() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 350 end line: 365 size: 16 LOC McCabe index: 7 number of parameters: 2 id: 132 unit: fn aggregate_sock_stats() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 359 end line: 375 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 133 unit: fn test_flow_aggregation_empty() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 562 end line: 578 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: fn handle_rto() file: nfm-common/src/sock_ops_handler.rs start line: 289 end line: 304 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: fn test_ebpf_sock_op_connect() file: nfm-common/src/sock_ops_handler.rs start line: 496 end line: 511 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: fn test_ebpf_sock_op_passive_established() file: nfm-common/src/sock_ops_handler.rs start line: 514 end line: 529 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: fn test_service_metadata_default() file: nfm-controller/src/metadata/service_metadata.rs start line: 45 end line: 60 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: fn test_service_metadata_new() file: nfm-controller/src/metadata/service_metadata.rs start line: 63 end line: 77 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: fn test_network_in_ec2() file: nfm-controller/src/metadata/eni.rs start line: 241 end line: 258 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 140 unit: fn test_invalid_proxy_url() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 449 end line: 464 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: fn test_invalid_proxy_port() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 468 end line: 483 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: fn purge_pod_ip_ports_from_pod_info() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 142 end line: 156 size: 15 LOC McCabe index: 5 number of parameters: 3 id: 143 unit: fn handle_endpoint_removal() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 244 end line: 258 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 144 unit: fn get_service_name_from_endpoint_slice() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 428 end line: 443 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: fn ebpf_counters() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 310 end line: 329 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: fn build_host_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 132 end line: 147 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 147 unit: fn handle_bytes_transferred_event() file: nfm-common/src/sock_ops_handler.rs start line: 306 end line: 320 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: fn get_core_count_from_cpuinfo() file: nfm-controller/src/utils/cpu.rs start line: 13 end line: 26 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 149 unit: fn usage() file: nfm-controller/src/utils/memory_inspector.rs start line: 40 end line: 55 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: fn test_k8s_eks_env() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 88 end line: 104 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 151 unit: fn test_k8s_vanilla_env() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 107 end line: 121 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 152 unit: fn test_some_data() file: nfm-controller/src/metadata/k8s_metadata.rs start line: 91 end line: 105 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: fn test_log_publish() file: nfm-controller/src/reports/publisher.rs start line: 128 end line: 144 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: fn test_multi_publish() file: nfm-controller/src/reports/publisher.rs start line: 158 end line: 173 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: fn get_beyond_nat_entry() file: nfm-controller/src/events/nat_resolver.rs start line: 92 end line: 106 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 156 unit: fn test_from_sock_context_invalid_address_family() file: nfm-controller/src/events/network_event.rs start line: 382 end line: 395 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: fn increase_sampling_interval() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 270 end line: 286 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: fn test_timespec_to_nsec() file: nfm-controller/src/utils/clock.rs start line: 120 end line: 135 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: fn test_timespec_to_us() file: nfm-controller/src/utils/clock.rs start line: 138 end line: 153 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 160 unit: fn test_ec2_env() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 124 end line: 138 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 161 unit: fn build_report_body() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 123 end line: 136 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 162 unit: fn set_network_devices() file: nfm-controller/src/events/host_stats_provider.rs start line: 79 end line: 97 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 163 unit: fn test_ebpf_op_invalid() file: nfm-common/src/sock_ops_handler.rs start line: 443 end line: 454 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 164 unit: fn test_ebpf_op_valid() file: nfm-common/src/sock_ops_handler.rs start line: 457 end line: 468 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: fn test_boot_clock() file: nfm-controller/src/utils/clock.rs start line: 166 end line: 178 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 166 unit: fn test_fake_clock_sleep() file: nfm-controller/src/utils/clock.rs start line: 181 end line: 196 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 167 unit: fn get_metadata() file: nfm-controller/src/metadata/eni.rs start line: 94 end line: 108 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: fn build_env_metadata() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 660 end line: 671 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: fn serialize() file: nfm-controller/src/events/network_event.rs start line: 290 end line: 301 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 170 unit: fn test_sock_cache_get_last_touched() file: nfm-controller/src/events/sock_cache.rs start line: 926 end line: 940 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: fn get_stats() file: nfm-controller/src/events/host_stats_provider.rs start line: 99 end line: 115 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 172 unit: fn create_event() file: nfm-controller/src/utils/event_timer.rs start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 173 unit: fn test_service_metadata_new() file: nfm-controller/src/metadata/k8s_metadata.rs start line: 108 end line: 118 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: fn build_export() file: nfm-controller/src/reports/report_otlp.rs start line: 338 end line: 349 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 175 unit: fn test_build_multi_publisher() file: nfm-controller/src/reports/publisher.rs start line: 176 end line: 191 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: fn decompress() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 567 end line: 577 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 177 unit: fn get_tcp_ports_from_pod() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 127 end line: 137 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: fn from() file: nfm-controller/src/reports/report_otlp.rs start line: 36 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: fn check_header_exists() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 390 end line: 399 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 180 unit: fn test_setup_watchers_sanity() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 519 end line: 529 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 181 unit: fn test_handle_pod_event() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 909 end line: 920 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: fn empty_flow() file: nfm-controller/src/events/event_filter_top_loss.rs start line: 49 end line: 58 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: fn counters() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 195 end line: 205 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: fn test_ipv6_to_bytes() file: nfm-common/src/network.rs start line: 636 end line: 647 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: fn should_handle_new_sock() file: nfm-common/src/sock_ops_handler.rs start line: 42 end line: 50 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: fn reverse() file: nfm-controller/src/utils/conntrack_listener.rs start line: 33 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: fn clock_time() file: nfm-controller/src/utils/clock.rs start line: 102 end line: 111 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 188 unit: fn test_clock() file: nfm-controller/src/utils/clock.rs start line: 211 end line: 220 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: fn get_compute_platform() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 49 end line: 57 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 190 unit: fn refresh() file: nfm-controller/src/metadata/eni.rs start line: 84 end line: 92 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 191 unit: fn get_host() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 206 end line: 214 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: fn new() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 254 end line: 262 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: fn get_ip_from_pod() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: fn perform_aggregation_cycle() file: nfm-controller/src/events/nat_resolver.rs start line: 21 end line: 31 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 195 unit: fn main() file: nfm-controller/build.rs start line: 9 end line: 21 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 196 unit: fn test_sock_context_is_valid() file: nfm-common/src/network.rs start line: 340 end line: 349 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 197 unit: fn test_clock_delta_panic() file: nfm-controller/src/utils/clock.rs start line: 264 end line: 273 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: fn add_resource_entry() file: nfm-controller/src/reports/report_otlp.rs start line: 329 end line: 336 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 199 unit: fn test_get_host() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 486 end line: 493 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: fn cmp() file: nfm-controller/src/events/event_filter_top_loss.rs start line: 18 end line: 26 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 201 unit: fn test_get_sock_deltas_empty() file: nfm-controller/src/events/sock_cache.rs start line: 394 end line: 403 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: fn test_map_max_entries_highish_mem() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 776 end line: 784 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: fn min_non_zero() file: nfm-common/src/utils.rs start line: 9 end line: 15 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 204 unit: fn fmt() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 205 unit: fn get_metadata() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 86 end line: 93 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: fn publish() file: nfm-controller/src/reports/publisher.rs start line: 90 end line: 96 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 207 unit: fn rand_ipv6() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 772 end line: 779 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 208 unit: fn get_pod_name_from_endpoint() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: fn create_pod_info() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 531 end line: 537 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 210 unit: fn seeded_nat_resolver() file: nfm-controller/src/events/nat_resolver.rs start line: 217 end line: 223 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: fn fmt() file: nfm-controller/src/events/network_event.rs start line: 305 end line: 311 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: fn test_get_sockets_to_evict_empty() file: nfm-controller/src/events/sock_cache.rs start line: 681 end line: 688 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: fn decrease_sampling_interval() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 288 end line: 294 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: fn is_new_sock_event() file: nfm-common/src/sock_ops_handler.rs start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 215 unit: fn test_process_memory_inspector() file: nfm-controller/src/utils/memory_inspector.rs start line: 63 end line: 68 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: fn now() file: nfm-controller/src/utils/clock.rs start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: fn test_real_time_clock_againts_utc() file: nfm-controller/src/utils/clock.rs start line: 204 end line: 209 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: fn get_metadata() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: fn get_metadata() file: nfm-controller/src/metadata/host.rs start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: fn get_machine_id() file: nfm-controller/src/metadata/host.rs start line: 42 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 221 unit: fn test_no_data() file: nfm-controller/src/metadata/k8s_metadata.rs start line: 67 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 222 unit: fn test_instance_id() file: nfm-controller/src/metadata/eni.rs start line: 208 end line: 213 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: fn fmt() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 224 unit: fn build_k8s_metadata() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 722 end line: 727 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 225 unit: fn fmt() file: nfm-controller/src/lib.rs start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: fn filter_events() file: nfm-controller/src/events/event_filter_top_loss.rs start line: 30 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 227 unit: fn send_control_data() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 296 end line: 301 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: fn test_map_max_entries_low_mem() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 752 end line: 757 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: fn test_map_max_entries_lowish_mem() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 760 end line: 765 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: fn test_map_max_entries_medium_mem() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 768 end line: 773 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 231 unit: fn test_map_max_entries_highest_mem() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 787 end line: 792 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: fn handle_connect() file: nfm-common/src/sock_ops_handler.rs start line: 118 end line: 122 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: fn handle_passive_established() file: nfm-common/src/sock_ops_handler.rs start line: 124 end line: 128 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: fn run() file: nfm-controller/src/utils/command_runner.rs start line: 9 end line: 15 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 235 unit: fn full_command() file: nfm-controller/src/utils/command_runner.rs start line: 57 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 236 unit: fn refresh() file: nfm-controller/src/metadata/host.rs start line: 28 end line: 32 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 237 unit: fn refresh() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 53 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: fn refresh() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 80 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 239 unit: fn store_sample_file() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 579 end line: 583 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 240 unit: fn network_stats() file: nfm-controller/src/lib.rs start line: 333 end line: 338 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: fn filter_events() file: nfm-controller/src/lib.rs start line: 365 end line: 369 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 242 unit: fn publish() file: nfm-controller/src/lib.rs start line: 373 end line: 377 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 243 unit: fn get_metadata() file: nfm-controller/src/lib.rs start line: 391 end line: 395 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: fn get_stats() file: nfm-controller/src/lib.rs start line: 404 end line: 408 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: fn process_counters() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 303 end line: 308 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: fn run() file: nfm-controller/src/utils/command_runner.rs start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 247 unit: fn test_core_count_reader_cpuinfo() file: nfm-controller/src/utils/cpu.rs start line: 121 end line: 124 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 248 unit: fn test_core_count_reader_sys_info() file: nfm-controller/src/utils/cpu.rs start line: 127 end line: 130 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 249 unit: fn now() file: nfm-controller/src/utils/clock.rs start line: 11 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: fn running_on_ec2() file: nfm-controller/src/metadata/eni.rs start line: 317 end line: 320 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 251 unit: fn publish() file: nfm-controller/src/reports/publisher.rs start line: 15 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: fn publish() file: nfm-controller/src/reports/publisher.rs start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: fn log() file: nfm-controller/src/reports/publisher.rs start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: fn publish() file: nfm-controller/src/reports/publisher.rs start line: 151 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 255 unit: fn test_compression_ec2_report_ipv4() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 496 end line: 499 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: fn test_compression_k8s_report_ipv4() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 502 end line: 505 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 257 unit: fn test_compression_ec2_report_ipv6() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 508 end line: 511 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: fn test_compression_k8s_report_ipv6() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 514 end line: 517 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: fn string_to_ipv4() file: nfm-controller/src/kubernetes/remote_nat_resolver.rs start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: fn string_to_ipv6() file: nfm-controller/src/kubernetes/remote_nat_resolver.rs start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: fn perform_aggregation_cycle() file: nfm-controller/src/lib.rs start line: 329 end line: 332 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 262 unit: fn perform_aggregation_cycle() file: nfm-controller/src/lib.rs start line: 348 end line: 351 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: fn refresh() file: nfm-controller/src/lib.rs start line: 387 end line: 390 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: fn set_network_devices() file: nfm-controller/src/lib.rs start line: 399 end line: 402 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 265 unit: fn test_on_off_display() file: nfm-controller/src/lib.rs start line: 474 end line: 477 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: fn perform_eviction() file: nfm-controller/src/events/nat_resolver.rs start line: 84 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: fn set_network_devices() file: nfm-controller/src/events/host_stats_provider.rs start line: 68 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 268 unit: fn panic() file: nfm-bpf/src/main.rs start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: fn default() file: nfm-common/src/ebpf_mocks.rs start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: fn min_non_zero() file: nfm-common/src/utils.rs start line: 5 end line: 8 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 271 unit: fn run() file: nfm-controller/src/utils/command_runner.rs start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 272 unit: fn get_new_entries() file: nfm-controller/src/utils/conntrack_listener.rs start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: fn process_duration() file: nfm-controller/src/utils/cpu.rs start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: fn total_duration() file: nfm-controller/src/utils/cpu.rs start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: fn usage() file: nfm-controller/src/utils/memory_inspector.rs start line: 11 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: fn sleep() file: nfm-controller/src/utils/clock.rs start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 277 unit: fn now() file: nfm-controller/src/utils/clock.rs start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: fn now() file: nfm-controller/src/utils/clock.rs start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: fn now_us() file: nfm-controller/src/utils/clock.rs start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: fn sleep() file: nfm-controller/src/utils/clock.rs start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 281 unit: fn now() file: nfm-controller/src/utils/clock.rs start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: fn test_process_clock() file: nfm-controller/src/utils/clock.rs start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: fn test_fake_clock() file: nfm-controller/src/utils/clock.rs start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: fn test_real_time_clock() file: nfm-controller/src/utils/clock.rs start line: 199 end line: 201 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 285 unit: fn from() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: fn default() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 287 unit: fn default() file: nfm-controller/src/metadata/host.rs start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: fn default() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: fn get_network_devices() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 64 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: fn get_network_devices() file: nfm-controller/src/metadata/env_metadata_provider.rs start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: fn default() file: nfm-controller/src/metadata/service_metadata.rs start line: 22 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 292 unit: fn default() file: nfm-controller/src/metadata/eni.rs start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: fn retrieve_instance_id() file: nfm-controller/src/metadata/eni.rs start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: fn retrieve_instance_type() file: nfm-controller/src/metadata/eni.rs start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: fn test_build_report_from_ec2_instance() file: nfm-controller/src/reports/report_otlp.rs start line: 384 end line: 386 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: fn test_build_report_from_k8s_vanilla_pod() file: nfm-controller/src/reports/report_otlp.rs start line: 389 end line: 391 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: fn test_build_report_from_k8s_eks_pod() file: nfm-controller/src/reports/report_otlp.rs start line: 394 end line: 396 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: fn default() file: nfm-controller/src/reports/publisher.rs start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 299 unit: fn enabled() file: nfm-controller/src/reports/publisher.rs start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 300 unit: fn rand_service_port() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 781 end line: 783 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: fn rand_cxn_count() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 785 end line: 787 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: fn rand_duration_us() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 789 end line: 791 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: fn rand_retrans_count() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 793 end line: 795 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: fn rand_byte_segment_count() file: nfm-controller/src/reports/publisher_endpoint.rs start line: 797 end line: 799 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: fn default() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: fn test_no_data() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 476 end line: 478 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 307 unit: fn get_flow() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 514 end line: 516 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: fn adress_to_podname() file: nfm-controller/src/kubernetes/kubernetes_metadata_collector.rs start line: 765 end line: 767 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: fn default() file: nfm-controller/src/kubernetes/remote_nat_resolver.rs start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 310 unit: fn insert() file: nfm-controller/src/kubernetes/remote_nat_resolver.rs start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 311 unit: fn counters() file: nfm-controller/src/lib.rs start line: 339 end line: 341 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 312 unit: fn socket_count() file: nfm-controller/src/lib.rs start line: 342 end line: 344 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: fn get_beyond_nat_entry() file: nfm-controller/src/lib.rs start line: 353 end line: 355 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 314 unit: fn store_beyond_nat_entries() file: nfm-controller/src/lib.rs start line: 356 end line: 358 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 315 unit: fn num_entries() file: nfm-controller/src/lib.rs start line: 359 end line: 361 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: fn get_network_devices() file: nfm-controller/src/lib.rs start line: 381 end line: 383 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: fn get_beyond_nat_entry() file: nfm-controller/src/events/nat_resolver.rs start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 318 unit: fn store_beyond_nat_entries() file: nfm-controller/src/events/nat_resolver.rs start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 319 unit: fn num_entries() file: nfm-controller/src/events/nat_resolver.rs start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: fn num_entries() file: nfm-controller/src/events/nat_resolver.rs start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: fn get_new_entries() file: nfm-controller/src/events/nat_resolver.rs start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: fn network_stats() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: fn socket_count() file: nfm-controller/src/events/event_provider_ebpf.rs start line: 208 end line: 210 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: fn default() file: nfm-controller/src/events/host_stats_provider.rs start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: fn main() file: nfm-controller/src/main.rs start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 326 unit: fn refresh() file: nfm-controller/src/metadata/runtime_environment_metadata.rs start line: 67 end line: 69 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: fn flush() file: nfm-controller/src/reports/publisher.rs start line: 119 end line: 119 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: fn perform_eviction() file: nfm-controller/src/lib.rs start line: 352 end line: 352 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 329 unit: fn perform_aggregation_cycle() file: nfm-controller/src/events/nat_resolver.rs start line: 32 end line: 32 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: fn perform_eviction() file: nfm-controller/src/events/nat_resolver.rs start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 1