Skip to content

Update needs-author-feedback label to replacement #404

Update needs-author-feedback label to replacement

Update needs-author-feedback label to replacement #404

Triggered via pull request May 23, 2024 11:54
Status Success
Total duration 2m 4s
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/MultipartBody.cs#L188
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
Build: src/DefaultQueryParameters.cs#L10
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
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/NativeResponseWrapper.cs#L14
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/RequestHeaders.cs#L60
Refactor 'Values' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
Build: src/serialization/KiotaJsonSerializer.Serialization.cs#L24
All 'SerializeAsStream' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/serialization/KiotaJsonSerializer.Serialization.cs#L34
All 'SerializeAsString' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/serialization/KiotaJsonSerializer.Serialization.cs#L44
All 'SerializeAsStringAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/serialization/ParsableFactory.cs#L15
Add the 'out' keyword to parameter 'T' to make it 'covariant'. (https://rules.sonarsource.com/csharp/RSPEC-3246)
Build: src/serialization/KiotaSerializer.Deserialization.cs#L27
All 'Deserialize' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)