Skip to content

[v2] Reduce code duplication #1394

[v2] Reduce code duplication

[v2] Reduce code duplication #1394

Triggered via push September 16, 2024 18:41
Status Success
Total duration 7m 12s
Artifacts

sonarcloud.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
SonarCloud: Source/Lib/Trakt.NET/Requests/Interfaces/Base/IRequest'1.cs#L3
'TResponseContentType' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326)
SonarCloud: Source/Lib/Trakt.NET/Requests/Handler/RequestMessageBuilder.cs#L66
Replace this type-check-and-cast sequence to use pattern matching. (https://rules.sonarsource.com/csharp/RSPEC-3247)
SonarCloud: docs/codesnippets/examples/auth/DeviceAuthenticationExample.cs#L50
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: docs/codesnippets/examples/auth/DeviceAuthenticationExample.cs#L55
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: docs/codesnippets/examples/auth/OAuthAuthenticationExample.cs#L43
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: docs/codesnippets/examples/auth/OAuthAuthenticationExample.cs#L48
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
SonarCloud: docs/codesnippets/examples/auth/DeviceAuthenticationExample.cs#L94
Remove the unused local variable 'response'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
SonarCloud: docs/codesnippets/examples/auth/OAuthAuthenticationExample.cs#L87
Remove the unused local variable 'response'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
SonarCloud: docs/codesnippets/examples/parameters/postbuilder/FavoritesPostBuilderExample.cs#L44
Remove the unused local variable 'response'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
SonarCloud: Source/Tests/Trakt.NET.Core.Tests/Services/TraktLanguageService_Tests.cs#L15
'TraktLanguageService.GetLanguage(string)' is obsolete: 'This method is deprecated and will be removed in a future version.'