Skip to content

Qodana

Qodana #1

Manually triggered April 23, 2024 10:11
Status Success
Total duration 2m 14s
Artifacts

code_quality.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

48 warnings
Empty constructor: Models/DeviceModel.cs#L8
Empty constructor is redundant. The compiler generates the same by default.
Empty constructor: Services/GotifySocketService.cs#L16
Empty constructor is redundant. The compiler generates the same by default.
Invalid XML documentation comment: Models/DeviceModel.cs#L38
Parameter 'clientToken' has no matching param tag in the XML comment for iGotify_Notification_Assist.Models.DeviceModel.SendNotifications (but other parameters do)
Non-accessed field (private accessibility): Controller/VersionController.cs#L13
Field '_logger' is assigned but its value is never used
Non-accessed field (private accessibility): Controller/DeviceController.cs#L12
Field '_logger' is assigned but its value is never used
Redundant argument with default value: Controller/DeviceController.cs#L104
The parameter 'isCritical' has the same default value
Redundant argument with default value: Controller/DeviceController.cs#L104
The parameter 'priority' has the same default value
Redundant argument with default value: Controller/DeviceController.cs#L104
The parameter 'imageUrl' has the same default value
Assignment is not used: Services/GotifySocketService.cs#L106
Value assigned is not used in any execution path
Assignment is not used: Services/GotifySocketService.cs#L63
Value assigned is not used in any execution path
Assignment is not used: Services/GotifySocketService.cs#L40
Value assigned is not used in any execution path
Assignment is not used: Controller/DeviceController.cs#L28
Value assigned is not used in any execution path
Assignment is not used: Services/GotifySocketService.cs#L107
Value assigned is not used in any execution path
Assignment is not used: Controller/DeviceController.cs#L27
Value assigned is not used in any execution path
Assignment is not used: Controller/DeviceController.cs#L68
Value assigned is not used in any execution path
Assignment is not used: Services/GotifySocketService.cs#L62
Value assigned is not used in any execution path
Assignment is not used: Controller/DeviceController.cs#L67
Value assigned is not used in any execution path
Redundant member initializer: Services/WebSockClient.cs#L13
Initializing field by default value is redundant
Redundant member initializer: Services/GotifySocketService.cs#L11
Initializing field by default value is redundant
Redundant nullable warning suppression expression: Controller/DeviceController.cs#L35
The nullable warning suppression expression is redundant
Redundant nullable warning suppression expression: Controller/DeviceController.cs#L37
The nullable warning suppression expression is redundant
Redundant nullable warning suppression expression: Controller/DeviceController.cs#L36
The nullable warning suppression expression is redundant
Redundant using directive: Controller/VersionController.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: Program.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Controller/VersionController.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L6
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L9
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/StartUpBuilder.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Program.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Services/Tool.cs#L3
Using directive is not required by the code and can be safely removed
Return type of a function can be non-nullable: Services/Tool.cs#L24
Return type of 'UsersDb' can be non-nullable
Auto-property accessor is never used (non-private accessibility): Models/GotifyMessage.cs#L8
Auto-property accessor 'message.set' is never used
Auto-property accessor is never used (non-private accessibility): Models/ServerVersion.cs#L6
Auto-property accessor 'commit.get' is never used
Auto-property accessor is never used (non-private accessibility): Models/GotifyMessage.cs#L9
Auto-property accessor 'priority.set' is never used
Auto-property accessor is never used (non-private accessibility): Models/ServerVersion.cs#L5
Auto-property accessor 'version.get' is never used
Auto-property accessor is never used (non-private accessibility): Models/ServerVersion.cs#L7
Auto-property accessor 'buildDate.get' is never used
Auto-property accessor is never used (non-private accessibility): Models/GotifyMessage.cs#L11
Auto-property accessor 'title.set' is never used
Unused local variable: Services/WebSockClient.cs#L59
Local variable 'jsonData' is never used
Variable can be declared as non-nullable: Services/GotifySocketService.cs#L63
'socket' can be declared as non-nullable
Variable can be declared as non-nullable: Services/GotifySocketService.cs#L62
'wsUrl' can be declared as non-nullable
Variable can be declared as non-nullable: Services/GotifySocketService.cs#L95
'secntfyUrl' can be declared as non-nullable
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.