195 new problems found by Qodana for .NET
Qodana for .NET
195 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Possible performance issues caused by unlimited string length |
🔶 Warning | 74 |
Redundant nullable directive |
🔶 Warning | 61 |
Auto-property accessor is never used (non-private accessibility) |
🔶 Warning | 14 |
Path error |
🔶 Warning | 8 |
Redundant using directive |
🔶 Warning | 6 |
Element is localizable |
🔶 Warning | 5 |
Usage of navigational property can return incomplete data |
🔶 Warning | 3 |
RoslynAnalyzers Avoid using 'async void' for test methods as it is deprecated in xUnit.net v3 |
🔶 Warning | 3 |
Conditional access qualifier expression is not null according to nullable reference types' annotations |
🔶 Warning | 2 |
Non-accessed field (private accessibility) |
🔶 Warning | 2 |
Specify string culture explicitly |
🔶 Warning | 2 |
String.IndexOf is culture-specific (string.IndexOf(string) is culture-specific) |
🔶 Warning | 2 |
Auto-property accessor is never used (private accessibility) |
🔶 Warning | 2 |
Unused nullable directive |
🔶 Warning | 2 |
Unknown HTML entity |
🔶 Warning | 1 |
Expression is always 'true' or 'false' according to nullable reference types' annotations |
🔶 Warning | 1 |
Disposal of a variable already captured by the 'using' statement |
🔶 Warning | 1 |
Empty statement is redundant |
🔶 Warning | 1 |
Return value must be disposed but the method or function is not annotated with [MustDisposeResource] |
🔶 Warning | 1 |
Redundant cast |
🔶 Warning | 1 |
Redundant member initializer |
🔶 Warning | 1 |
Redundant nullable warning suppression expression |
🔶 Warning | 1 |
Do not use object initializer for 'using' variable |
🔶 Warning | 1 |
☁️ View the detailed Qodana report
Detected 72 dependencies
Third-party software list
This page lists the third-party software dependencies used in ProjectLighthouse
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 204 in ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml
github-actions / Qodana for .NET
Unknown HTML entity
Unknown HTML entity 'centerdot'
github-actions / Qodana for .NET
Expression is always 'true' or 'false' according to nullable reference types' annotations
Expression is always false according to nullable reference types' annotations
Check warning on line 89 in ProjectLighthouse.Servers.Website/Pages/Admin/AdminPanelUsersPage.cshtml
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
Check warning on line 31 in ProjectLighthouse.Servers.Website/Pages/Moderation/CasePage.cshtml
github-actions / Qodana for .NET
Conditional access qualifier expression is not null according to nullable reference types' annotations
Conditional access qualifier expression is never null according to nullable reference types' annotations
Check warning on line 59 in ProjectLighthouse/Serialization/LighthouseSerializer.cs
github-actions / Qodana for .NET
Disposal of a variable already captured by the 'using' statement
Variable 'stringWriter' is captured by the 'using' statement and will be automatically disposed when the execution gets out of the scope
github-actions / Qodana for .NET
Empty statement is redundant
Empty statement is redundant
Check warning on line 27 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 43 in ProjectLighthouse/Types/Entities/Moderation/ModerationCaseEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 135 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 73 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 17 in ProjectLighthouse/Types/Entities/Profile/PhotoEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 41 in ProjectLighthouse/Types/Entities/Profile/CommentEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 14 in ProjectLighthouse/Types/Entities/Level/DatabaseCategoryEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 14 in ProjectLighthouse/Types/Entities/Website/WebsiteAnnouncementEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 115 in ProjectLighthouse/Types/Entities/Level/SlotEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 21 in ProjectLighthouse/Types/Entities/Profile/PhotoEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 23 in ProjectLighthouse/Types/Entities/Profile/PlatformLinkAttemptEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 17 in ProjectLighthouse/Types/Entities/Level/DatabaseCategoryEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 34 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 76 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 104 in ProjectLighthouse/Types/Entities/Profile/UserEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 28 in ProjectLighthouse/Types/Entities/Level/SlotEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 16 in ProjectLighthouse/Types/Entities/Token/RegistrationTokenEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 39 in ProjectLighthouse/Types/Entities/Level/ReviewEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length
Check warning on line 11 in ProjectLighthouse/Types/Entities/Token/ApiKeyEntity.cs
github-actions / Qodana for .NET
Possible performance issues caused by unlimited string length
Possible performance issues caused by unlimited string length