Telemetry PoC #13293
Annotations
10 warnings
Build and analyze:
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 and analyze:
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 and analyze:
src/kiota/Handlers/BaseKiotaCommandHandler.cs#L69
Enable server certificate validation on this SSL/TLS connection (https://rules.sonarsource.com/csharp/RSPEC-4830)
|
Build and analyze:
src/kiota/Handlers/BaseKiotaCommandHandler.cs#L71
Rename 'httpClient' which hides the property with the same name. (https://rules.sonarsource.com/csharp/RSPEC-1117)
|
Build and analyze:
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 and analyze:
src/kiota/Handlers/BaseKiotaCommandHandler.cs#L112
Remove this unnecessary cast to 'IAuthenticationProvider'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
|
Build and analyze:
src/kiota/Handlers/Client/RemoveHandler.cs#L83
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Build and analyze:
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 and analyze:
src/kiota/Handlers/Client/RemoveHandler.cs#L74
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
|
Build and analyze:
src/kiota/Handlers/Workspace/MigrateHandler.cs#L85
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
Loading