Skip to content

[Update] to SysML2.NET version 0.14.0 #221

[Update] to SysML2.NET version 0.14.0

[Update] to SysML2.NET version 0.14.0 #221

Triggered via push August 11, 2024 12:17
Status Success
Total duration 4m 11s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build: SysML2.NET.CodeGenerator/Generators/HandleBarsGenerator.cs#L49
Remove this call from a constructor to the overridable 'RegisterHelpers' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
Build: SysML2.NET.CodeGenerator/Generators/HandleBarsGenerator.cs#L50
Remove this call from a constructor to the overridable 'RegisterTemplates' method. (https://rules.sonarsource.com/csharp/RSPEC-1699)
Build: SysML2.NET.CodeGenerator/HandleBarHelpers/StructuralFeatureHelper.cs#L44
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: SysML2.NET.CodeGenerator/HandleBarHelpers/TypeNameHelper.cs#L44
Refactor this method to reduce its Cognitive Complexity from 54 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L428
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: SysML2.NET/PIM/POCO/DataIdentity.cs#L35
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: SysML2.NET/Decorators/EFeatureAttribute.cs#L79
Constructor has 12 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build: SysML2.NET.OGM/PIM/AutoGenRepository/BranchRepository.cs#L81
Unreachable code detected
Build: SysML2.NET.OGM/PIM/AutoGenRepository/ProjectRepository.cs#L125
Use 'Count' property here instead. (https://rules.sonarsource.com/csharp/RSPEC-2971)