Skip to content

Add average function #6378

Add average function

Add average function #6378

Triggered via pull request June 23, 2026 18:47
Status Success
Total duration 8m 35s
Artifacts

test-and-analyze.yml

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

Annotations

10 warnings
Static code analysis: src/Altinn.App.Analyzers/FormDataWrapper/FormDataWrapperUtils.cs#L257
Complete the task associated to this 'TODO' comment.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L390
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L303
Loop should be simplified by calling Select(parameter => parameter.Type))
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L314
Merge this if statement with the enclosing one.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L343
Refactor this static local function to reduce its Cognitive Complexity from 19 to the 15 allowed.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L278
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L189
Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L9
Initialize all 'static fields' inline and remove the 'static constructor'.
Static code analysis: src/Altinn.App.Internal.Analyzers/AppImplementationInjectionAnalyzer.cs#L137
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.