Skip to content

Retrieve contact information for multiple users #462

Retrieve contact information for multiple users

Retrieve contact information for multiple users #462

Triggered via pull request October 9, 2024 12:59
Status Failure
Total duration 1m 37s
Artifacts 1

build-and-analyze.yml

on: pull_request
Build, test & analyze
1m 28s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
Build, test & analyze
Invalid request. Only 65535 characters are allowed; 181200 were supplied. - https://docs.github.com/rest/checks/runs#create-a-check-run
Build, test & analyze
At least one failing test was found
Build, test & analyze
Process completed with exit code 1.
Build, test & analyze: src/Altinn.Profile/Program.cs#L1
Refactor this top-level file to reduce its Cognitive Complexity from 23 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L46
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L69
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L110
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Models/UserProfileLookup.cs#L17
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
Build, test & analyze: src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L89
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L48
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserContactPointController.cs#L37
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserContactPointController.cs#L57
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UnitContactPointController.cs#L36
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)

Artifacts

Produced during runtime
Name Size
TestResults
37 KB