Feature/752 integrering authz tilgangsliste delegering enkelttjenester #2201
build-and-analyze.yml
on: pull_request
Build and Test
1m 15s
Analyze
4m 49s
Annotations
1 error and 10 warnings
Build and Test
Process completed with exit code 1.
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/PolicyHelper.cs#L354
All 'GetPolicyDataFromInstanceRight' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Analyze:
src/Altinn.AccessManagement.Core/Services/SingleRightsService.cs#L87
Define a constant instead of using this literal 'right[0].Resource' 8 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Analyze:
src/Altinn.AccessManagement.Core/Services/SingleRightsService.cs#L300
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Analyze:
src/Altinn.AccessManagement.Core/Services/SingleRightsService.cs#L53
Constructor has 9 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Analyze:
src/Altinn.AccessManagement.Core/Services/SingleRightsService.cs#L130
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/RightsHelper.cs#L91
Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/PolicyHelper.cs#L28
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/PolicyHelper.cs#L40
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/PolicyHelper.cs#L60
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Analyze:
src/Altinn.AccessManagement.Core/Helpers/PolicyHelper.cs#L157
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|