Skip to content

Code quality

Code quality #85

Triggered via push May 3, 2024 10:07
Status Success
Total duration 5m 48s
Artifacts 1
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/checkout@v2, cschleiden/[email protected], actions/cache@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/AxaFrance.AxeExtended.HtmlReport/OverallResultItem.cs#L9
Missing XML comment for publicly visible type or member 'OverallResultItem'
build: src/AxaFrance.AxeExtended.HtmlReport/OverallResultItem.cs#L16
Missing XML comment for publicly visible type or member 'OverallResultItem.RuleName'
build: src/AxaFrance.AxeExtended.HtmlReport/Config/Option.cs#L13
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
build: src/AxaFrance.AxeExtended.HtmlReport/RgaaTagsProvider.cs#L21
Define a constant instead of using this literal 'RGAA 11.1.1' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build: src/AxaFrance.AxeExtended.HtmlReport/RgaaTagsProvider.cs#L55
Define a constant instead of using this literal 'RGAA 9.2.1' 10 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build: src/AxaFrance.AxeExtended.HtmlReport/BaseResult.cs#L36
This line will not be executed conditionally; only the first line of this 1-line block will be. The rest will execute unconditionally. (https://rules.sonarsource.com/csharp/RSPEC-2681)
build: src/AxaFrance.AxeExtended.HtmlReport/AxeOverallResult.cs#L44
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build: src/AxaFrance.AxeExtended.HtmlReport/AxeOverallResult.cs#L52
Loop should be simplified by calling Select(violation => violation.Item)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
build: src/AxaFrance.AxeExtended.HtmlReport/AxeOverallResult.cs#L59
Loop should be simplified by calling Select(incomplete => incomplete.Item)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
build: src/AxaFrance.AxeExtended.HtmlReport/AxeOverallResult.cs#L69
Loop should be simplified by calling Select(pass => pass.Item)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "build-artifact". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
build-artifact Expired
124 KB