Skip to content

Fix some warnings

Fix some warnings #405

Status Failure
Total duration 5m 28s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Build
Process completed with exit code 1.
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/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/UmlHandleBarsGenerators/UmlCorePocoGenerator.cs#L175
Define a constant instead of using this literal 'SysML' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Generators/UmlHandleBarsGenerators/UmlCoreJsonDtoDeSerializerGenerator.cs#L111
Define a constant instead of using this literal 'SysML' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Generators/UmlHandleBarsGenerators/UmlCoreDtoGenerator.cs#L203
Define a constant instead of using this literal 'SysML' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L342
Define a constant instead of using this literal 'documentation' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L73
Define a constant instead of using this literal 'EDouble' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L72
Define a constant instead of using this literal 'String' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L69
Define a constant instead of using this literal 'Integer' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: SysML2.NET.CodeGenerator/Extensions/EcoreExtensions.cs#L68
Define a constant instead of using this literal 'Boolean' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)