Skip to content

Qodana

Qodana #1

GitHub Actions / Qodana for .NET completed Apr 23, 2024 in 0s

47 new problems found by Qodana for .NET

Qodana for .NET

47 new problems were found

Inspection name Severity Problems
Redundant using directive 🔶 Warning 14
Assignment is not used 🔶 Warning 9
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 6
Redundant argument with default value 🔶 Warning 3
Redundant nullable warning suppression expression 🔶 Warning 3
Variable can be declared as non-nullable 🔶 Warning 3
Empty constructor 🔶 Warning 2
Non-accessed field (private accessibility) 🔶 Warning 2
Redundant member initializer 🔶 Warning 2
Invalid XML documentation comment 🔶 Warning 1
Return type of a function can be non-nullable 🔶 Warning 1
Unused local variable 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 8 in Models/DeviceModel.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Empty constructor

Empty constructor is redundant. The compiler generates the same by default.

Check warning on line 16 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Empty constructor

Empty constructor is redundant. The compiler generates the same by default.

Check warning on line 38 in Models/DeviceModel.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Invalid XML documentation comment

Parameter 'clientToken' has no matching param tag in the XML comment for iGotify_Notification_Assist.Models.DeviceModel.SendNotifications (but other parameters do)

Check warning on line 13 in Controller/VersionController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed field (private accessibility)

Field '_logger' is assigned but its value is never used

Check warning on line 12 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Non-accessed field (private accessibility)

Field '_logger' is assigned but its value is never used

Check warning on line 104 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant argument with default value

The parameter 'isCritical' has the same default value

Check warning on line 104 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant argument with default value

The parameter 'priority' has the same default value

Check warning on line 104 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant argument with default value

The parameter 'imageUrl' has the same default value

Check warning on line 106 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 63 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 40 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 28 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 107 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 27 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 68 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 62 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 67 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Assignment is not used

Value assigned is not used in any execution path

Check warning on line 13 in Services/WebSockClient.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant member initializer

Initializing field by default value is redundant

Check warning on line 11 in Services/GotifySocketService.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant member initializer

Initializing field by default value is redundant

Check warning on line 35 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant nullable warning suppression expression

The nullable warning suppression expression is redundant

Check warning on line 37 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant nullable warning suppression expression

The nullable warning suppression expression is redundant

Check warning on line 36 in Controller/DeviceController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant nullable warning suppression expression

The nullable warning suppression expression is redundant

Check warning on line 3 in Controller/VersionController.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant using directive

Using directive is not required by the code and can be safely removed

Check warning on line 7 in Services/Tool.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant using directive

Using directive is not required by the code and can be safely removed

Check warning on line 2 in Program.cs

See this annotation in the file changed.

@github-actions github-actions / Qodana for .NET

Redundant using directive

Using directive is not required by the code and can be safely removed