Skip to content

Remove unused property on DataPatchResult #2601

Remove unused property on DataPatchResult

Remove unused property on DataPatchResult #2601

Triggered via pull request October 21, 2024 14:43
Status Success
Total duration 8m 50s
Artifacts

test-and-analyze.yml

on: pull_request
Static code analysis
8m 38s
Static code analysis
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Static code analysis: src/Altinn.App.Core/Internal/Patch/PatchService.cs#L98
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Static code analysis: src/Altinn.App.Core/Internal/Patch/PatchService.cs#L220
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Static code analysis: src/Altinn.App.Core/Internal/Patch/PatchService.cs#L40
Constructor has 9 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Static code analysis: src/Altinn.App.Core/Internal/Patch/PatchService.cs#L184
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Static code analysis: src/Altinn.App.Api/Controllers/AccountController.cs#L31
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/ActionsController.cs#L77
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/TextsController.cs#L33
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/StatelessDataController.cs#L82
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/StatelessDataController.cs#L163
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Static code analysis: src/Altinn.App.Api/Controllers/StatelessDataController.cs#L203
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)