Skip to content

Updated Tests - WIP

Updated Tests - WIP #2

Triggered via push November 18, 2024 11:45
Status Success
Total duration 1m 31s
Artifacts
build-and-test  /  build-and-test
1m 19s
build-and-test / build-and-test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L54
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L26
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L61
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L69
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L54
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L26
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L61
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L69
The collection-specific "TrueForAll" method should be used instead of the "All" extension (https://rules.sonarsource.com/csharp/RSPEC-6603)