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

Merge pull request #139 from microsoft/andrueastman/queryParamName #164

Merge pull request #139 from microsoft/andrueastman/queryParamName

Merge pull request #139 from microsoft/andrueastman/queryParamName #164

Triggered via push August 28, 2023 11:29
Status Success
Total duration 3m 4s
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#L24
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/Middleware/UserAgentHandler.cs#L37
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Middleware/RetryHandler.cs#L60
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
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/ChaosHandler.cs#L38
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
Build: src/Middleware/CompressionHandler.cs#L38
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Middleware/ChaosHandler.cs#L62
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/KiotaClientFactory.cs#L68
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
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/HeadersInspectionHandler.cs#L42
Change this expression which always evaluates to the same result. (https://rules.sonarsource.com/csharp/RSPEC-2589)