id: 1 unit: fn key_status_v2_test() file: proxy_agent/src/key_keeper/key.rs start line: 905 end line: 1342 size: 418 LOC McCabe index: 1 number of parameters: 0 id: 2 unit: fn extension_substatus() file: proxy_agent_extension/src/service_main.rs start line: 399 end line: 569 size: 168 LOC McCabe index: 4 number of parameters: 5 id: 3 unit: fn to_xml_event() file: proxy_agent/src/telemetry/telemetry_event.rs start line: 162 end line: 263 size: 98 LOC McCabe index: 1 number of parameters: 1 id: 4 unit: fn report_proxy_agent_aggregate_status() file: proxy_agent_extension/src/service_main.rs start line: 313 end line: 397 size: 84 LOC McCabe index: 2 number of parameters: 5 id: 5 unit: private async Task DoCreateVMData() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 91 end line: 178 size: 82 LOC McCabe index: 4 number of parameters: 2 id: 6 unit: fn test_proxyagent_service_success_status() file: proxy_agent_extension/src/service_main.rs start line: 829 end line: 916 size: 81 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: public async Task StartAsync() file: e2etest/GuestProxyAgentTest/GuestProxyAgentScenarioTests.cs start line: 21 end line: 105 size: 77 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: fn restore_purge_proxyagent() file: proxy_agent_extension/src/service_main.rs start line: 584 end line: 653 size: 70 LOC McCabe index: 5 number of parameters: 1 id: 9 unit: fn get_authenticate_test() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 257 end line: 328 size: 68 LOC McCabe index: 1 number of parameters: 0 id: 10 unit: fn init_ebpf_lib() file: proxy_agent/src/redirector/windows/bpf_api.rs start line: 46 end line: 113 size: 64 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: fn report_ebpf_status() file: proxy_agent_extension/src/service_main.rs start line: 217 end line: 279 size: 63 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: fn report_proxy_agent_service_status() file: proxy_agent_extension/src/service_main.rs start line: 655 end line: 718 size: 63 LOC McCabe index: 2 number of parameters: 5 id: 13 unit: fn report_proxy_agent_service_status() file: proxy_agent_extension/src/service_main.rs start line: 747 end line: 826 size: 63 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: private async Task DoCreateVMNetWorkProfile() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 180 end line: 245 size: 61 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: fn config_struct_test() file: proxy_agent/src/common/config.rs start line: 195 end line: 265 size: 60 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: fn key_status_v1_test() file: proxy_agent/src/key_keeper/key.rs start line: 843 end line: 902 size: 59 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/AddLinuxVMExtensionCase.cs start line: 20 end line: 88 size: 58 LOC McCabe index: 9 number of parameters: 1 id: 18 unit: fn validate() file: proxy_agent/src/key_keeper/key.rs start line: 406 end line: 471 size: 56 LOC McCabe index: 14 number of parameters: 1 id: 19 unit: inline __attribute__() file: ebpf/redirect.bpf.c start line: 49 end line: 103 size: 53 LOC McCabe index: 7 number of parameters: 1 id: 20 unit: private async Task DoStartAsync() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 144 end line: 203 size: 52 LOC McCabe index: 8 number of parameters: 2 id: 21 unit: public override void TestScenarioSetup() file: e2etest/GuestProxyAgentTest/TestScenarios/ProxyAgentExtension.cs start line: 12 end line: 64 size: 52 LOC McCabe index: 3 number of parameters: 0 id: 22 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 115 end line: 164 size: 50 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: public JunitTestResultBuilder AddFailureTestResult() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 104 end line: 157 size: 49 LOC McCabe index: 2 number of parameters: 6 id: 24 unit: private async Task ScenarioTestAsync() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 205 end line: 257 size: 49 LOC McCabe index: 6 number of parameters: 3 id: 25 unit: fn handler_env_test() file: proxy_agent_extension/src/structs.rs start line: 107 end line: 164 size: 48 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/RebootVMCase.cs start line: 19 end line: 73 size: 47 LOC McCabe index: 7 number of parameters: 1 id: 27 unit: fn execute_command_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 373 end line: 425 size: 47 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: fn shared_config_test() file: proxy_agent/src/host_clients/goal_state.rs start line: 185 end line: 232 size: 47 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: public static TestCaseResultDetails DownloadContentIfFromBlob() file: e2etest/GuestProxyAgentTest/Extensions/ModelExtensions.cs start line: 27 end line: 78 size: 45 LOC McCabe index: 9 number of parameters: 2 id: 30 unit: fn search_files_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 439 end line: 489 size: 44 LOC McCabe index: 1 number of parameters: 0 id: 31 unit: fn goal_state_test() file: proxy_agent/src/host_clients/goal_state.rs start line: 141 end line: 182 size: 41 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: fn request_to_sign_input() file: proxy_agent/src/common/hyper_client.rs start line: 354 end line: 393 size: 38 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: fn fetch_local_key() file: proxy_agent/src/key_keeper.rs start line: 656 end line: 697 size: 38 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: fn status_obj_test() file: proxy_agent_extension/src/structs.rs start line: 167 end line: 213 size: 37 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: public JunitTestResultBuilder AddAbortedTestResult() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 159 end line: 194 size: 36 LOC McCabe index: 2 number of parameters: 3 id: 36 unit: fn copy_proxy_agent_files() file: proxy_agent_setup/src/main.rs start line: 125 end line: 160 size: 36 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/EnableProxyAgentCase.cs start line: 23 end line: 61 size: 35 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: fn uninstall_handler() file: proxy_agent_extension/src/handler_main.rs start line: 194 end line: 228 size: 35 LOC McCabe index: 2 number of parameters: 0 id: 39 unit: public JunitTestResultBuilder AddSuccessTestResult() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 56 end line: 93 size: 34 LOC McCabe index: 2 number of parameters: 4 id: 40 unit: public async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 104 end line: 142 size: 34 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: fn get_path_and_canonicalized_parameters() file: proxy_agent/src/common/hyper_client.rs start line: 419 end line: 455 size: 34 LOC McCabe index: 10 number of parameters: 1 id: 42 unit: fn store_local_key() file: proxy_agent/src/key_keeper.rs start line: 608 end line: 642 size: 34 LOC McCabe index: 2 number of parameters: 3 id: 43 unit: fn create_config_file() file: proxy_agent/src/common/config.rs start line: 267 end line: 299 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: public static() file: e2etest/GuestProxyAgentTest/Utilities/TestCommonUtilities.cs start line: 35 end line: 66 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 45 unit: public static bool DownloadFile() file: e2etest/GuestProxyAgentTest/Utilities/TestCommonUtilities.cs start line: 68 end line: 101 size: 31 LOC McCabe index: 6 number of parameters: 4 id: 46 unit: fn backup_proxyagent() file: proxy_agent_extension/src/service_main.rs start line: 281 end line: 311 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: fn key_test() file: proxy_agent/src/key_keeper/key.rs start line: 1345 end line: 1376 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: fn json_write_read_from_file_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 328 end line: 363 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: fn create_service() file: proxy_agent_shared/src/service/windows_service.rs start line: 234 end line: 265 size: 30 LOC McCabe index: 2 number of parameters: 4 id: 50 unit: fn test_handler_env_file() file: proxy_agent_extension/src/common.rs start line: 331 end line: 373 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: public static X509Certificate2 GetCertificate() file: e2etest/GuestProxyAgentTest/Utilities/CertificateUtility.cs start line: 39 end line: 68 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 52 unit: fn test_StatusState() file: proxy_agent_extension/src/common.rs start line: 530 end line: 569 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: fn net_user_get_local_groups() file: proxy_agent/src/proxy/windows.rs start line: 57 end line: 84 size: 28 LOC McCabe index: 1 number of parameters: 8 id: 54 unit: fn sock_addr_audit_entry_test() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 194 end line: 220 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: fn set_stream_read_time_out() file: proxy_agent/src/proxy/proxy_server.rs start line: 329 end line: 363 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: private async Task CollectGALogsOnVMAsync() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 259 end line: 287 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: fn test_check_os_supported() file: proxy_agent_extension/src/handler_main.rs start line: 424 end line: 452 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: fn error_formatting_test() file: proxy_agent/src/common/error.rs start line: 216 end line: 243 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: static string TestMapFile() file: e2etest/GuestProxyAgentTest/Utilities/TestMapReader.cs start line: 11 end line: 35 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: public static void Init() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 56 end line: 82 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 61 unit: fn json_clone_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 492 end line: 518 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 93 end line: 118 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 63 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentExtensionValidationCase.cs start line: 20 end line: 43 size: 24 LOC McCabe index: 10 number of parameters: 1 id: 64 unit: public RunCommandSetting Build() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 111 end line: 138 size: 23 LOC McCabe index: 7 number of parameters: 0 id: 65 unit: public override void TestScenarioSetup() file: e2etest/GuestProxyAgentTest/TestScenarios/BVTScenario.cs start line: 10 end line: 35 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 66 unit: fn archive_file() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 86 end line: 113 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 67 unit: fn get_cgroup2_mount_path_test() file: proxy_agent_shared/src/linux.rs start line: 146 end line: 170 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: fn error_formatting_test() file: proxy_agent_shared/src/error.rs start line: 58 end line: 83 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 69 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 53 end line: 77 size: 23 LOC McCabe index: 5 number of parameters: 4 id: 70 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 130 end line: 154 size: 23 LOC McCabe index: 5 number of parameters: 4 id: 71 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentLoadedModulesValidationCase.cs start line: 17 end line: 42 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 72 unit: static Constants() file: e2etest/GuestProxyAgentTest/Utilities/Constants.cs start line: 37 end line: 58 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: public static async Task ExecuteRunCommandOnVM() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandRunner.cs start line: 24 end line: 48 size: 22 LOC McCabe index: 3 number of parameters: 4 id: 74 unit: fn logger_roll_if_needed() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 194 end line: 224 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 75 unit: fn heartbeat_obj_test() file: proxy_agent_extension/src/structs.rs start line: 216 end line: 245 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: fn check_os_version_supported() file: proxy_agent_extension/src/handler_main.rs start line: 68 end line: 89 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: fn report_os_not_supported() file: proxy_agent_extension/src/handler_main.rs start line: 114 end line: 136 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: fn setup_loggers() file: proxy_agent/src/service.rs start line: 80 end line: 102 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: inline __attribute__() file: ebpf/redirect.bpf.c start line: 105 end line: 143 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 80 unit: public async Task Build() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 59 end line: 81 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 81 unit: Function TraceError() file: Setup/Windows/Utility.vbs start line: 94 end line: 116 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: fn backup_service_config_file() file: proxy_agent_setup/src/linux.rs start line: 27 end line: 47 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentPackageCase.cs start line: 18 end line: 37 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentExtensionCase.cs start line: 19 end line: 39 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentValidationCase.cs start line: 31 end line: 52 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 86 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentCase.cs start line: 19 end line: 38 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: private string DoGenerateSasUri() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 130 end line: 153 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: fn check_linux_os_supported() file: proxy_agent_extension/src/handler_main.rs start line: 92 end line: 112 size: 20 LOC McCabe index: 10 number of parameters: 1 id: 89 unit: fn get_process_info() file: proxy_agent/src/proxy.rs start line: 101 end line: 122 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: fn headers_to_canonicalized_string() file: proxy_agent/src/common/hyper_client.rs start line: 395 end line: 417 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 91 unit: fn fetch_key() file: proxy_agent/src/key_keeper.rs start line: 699 end line: 724 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: protected async Task RunScriptViaRunCommandV2Async() file: e2etest/GuestProxyAgentTest/TestCases/TestCaseBase.cs start line: 61 end line: 79 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 93 unit: public static X509Certificate2? GetCertificate() file: e2etest/GuestProxyAgentTest/Utilities/CertificateUtility.cs start line: 77 end line: 96 size: 19 LOC McCabe index: 9 number of parameters: 3 id: 94 unit: private static bool CanAccessPrivateKey() file: e2etest/GuestProxyAgentTest/Utilities/CertificateUtility.cs start line: 122 end line: 144 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 95 unit: private static VirtualMachineRunCommandData toVMRunCommandData() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandRunner.cs start line: 50 end line: 68 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: protected void PreCheck() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 70 end line: 91 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 97 unit: fn delete_service_config_file() file: proxy_agent_shared/src/service/linux_service.rs start line: 80 end line: 98 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: fn write_state_event() file: proxy_agent_extension/src/service_main.rs start line: 196 end line: 214 size: 19 LOC McCabe index: 2 number of parameters: 7 id: 99 unit: fn reset_handler() file: proxy_agent_extension/src/handler_main.rs start line: 351 end line: 369 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: fn from_unicode_string() file: proxy_agent/src/proxy/windows.rs start line: 182 end line: 202 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: fn copy_file() file: proxy_agent_setup/src/linux.rs start line: 49 end line: 66 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 102 unit: fn get_linux_extension_long_running_process() file: proxy_agent_extension/src/handler_main.rs start line: 303 end line: 322 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 103 unit: fn get_process_test() file: proxy_agent/src/proxy/windows.rs start line: 391 end line: 410 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: Function ExecuteAndTraceWithResults() file: Setup/Windows/Utility.vbs start line: 36 end line: 59 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: fn destination_entry_test() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 153 end line: 170 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: public static void UpdateTestCaseResults() file: e2etest/GuestProxyAgentTest/Extensions/ExceptionExtensions.cs start line: 8 end line: 23 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 107 unit: public static X509Certificate2? GetCertificate() file: e2etest/GuestProxyAgentTest/Utilities/CertificateUtility.cs start line: 104 end line: 120 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 108 unit: public async Task CleanupOldTestResourcesAndForget() file: e2etest/GuestProxyAgentTest/Utilities/VMHelper.cs start line: 83 end line: 100 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 109 unit: public static List ReadFlattenTestScenarioSettingFromTestMap() file: e2etest/GuestProxyAgentTest/Utilities/TestMapReader.cs start line: 41 end line: 56 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: Function ExecuteWithResults() file: Setup/Windows/Utility.vbs start line: 6 end line: 34 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: fn get_os_version_tests() file: proxy_agent_shared/src/windows.rs start line: 327 end line: 344 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: fn get_file_product_version_test() file: proxy_agent_shared/src/windows.rs start line: 356 end line: 371 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: fn compute_signature_test() file: proxy_agent/src/common/helpers.rs start line: 120 end line: 136 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: private void ConsolePrintTestScenariosDetailsSummary() file: e2etest/GuestProxyAgentTest/GuestProxyAgentScenarioTests.cs start line: 117 end line: 131 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: public static async Task TimeoutAfter() file: e2etest/GuestProxyAgentTest/Extensions/TaskExtensions.cs start line: 8 end line: 23 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 116 unit: private void PreCheck() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 247 end line: 263 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 117 unit: static async Task Main() file: e2etest/GuestProxyAgentTest/Program.cs start line: 21 end line: 38 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 118 unit: fn read_reg_int() file: proxy_agent_shared/src/windows.rs start line: 23 end line: 38 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 119 unit: fn get_bpf_map_fd() file: proxy_agent/src/redirector/windows/bpf_prog.rs start line: 417 end line: 433 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 120 unit: public static AccessToken GetAccessTokenFromEnv() file: e2etest/GuestProxyAgentTest/Utilities/TestCommonUtilities.cs start line: 103 end line: 116 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 121 unit: private void SaveResultFile() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 289 end line: 303 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 122 unit: fn restore_proxy_agent() file: proxy_agent_setup/src/main.rs start line: 109 end line: 122 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: fn logger_level_test() file: proxy_agent_shared/src/logger.rs start line: 26 end line: 41 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: fn test_version_from_string() file: proxy_agent_shared/src/version.rs start line: 104 end line: 119 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: fn get_proxy_agent_file_version_in_extension() file: proxy_agent_extension/src/service_main.rs start line: 720 end line: 735 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: fn default() file: proxy_agent/src/common/config.rs start line: 95 end line: 111 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 127 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/TCPPortScalabilityCase.cs start line: 17 end line: 30 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: fn delete_file() file: proxy_agent_setup/src/linux.rs start line: 68 end line: 80 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: fn copy_proxy_agent() file: proxy_agent_setup/src/main.rs start line: 81 end line: 93 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: fn backup_proxy_agent() file: proxy_agent_setup/src/main.rs start line: 95 end line: 107 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: fn delete_folder() file: proxy_agent_setup/src/main.rs start line: 312 end line: 324 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: fn get_os_version_tests() file: proxy_agent_shared/src/linux.rs start line: 122 end line: 134 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: fn resolve_env_variables_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 521 end line: 534 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: fn clone() file: proxy_agent_extension/src/structs.rs start line: 19 end line: 31 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: fn update_tag_file_exists() file: proxy_agent_extension/src/handler_main.rs start line: 144 end line: 156 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 136 unit: fn from_pwstr() file: proxy_agent/src/proxy/windows.rs start line: 204 end line: 216 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 137 unit: fn check_local_key() file: proxy_agent/src/key_keeper.rs start line: 728 end line: 742 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 138 unit: public static T SafeDeserializedCustomOutAs() file: e2etest/GuestProxyAgentTest/Extensions/ModelExtensions.cs start line: 99 end line: 110 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: public RunCommandSettingBuilder AddParameters() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 80 end line: 91 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 140 unit: public List Build() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 200 end line: 211 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 141 unit: fn get_current_file_full_path() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 140 end line: 154 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 142 unit: fn clone() file: proxy_agent_shared/src/proxy_agent_aggregate_status.rs start line: 69 end line: 80 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: fn test_telemetry_new() file: proxy_agent_shared/src/telemetry.rs start line: 40 end line: 51 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: fn test_get_file_path() file: proxy_agent_extension/src/common.rs start line: 413 end line: 429 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 145 unit: fn get_exe_parent() file: proxy_agent_extension/src/handler_main.rs start line: 158 end line: 170 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: fn fmt() file: proxy_agent/src/key_keeper/key.rs start line: 647 end line: 658 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 147 unit: fn store_fetch_data_test() file: proxy_agent/src/common/windows.rs start line: 159 end line: 176 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 148 unit: fn from() file: proxy_agent/src/proxy/proxy_summary.rs start line: 49 end line: 60 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: static GuestProxyAgentValidationCase() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentValidationCase.cs start line: 17 end line: 27 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 150 unit: public static TestCaseResultDetails ToTestResultDetails() file: e2etest/GuestProxyAgentTest/Extensions/ModelExtensions.cs start line: 15 end line: 25 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 151 unit: public static void WriteJUnitTestResult() file: e2etest/GuestProxyAgentTest/Extensions/ModelExtensions.cs start line: 80 end line: 90 size: 11 LOC McCabe index: 2 number of parameters: 5 id: 152 unit: public JunitTestResultBuilder AddSuccessTestResult() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 37 end line: 47 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 153 unit: public VMBuilder LoadTestCaseSetting() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: public void CleanupTestResources() file: e2etest/GuestProxyAgentTest/Utilities/VMHelper.cs start line: 70 end line: 81 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: public override void TestScenarioSetup() file: e2etest/GuestProxyAgentTest/TestScenarios/LinuxPackageScenario.cs start line: 9 end line: 19 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: fn fmt() file: proxy_agent_setup/src/args.rs start line: 47 end line: 57 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 157 unit: fn check_backup_exists() file: proxy_agent_setup/src/main.rs start line: 269 end line: 280 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: fn roll_if_needed() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 156 end line: 169 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: fn delete_service() file: proxy_agent_shared/src/service/windows_service.rs start line: 138 end line: 149 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: fn query_service_status() file: proxy_agent_shared/src/service/windows_service.rs start line: 174 end line: 184 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: fn default() file: proxy_agent_extension/src/structs.rs start line: 70 end line: 80 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: fn get_top_proxy_connection_summary() file: proxy_agent_extension/src/service_main.rs start line: 571 end line: 582 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 163 unit: fn get_path_and_canonicalized_parameters_test() file: proxy_agent/src/common/hyper_client.rs start line: 508 end line: 518 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 164 unit: fn get_system_info_tests() file: proxy_agent/src/common/helpers.rs start line: 108 end line: 118 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: fn sock_addr_audit_key_test() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 181 end line: 191 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 166 unit: fn proxy_agent_windows_service_main() file: proxy_agent/src/main.rs start line: 114 end line: 127 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: protected string FormatVMExtensionInstanceView() file: e2etest/GuestProxyAgentTest/TestCases/TestCaseBase.cs start line: 93 end line: 102 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: public string CreateAppendBlob() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 59 end line: 69 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 169 unit: public string Upload2SharedBlob() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 92 end line: 102 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 170 unit: public static bool IsCertInstalled() file: e2etest/GuestProxyAgentTest/Utilities/CertificateUtility.cs start line: 21 end line: 30 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 171 unit: public static T DeserializeYaml() file: e2etest/GuestProxyAgentTest/Utilities/YamlUtils.cs start line: 15 end line: 24 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: Private Function ReadTempFile() file: Setup/Windows/Utility.vbs start line: 74 end line: 85 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 173 unit: fn delete_package() file: proxy_agent_setup/src/main.rs start line: 301 end line: 310 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: fn open_file() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 40 end line: 51 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: fn logger_new() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 179 end line: 191 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: fn fmt() file: proxy_agent_shared/src/version.rs start line: 84 end line: 96 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 177 unit: fn proxy_agent_extension_windows_service_main() file: proxy_agent_extension/src/main.rs start line: 100 end line: 110 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: fn load_netapi32_dll() file: proxy_agent/src/proxy/windows.rs start line: 34 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 179 unit: fn load_users() file: proxy_agent/src/proxy/windows.rs start line: 87 end line: 96 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 37 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 181 unit: fn clean_files() file: proxy_agent/src/telemetry/event_reader.rs start line: 358 end line: 367 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: fn store_key() file: proxy_agent/src/key_keeper.rs start line: 644 end line: 654 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: fn check_key() file: proxy_agent/src/key_keeper.rs start line: 744 end line: 753 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: private void ConsolePrintTestScenariosStatusSummary() file: e2etest/GuestProxyAgentTest/GuestProxyAgentScenarioTests.cs start line: 107 end line: 115 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: protected string FormatVMExtensionData() file: e2etest/GuestProxyAgentTest/TestCases/TestCaseBase.cs start line: 83 end line: 91 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 186 unit: protected string FormatVMInstanceViewStatus() file: e2etest/GuestProxyAgentTest/TestCases/TestCaseBase.cs start line: 104 end line: 112 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: public void CleanSharedBlobFolder() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 120 end line: 128 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 188 unit: public static void Init() file: e2etest/GuestProxyAgentTest/Utilities/VMHelper.cs start line: 44 end line: 52 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 189 unit: fn write_line() file: proxy_agent_shared/src/logger/rolling_logger.rs start line: 74 end line: 84 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 190 unit: fn test_update_service() file: proxy_agent_shared/src/service.rs start line: 158 end line: 166 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: fn unmask_service() file: proxy_agent_shared/src/service/linux_service.rs start line: 36 end line: 44 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: fn disable_service() file: proxy_agent_shared/src/service/linux_service.rs start line: 51 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: fn enable_service() file: proxy_agent_shared/src/service/linux_service.rs start line: 70 end line: 78 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: fn read_reg_string() file: proxy_agent_shared/src/windows.rs start line: 40 end line: 50 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 195 unit: fn check_windows_os_version() file: proxy_agent_extension/src/handler_main.rs start line: 58 end line: 66 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 286 end line: 294 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 693 end line: 701 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: fn get_memory_in_mb_test() file: proxy_agent/src/common/windows.rs start line: 148 end line: 156 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: Function GetCurrentOperatingSystem file: Setup/Windows/Utility.vbs start line: 120 end line: 129 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 200 unit: fn main() file: proxy_agent_setup/build.rs start line: 3 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: fn get_file_name_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 428 end line: 436 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: fn reload_systemd_daemon() file: proxy_agent_shared/src/service/linux_service.rs start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: fn main() file: proxy_agent_extension/build.rs start line: 3 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: fn load_ebpf_api() file: proxy_agent/src/redirector/windows/bpf_api.rs start line: 115 end line: 130 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: fn get_ebpf_api_fun Result>() file: proxy_agent/src/redirector/windows/bpf_api.rs start line: 140 end line: 147 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: fn from_str() file: proxy_agent/src/proxy/authorization_rules.rs start line: 50 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 207 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 167 end line: 175 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 208 unit: fn authorize() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 184 end line: 191 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 209 unit: fn main() file: proxy_agent/build.rs start line: 3 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: inline __attribute__() file: ebpf/redirect.bpf.c start line: 33 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: public JunitTestResultBuilder() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: public async Task GetVirtualMachineResource() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 83 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: public static void AssertIsTrue() file: e2etest/GuestProxyAgentTest/Utilities/TestAssertUtils.cs start line: 13 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 214 unit: fn copy_service_config_file() file: proxy_agent_setup/src/linux.rs start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 215 unit: fn get_processor_arch_test() file: proxy_agent_shared/src/linux.rs start line: 137 end line: 143 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: fn get_processor_arch_test() file: proxy_agent_shared/src/windows.rs start line: 347 end line: 353 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 217 unit: fn install_handler() file: proxy_agent_extension/src/handler_main.rs start line: 186 end line: 192 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 205 end line: 211 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: fn fmt() file: proxy_agent/src/proxy/authorization_rules.rs start line: 38 end line: 44 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: fn to_string() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 79 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: fn to_string() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 156 end line: 162 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/IMDSPingTestCase.cs start line: 18 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/LocalIPBindingCase.cs start line: 17 end line: 22 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: public static void Init() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 29 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 225 unit: public static void TestSetup() file: e2etest/GuestProxyAgentTest/Utilities/TestCommonUtilities.cs start line: 19 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 226 unit: public TestScenarioBase TestScenarioSetting() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: public TestCaseExecutionContext() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 349 end line: 354 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 228 unit: public override void TestScenarioSetup() file: e2etest/GuestProxyAgentTest/TestScenarios/BugFixesScenario.cs start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: fn force_init_logger() file: proxy_agent_setup/src/logger.rs start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: fn to_json_string() file: proxy_agent_shared/src/telemetry/span.rs start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: fn setup() file: proxy_agent_extension/src/logger.rs start line: 50 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 277 end line: 282 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: fn clone() file: proxy_agent/src/key_keeper/key.rs start line: 397 end line: 402 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: fn fmt() file: proxy_agent/src/key_keeper/key.rs start line: 710 end line: 715 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 235 unit: fn log() file: proxy_agent/src/common/logger.rs start line: 27 end line: 32 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 236 unit: fn get_ebpf_api() file: proxy_agent/src/redirector/windows/bpf_api.rs start line: 132 end line: 137 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: fn sock_addr_skip_process_entry_test() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 173 end line: 178 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: public RunCommandSettingBuilder TestScenarioSetting() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 239 unit: public RunCommandSettingBuilder RunCommandName() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: public RunCommandSettingBuilder ScriptFullPath() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: public RunCommandSettingBuilder CustomOutputSas() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: public RunCommandSettingBuilder AddParameter() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 243 unit: public RunCommandSettingBuilder RunCommandScriptSAS() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 97 end line: 101 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: private string StringAdd() file: e2etest/GuestProxyAgentTest/Utilities/JUnitTestResultBuilder.cs start line: 213 end line: 217 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 245 unit: public VirtualMachineResource GetVMResource() file: e2etest/GuestProxyAgentTest/Utilities/VMHelper.cs start line: 60 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 246 unit: public TestScenarioBase JUnitTestResultBuilder() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 247 unit: fn path_to_string_test() file: proxy_agent_shared/src/misc_helpers.rs start line: 366 end line: 370 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: fn get_temp_test_dir() file: proxy_agent_extension/src/logger.rs start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: fn get_update_tag_file() file: proxy_agent_extension/src/handler_main.rs start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: fn get_processor_count_test() file: proxy_agent/src/common/windows.rs start line: 141 end line: 145 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 251 unit: fn get_temp_test_dir() file: proxy_agent/src/service.rs start line: 161 end line: 165 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 252 unit: fn empty_response() file: proxy_agent/src/proxy/proxy_server.rs start line: 831 end line: 836 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: fn to_pwstr() file: proxy_agent/src/proxy/windows.rs start line: 218 end line: 222 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: int connect4() file: linux-ebpf/ebpf_cgroup.c start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: public IMDSPingTestCase() file: e2etest/GuestProxyAgentTest/TestCases/IMDSPingTestCase.cs start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 256 unit: public TCPPortScalabilityCase() file: e2etest/GuestProxyAgentTest/TestCases/TCPPortScalabilityCase.cs start line: 10 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: public TestCaseBase() file: e2etest/GuestProxyAgentTest/TestCases/TestCaseBase.cs start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 258 unit: public override async Task StartAsync() file: e2etest/GuestProxyAgentTest/TestCases/SetupCGroup2TestCase.cs start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: public LocalIPBindingCase() file: e2etest/GuestProxyAgentTest/TestCases/LocalIPBindingCase.cs start line: 10 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: public GuestProxyAgentExtensionValidationCase() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentExtensionValidationCase.cs start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 261 unit: public EnableProxyAgentCase() file: e2etest/GuestProxyAgentTest/TestCases/EnableProxyAgentCase.cs start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 262 unit: public string Upload2SharedBlob() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 78 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 263 unit: public string GenerateSasUriFromSharedBlob() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 264 unit: public RunCommandSettingBuilder() file: e2etest/GuestProxyAgentTest/Utilities/RunCommandSettingBuilder.cs start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: public static bool IS_WINDOWS() file: e2etest/GuestProxyAgentTest/Utilities/Constants.cs start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: public TestScenarioBase() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: protected void AddTestCase() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: protected void ConsoleLog() file: e2etest/GuestProxyAgentTest/TestScenarios/TestScenarioBase.cs start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: public override AccessToken GetToken() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 270 unit: public override ValueTask GetTokenAsync() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 271 unit: public override AccessToken GetToken() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 272 unit: public override ValueTask GetTokenAsync() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 273 unit: Function CreateTempFile() file: Setup/Windows/Utility.vbs start line: 67 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: Function GetScriptObject() file: Setup/Windows/Utility.vbs start line: 87 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 275 unit: Function GetScriptObject() file: Setup/Windows/UninstallProxyAgent.vbs start line: 12 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 276 unit: Function GetScriptObject() file: Setup/Windows/InstallOrUpdateProxyAgent.vbs start line: 11 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 277 unit: Function GetScriptObject() file: Setup/Windows/UninstallProxyAgentOnly.vbs start line: 12 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 278 unit: Function GetScriptObject() file: Setup/Windows/InstallOrUpdateProxyAgentOnly.vbs start line: 9 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 279 unit: fn ebpf_folder() file: proxy_agent_setup/src/setup.rs start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 280 unit: fn delete_backup_folder() file: proxy_agent_setup/src/main.rs start line: 326 end line: 329 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: fn get_stream_rocket_id() file: proxy_agent/src/proxy/proxy_server.rs start line: 323 end line: 326 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: int authorize_connect4() file: ebpf/redirect.bpf.c start line: 147 end line: 150 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: int BPF_KPROBE() file: linux-ebpf/ebpf_cgroup.c start line: 249 end line: 252 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 284 unit: public InstallOrUpdateGuestProxyAgentPackageCase() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentPackageCase.cs start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 285 unit: public GuestProxyAgentLoadedModulesValidationCase() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentLoadedModulesValidationCase.cs start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 286 unit: public SetupCGroup2TestCase() file: e2etest/GuestProxyAgentTest/TestCases/SetupCGroup2TestCase.cs start line: 11 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: public InstallOrUpdateGuestProxyAgentExtensionCase() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentExtensionCase.cs start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: public InstallOrUpdateGuestProxyAgentCase() file: e2etest/GuestProxyAgentTest/TestCases/InstallOrUpdateGuestProxyAgentCase.cs start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 289 unit: fn fmt() file: proxy_agent_setup/src/args.rs start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 290 unit: fn new() file: proxy_agent_shared/src/telemetry/span.rs start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 291 unit: fn fmt() file: proxy_agent_shared/src/telemetry/span.rs start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 292 unit: fn default() file: proxy_agent_shared/src/telemetry/span.rs start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: fn cleanup() file: proxy_agent_extension/src/logger.rs start line: 59 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 294 unit: fn default() file: proxy_agent_extension/src/common.rs start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: fn setup() file: proxy_agent/src/service.rs start line: 168 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: fn cleanup() file: proxy_agent/src/service.rs start line: 174 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: fn empty() file: proxy_agent/src/redirector/windows/bpf_obj.rs start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: fn is_null() file: proxy_agent/src/redirector/windows/bpf_prog.rs start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: fn get_cstring() file: proxy_agent/src/redirector/windows/bpf_api.rs start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: fn empty() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 301 unit: fn empty() file: proxy_agent/src/redirector/linux/ebpf_obj.rs start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 302 unit: fn default() file: proxy_agent/src/redirector/windows.rs start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 303 unit: fn to_string() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: fn to_string() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 177 end line: 179 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: fn to_string() file: proxy_agent/src/proxy/proxy_authorizer.rs start line: 193 end line: 195 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: fn default() file: proxy_agent/src/telemetry/telemetry_event.rs start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 307 unit: public AddLinuxVMExtensionCase() file: e2etest/GuestProxyAgentTest/TestCases/AddLinuxVMExtensionCase.cs start line: 13 end line: 14 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 308 unit: public AddLinuxVMExtensionCase() file: e2etest/GuestProxyAgentTest/TestCases/AddLinuxVMExtensionCase.cs start line: 15 end line: 16 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: public RebootVMCase() file: e2etest/GuestProxyAgentTest/TestCases/RebootVMCase.cs start line: 14 end line: 15 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 310 unit: public RebootVMCase() file: e2etest/GuestProxyAgentTest/TestCases/RebootVMCase.cs start line: 16 end line: 17 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: public GuestProxyAgentExtensionValidationCase() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentExtensionValidationCase.cs start line: 14 end line: 15 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 312 unit: public EnableProxyAgentCase() file: e2etest/GuestProxyAgentTest/TestCases/EnableProxyAgentCase.cs start line: 11 end line: 12 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 313 unit: public EnableProxyAgentCase() file: e2etest/GuestProxyAgentTest/TestCases/EnableProxyAgentCase.cs start line: 13 end line: 14 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: public GuestProxyAgentValidationCase() file: e2etest/GuestProxyAgentTest/TestCases/GuestProxyAgentValidationCase.cs start line: 28 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 315 unit: private StorageHelper() file: e2etest/GuestProxyAgentTest/Utilities/StorageHelper.cs start line: 21 end line: 21 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 316 unit: public VMBuilder() file: e2etest/GuestProxyAgentTest/Utilities/VMBuilder.cs start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 317 unit: private VMHelper() file: e2etest/GuestProxyAgentTest/Utilities/VMHelper.cs start line: 20 end line: 20 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 318 unit: private TestSetting() file: e2etest/GuestProxyAgentTest/Settings/TestSetting.cs start line: 54 end line: 54 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 319 unit: Function LeftPad() file: Setup/Windows/Utility.vbs start line: 131 end line: 135 size: 1 LOC McCabe index: 1 number of parameters: 3