Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Merge pull request #251 from ghelyar/main #344

Merge pull request #251 from ghelyar/main

Merge pull request #251 from ghelyar/main #344

Triggered via push May 7, 2024 16:20
Status Success
Total duration 3m 21s
Artifacts

sonarcloud.yml

on: push
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Middleware/ChaosHandler.cs#L25
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/Extensions/HttpRequestMessageExtensions.cs#L35
Remove this unnecessary cast to 'T'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
Build: src/HttpClientRequestAdapter.cs#L207
Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Middleware/ChaosHandler.cs#L39
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Build: src/HttpClientRequestAdapter.cs#L527
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Middleware/RedirectHandler.cs#L44
Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Middleware/HeadersInspectionHandler.cs#L31
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Middleware/ChaosHandler.cs#L25
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/Middleware/ChaosHandler.cs#L39
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Build: src/Extensions/HttpRequestMessageExtensions.cs#L35
Remove this unnecessary cast to 'T'. (https://rules.sonarsource.com/csharp/RSPEC-1905)