Skip to content

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src #7308

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src

Bump bunit, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.Extensions.Configuration.Binder, Microsoft.Extensions.Configuration.Json, Microsoft.Extensions.Configuration and Microsoft.AspNetCore.Components.WebAssembly.Authentication in /src #7308

Triggered via pull request April 20, 2024 19:01
Status Failure
Total duration 4m 26s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L54
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L43
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L80
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L113
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L79
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Shared/ProblemDetailsDialogTests.cs#L63
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Devices/LoRaDeviceTelemetryDialogTests.cs#L58
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassComponentDialogTests.cs#L131
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Dialogs/EdgeModels/AwsGreengrassPublicComponentsDialogTests.cs#L146
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.Unit/Client/Pages/Devices/LoRaDeviceTelemetryDialogTests.cs#L87
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/TagsConfigurationPage.cs#L12
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/TagsConfigurationPage.cs#L47
Member 'RemoveTag' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/DevicePage.cs#L18
In externally visible method 'DevicePage.DevicePage(IWebDriver driver, WebDriverWait wait)', validate parameter 'wait' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/DevicePage.cs#L19
In externally visible method 'DevicePage.DevicePage(IWebDriver driver, WebDriverWait wait)', validate parameter 'driver' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L25
Modify 'LoginPage.LoginPage(IConfiguration)' to call 'INavigation.GoToUrl(Uri)' instead of 'INavigation.GoToUrl(string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L23
In externally visible method 'LoginPage.LoginPage(IConfiguration configuration)', validate parameter 'configuration' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L15
Member 'UsernameField' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L16
Member 'PasswordField' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/Pages/LoginPage.cs#L17
Member 'LoginButton' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze Csharp: src/IoTHub.Portal.Tests.E2E/E2ETest.cs#L29
Member 'AddBorwserLogs' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)