This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
Merge pull request #263 from microsoft/andrueastman-patch-1 #373
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
0s
Build
3m 22s
Annotations
10 warnings
Build:
src/HttpClientRequestAdapter.cs#L447
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build:
src/Middleware/ChaosHandler.cs#L24
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/Middleware/UserAgentHandler.cs#L49
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build:
src/HttpClientRequestAdapter.cs#L93
Await DisposeAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
Build:
src/HttpClientRequestAdapter.cs#L129
Await DisposeAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
Build:
src/Middleware/ChaosHandler.cs#L38
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
|
Build:
src/HttpClientRequestAdapter.cs#L170
Await DisposeAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
Build:
src/Middleware/HeadersInspectionHandler.cs#L33
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
src/HttpClientRequestAdapter.cs#L206
Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|