Skip to content

fix: serialization of primitives present in additionalData #775

fix: serialization of primitives present in additionalData

fix: serialization of primitives present in additionalData #775

Triggered via pull request November 13, 2024 13:16
Status Success
Total duration 4m 37s
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/serialization/json/JsonSerializationWriter.cs#L26
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: src/serialization/json/JsonSerializationWriter.cs#L26
'ISerializationWriter' implements 'IDisposable' so 'IDisposable' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
Build: src/serialization/json/JsonSerializationWriter.cs#L276
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/serialization/json/JsonSerializationWriter.cs#L379
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/serialization/json/JsonSerializationWriter.cs#L482
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/serialization/json/JsonSerializationWriter.cs#L417
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/serialization/json/JsonSerializationWriter.cs#L420
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/serialization/json/JsonSerializationWriter.cs#L426
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/serialization/json/JsonSerializationWriter.cs#L441
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/serialization/json/JsonSerializationWriter.cs#L456
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)