Skip to content

fixed few issues

fixed few issues #2

Triggered via push February 29, 2024 13:07
Status Success
Total duration 1m 49s
Artifacts

code_quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 120 warnings
Async method invocation without await expression: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L93
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Async method invocation without await expression: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L221
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Async method invocation without await expression: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L28
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Non-accessed field: Schnacc.UserInterface/LoginView/LoginSuccessfulPageMenuViewModel.cs#L11
Field 'mailSent' is assigned but its value is never used
Non-accessed field: Schnacc.UserInterface/Infrastructure/Controls/RangeObservableCollection.cs#L10
Field 'suppressNotification' is assigned but its value is never used
Parameter hides member: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L172
Parameter 'state' hides field 'Object Schnacc.UserInterface.PlayareaView.PlayareaViewModel.state'
Parameter hides member: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L194
Parameter 'state' hides field 'Object Schnacc.UserInterface.PlayareaView.PlayareaViewModel.state'
Exception rethrow possibly intended: Schnacc.Authorization/AuthorizationApi.cs#L77
Exception rethrow possibly intended
Exception rethrow possibly intended: Schnacc.Authorization/AuthorizationApi.cs#L42
Exception rethrow possibly intended
Possible 'System.NullReferenceException': Schnacc.Domain/Food/FoodFactory.cs#L23
Possible 'System.NullReferenceException'
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/LoginView/LoginPageViewModel.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/PasswordValidator.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/LoginView/LoginSuccessfulMenuPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HomeMenuView/HomeMenuPageViewModel.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/LoginView/LoginPageViewModel.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/ViewModels/ViewModelBase.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/EventToCommandBehavior.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/ViewModels/ViewModelBase.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Controls/RangeObservableCollection.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaSettingsPageViewModel.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/CommandBase.cs#L9
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Navigation/NavigationEventArgs.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L6
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Controls/RangeObservableCollection.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/GridHelpers.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/RegisterPageViewModel.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageView.xaml.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Converters/CommandParametersConverter.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Converters/CommandParametersConverter.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HomeMenuView/HomeMenuPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/NumericEntryControl.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/EventToCommandBehavior.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/RelayCommand.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HighscoreView/HighscoreViewModelcs.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/GridHelpers.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/PasswordValidator.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/NumericEntryControl.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/MainWindow.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/PasswordValidator.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncRelayCommand.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/RegisterPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HighscoreView/HighscoreViewModelcs.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HighscoreView/HighscoreView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Controls/RangeObservableCollection.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/LoginView/LoginPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/AssemblyInfo.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncRelayCommand.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/RelayCommand.cs#L11
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/CommandBase.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/RelayCommand.cs#L9
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/App.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/PasswordValidator.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/EventToCommandBehavior.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/NumericEntryControl.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/HighscoreView/HighscorePageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/RegisterView/RegisterPageViewModel.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/NumericEntryControl.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaSettingsPageView.xaml.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Controls/RangeObservableCollection.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/ViewModels/ViewModelBase.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/AttachedProperties/GridHelpers.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/EventToCommandBehavior.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Converters/CommandParametersConverter.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageView.xaml.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/EventToCommandBehavior.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncRelayCommand.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/CommandBase.cs#L11
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/Infrastructure/Commands/AsyncCommandBase.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Schnacc.UserInterface/PlayareaView/PlayareaPageViewModel.cs#L4
Using directive is not required by the code and can be safely removed
Unused local variable: Schnacc.Database/Database.cs#L44
Local variable 'firebaseObject' is never used
Unused local variable: Schnacc.Authorization/AuthorizationApi.cs#L22
Local variable 'registeredUserAuth' is never used
Unused local variable: Schnacc.Database.UnitTests/DatabaseTest.cs#L19
Local variable 'database' is never used
Unresolved binding path when DataContext is known: Schnacc.UserInterface/HighscoreView/HighscoreView.xaml#L40
Unable to resolve property 'Username' in data context of type 'Schnacc.UserInterface.HighscoreView.HighscoreViewModel'
Unresolved binding path when DataContext is known: Schnacc.UserInterface/HighscoreView/HighscoreView.xaml#L43
Unable to resolve property 'Score' in data context of type 'Schnacc.UserInterface.HighscoreView.HighscoreViewModel'
Redundant namespace alias: Schnacc.UserInterface/App.xaml#L4
Namespace alias 'local' is not required by code and can be safely removed
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, JetBrains/qodana-action@v2023.3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.