id: 1 unit: public async Task SendMessage() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 281 end line: 408 size: 116 LOC McCabe index: 12 number of parameters: 1 id: 2 unit: public async Task LogOffUserSession() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 160 end line: 231 size: 68 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: public async Task Index() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 56 end line: 134 size: 67 LOC McCabe index: 17 number of parameters: 1 id: 4 unit: public async Task IssuesInterval() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 482 end line: 562 size: 63 LOC McCabe index: 11 number of parameters: 4 id: 5 unit: public async Task ExecuteLogAnalyticsQuery() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/LogAnalyticsService.cs start line: 79 end line: 143 size: 59 LOC McCabe index: 13 number of parameters: 3 id: 6 unit: public async Task ActivityHostDetails() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 410 end line: 458 size: 47 LOC McCabe index: 11 number of parameters: 1 id: 7 unit: public JArray PrepareBatchQueryRequest() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/LogAnalyticsService.cs start line: 30 end line: 78 size: 45 LOC McCabe index: 9 number of parameters: 3 id: 8 unit: public async Task Index() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 40 end line: 87 size: 43 LOC McCabe index: 4 number of parameters: 0 id: 9 unit: public async Task InitiateSendMessage() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 234 end line: 278 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: public void ConfigureServices() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Startup.cs start line: 29 end line: 92 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: public IActionResult Save() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 124 end line: 150 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: public string GetAccessTokenWVD() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/CommonService.cs start line: 45 end line: 66 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: public IActionResult Error() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 152 end line: 174 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 14 unit: public string GetAccessTokenLogAnalytic() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/CommonService.cs start line: 23 end line: 43 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: public static void ConfigureExceptionHandler() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/ExceptionMiddlewareExtensions.cs start line: 13 end line: 35 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 16 unit: public List GetTenantGroups() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 185 end line: 205 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 17 unit: private async Task PostRequest() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 122 end line: 138 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 18 unit: public void Configure() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Startup.cs start line: 95 end line: 111 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 19 unit: public async Task GetVMPerformance() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 460 end line: 476 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: public IEnumerable Validate() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Models/DaigonizePageViewModel.cs start line: 35 end line: 51 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: private async Task Request() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/DiagnozeService.cs start line: 319 end line: 333 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 22 unit: public async Task SendMessage() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 86 end line: 102 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 23 unit: public async Task LogOffUserSession() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 103 end line: 119 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 24 unit: private async Task Request() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 139 end line: 154 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 25 unit: private async Task Request() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/RoleAssignmentService.cs start line: 82 end line: 97 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 26 unit: private string ListToCSV() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 580 end line: 596 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: public async Task ClearFilter() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 564 end line: 579 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: public DiagnozeService() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/DiagnozeService.cs start line: 25 end line: 39 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 29 unit: public UserSessionService() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 25 end line: 38 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 30 unit: public RoleAssignmentService() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/RoleAssignmentService.cs start line: 24 end line: 37 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: public async Task InvokeAsync() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/ExceptionMiddleware.cs start line: 20 end line: 31 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: public async Task SearchResults() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 136 end line: 146 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: private static Task HandleExceptionAsync() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/ExceptionMiddleware.cs start line: 33 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: public static IWebHostBuilder CreateWebHostBuilder() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Program.cs start line: 17 end line: 27 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: public DiagnoseIssuesController() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 32 end line: 40 size: 9 LOC McCabe index: 1 number of parameters: 6 id: 36 unit: public IActionResult AppSettings() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 175 end line: 183 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: public HomeController() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 38 unit: public async Task Logout() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 114 end line: 120 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: public LogAnalyticsService() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/LogAnalyticsService.cs start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 40 unit: public async Task SendMessage() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/api/SessionHostController.cs start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: public async Task LogOffUser() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/api/SessionHostController.cs start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: public static T Get() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/SessionExtensions.cs start line: 14 end line: 20 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: public IActionResult Index() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 41 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: public IActionResult returnToIndex() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 48 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: public async Task GetSessionHostPerformance() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/LogAnalyticsService.cs start line: 144 end line: 152 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: public CommonService() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/CommonService.cs start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: public ExceptionMiddleware() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/ExceptionMiddleware.cs start line: 14 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 48 unit: public SessionHostController() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/api/SessionHostController.cs start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: public DiagnosticActivityController() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/api/DiagnosticActivityController.cs start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 50 unit: public override string ToString() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Models/ErrorDetails.cs start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: private async Task SendRequest() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/DiagnozeService.cs start line: 314 end line: 317 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: private async Task SendRequest() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/UserSessionService.cs start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: private async Task SendRequest() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/RoleAssignmentService.cs start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: public Startup() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Startup.cs start line: 18 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: public static void Set() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/SessionExtensions.cs start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: public static void SetComplexData() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/SessionExtensions.cs start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: public static void ConfigureCustomExceptionMiddleware() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/ExceptionMiddlewareExtensions.cs start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: public IActionResult Login() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: public IActionResult LoginCallback() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/HomeController.cs start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: public IActionResult GetUserSessions() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 147 end line: 150 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: public ActionResult ExporttoPDF() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Controllers/DiagonizeIssuesController.cs start line: 477 end line: 480 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: public static void Main() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics/Program.cs start line: 11 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: public static void Connect() file: wvd-templates/diagnostics-sample/src/MSFT.WVD.Diagnostics.Common/Services/KustoService.cs start line: 16 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0