Skip to content

feature/serialization helpers #203

feature/serialization helpers

feature/serialization helpers #203

Triggered via pull request October 27, 2023 19:20
Status Success
Total duration 2m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

sonarcloud.yml

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

Annotations

10 warnings
Build: src/NativeResponseHandler.cs#L20
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: src/serialization/DeserializationHelpers.cs#L28
All 'Deserialize' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/serialization/JsonDeserializationHelpers.cs#L16
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/serialization/ParseNodeFactoryRegistry.cs#L36
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
Build: src/authentication/ApiKeyAuthenticationProvider.cs#L74
The parameter name 'KeyLoc' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: src/serialization/SerializationWriterFactoryRegistry.cs#L44
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/serialization/DeserializationHelpers.cs#L75
Drop 'Where' and move the condition into the 'FirstOrDefault'. (https://rules.sonarsource.com/csharp/RSPEC-2971)
Build: src/serialization/ParseNodeFactoryRegistry.cs#L49
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/NativeResponseHandler.cs#L20
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: src/serialization/DeserializationHelpers.cs#L28
All 'Deserialize' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)