Skip to content

[Quality] as per SonarQube suggestions #23

[Quality] as per SonarQube suggestions

[Quality] as per SonarQube suggestions #23

Triggered via push April 14, 2024 08:39
Status Success
Total duration 1m 16s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v2, actions/setup-dotnet@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/setup-java@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: DEH-REQIF/MappingRules/ParameterTypes/ScalarParameterTypeMappingRule.cs#L81
All 'Transform' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: DEH-REQIF/ReqIFBuilder.cs#L116
Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
Build: DEH-REQIF/ReqIFBuilder.cs#L354
Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: DEH-REQIF-APP/Program.cs#L68
Make sure that this logger's configuration is safe. (https://rules.sonarsource.com/csharp/RSPEC-4792)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L87
The parameter name 'username' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L88
The parameter name 'passwordOption' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L89
The parameter name 'dataSourceOption' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L91
The parameter name 'templateSource' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L92
The parameter name 'targetReqIF' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build: DEH-REQIF-APP/Commands/ConvertCommandFactory.cs#L95
The parameter name 'engineeringModelIid' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928)