Skip to content

improvs for task 430 #2492

improvs for task 430

improvs for task 430 #2492

Triggered via push August 1, 2024 13:37
Status Success
Total duration 3m 12s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/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/ViewModels/Components/Applications/ApplicationBaseViewModel.cs#L44
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: COMET.Web.Common/Extensions/SessionServiceExtensions.cs#L50
Split this method into two, one handling parameters check and the other handling the asynchronous code. (https://rules.sonarsource.com/csharp/RSPEC-4457)
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: COMETwebapp/Program.cs#L44
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: COMETwebapp/Components/Common/ThingOrderedItemsTable.razor.cs#L42
Reduce the number of generic parameters in the 'ThingOrderedItemsTable' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
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#L218
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: COMETwebapp/ViewModels/Components/Viewer/PropertiesPanel/PropertiesComponentViewModel.cs#L274
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)