Skip to content

Telemetry PoC

Telemetry PoC #13293

Triggered via pull request February 27, 2025 12:14
Status Success
Total duration 3m 32s
Artifacts

sonarcloud.yml

on: pull_request
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/kiota/Telemetry/Instrumentation.cs#L6
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/kiota/Telemetry/Telemetry.cs#L5
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/kiota/Handlers/BaseKiotaCommandHandler.cs#L69
Enable server certificate validation on this SSL/TLS connection (https://rules.sonarsource.com/csharp/RSPEC-4830)
Build: src/kiota/Handlers/BaseKiotaCommandHandler.cs#L71
Rename 'httpClient' which hides the property with the same name. (https://rules.sonarsource.com/csharp/RSPEC-1117)
Build: src/kiota/Extension/KiotaHostExtensions.cs#L20
Refactor this static local function to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/kiota/Handlers/BaseKiotaCommandHandler.cs#L112
Remove this unnecessary cast to 'IAuthenticationProvider'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
Build: src/kiota/Handlers/Client/RemoveHandler.cs#L83
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/kiota/Handlers/Client/RemoveHandler.cs#L69
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
Build: src/kiota/Handlers/Client/RemoveHandler.cs#L74
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
Build: src/kiota/Handlers/Workspace/MigrateHandler.cs#L85
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)