Skip to content

Sonar

Sonar #4

Triggered via workflow run January 21, 2026 07:54
@olsholsh
completed 70c10a9
Status Success
Total duration 2m 58s
Artifacts

sonar.yml

on: workflow_run
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistRestClient.cs(86,45): warning S1192: Define a constant instead of using this literal 'Value cannot be null or empty.' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=net462]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\Exceptions\TodoistException.cs(53,16): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=net462]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistClient.cs(479,22): warning S2325: Make 'UpdateTempIds' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistClient.cs(448,22): warning S2325: Make 'ThrowIfErrors' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistClient.cs(451,40): warning S3267: Loop should be simplified by calling Select(syncStatus => syncStatus.Value)) (https://rules.sonarsource.com/csharp/RSPEC-3267) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistClient.cs(424,36): warning S2325: Make 'ReadResponseAsync' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistClient.cs(438,19): warning S2325: Make 'DeserializeResponse' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistRestClient.cs(57,47): warning S1075: Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistRestClient.cs(42,39): warning S1075: Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]
sonar
D:\a\todoist-net\todoist-net\src\Todoist.Net\TodoistRestClient.cs(86,45): warning S1192: Define a constant instead of using this literal 'Value cannot be null or empty.' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [D:\a\todoist-net\todoist-net\src\Todoist.Net\Todoist.Net.csproj::TargetFramework=netstandard2.0]