Skip to content

Create the NamingConventionService on the common lib and adapt it so … #1526

Create the NamingConventionService on the common lib and adapt it so …

Create the NamingConventionService on the common lib and adapt it so … #1526

Triggered via push October 18, 2023 14:07
Status Success
Total duration 3m 30s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: COMET.Web.Common/Utilities/DisposableObject/DisposableObject.cs#L33
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: COMET.Web.Common/Components/DisposableComponent.razor.cs#L33
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: COMET.Web.Common/Services/NamingConventionService/INamingConventionService.cs#L30
Add the 'in' keyword to parameter 'TEnum' to make it 'contravariant'. (https://rules.sonarsource.com/csharp/RSPEC-3246)
Build: COMET.Web.Common/ViewModels/Components/ParameterEditors/EnumerationParameterTypeEditorViewModel.cs#L121
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: COMET.Web.Common/Components/ParameterTypeEditors/CompoundParameterTypeEditor.razor#L35
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
Build: COMET.Web.Common/Extensions/GuidExtensions.cs#L143
Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
Build: COMETwebapp/Program.cs#L62
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: COMETwebapp/Components/Shared/About.razor.cs#L39
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build: COMETwebapp/ViewModels/Components/Viewer/PropertiesPanel/PropertiesComponentViewModel.cs#L206
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: COMETwebapp/Services/Interoperability/BabylonInterop.cs#L63
Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457)