Skip to content

Update SlotSettingsPage.cshtml.cs

Sign in for the full log view
GitHub Actions / Qodana for .NET completed Dec 11, 2024 in 0s

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

Dependency Version Licenses
BCrypt.Net-Next 4.0.3 MIT
BouncyCastle.Cryptography 2.4.0 MIT
Discord.Net.Core 3.15.0 MIT
Discord.Net.Rest 3.15.0 MIT
Discord.Net.Webhook 3.15.0 MIT
DistributedLock.Core 1.0.6 MIT
DistributedLock.MySql 1.0.2 MIT
GitInfo 3.3.5 MIT
Humanizer.Core 2.14.1 MIT
JetBrains.Annotations 2023.3.0 MIT
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 8.0.6 MIT
Microsoft.Bcl.AsyncInterfaces 6.0.0 MIT
Microsoft.CSharp 4.7.0 MIT
Microsoft.CodeAnalysis.Analyzers 3.3.3 MIT
Microsoft.CodeAnalysis.CSharp.Workspaces 4.5.0 MIT
Microsoft.CodeAnalysis.CSharp 4.5.0 MIT
Microsoft.CodeAnalysis.Common 4.5.0 MIT
Microsoft.CodeAnalysis.Workspaces.Common 4.5.0 MIT
Microsoft.EntityFrameworkCore.Abstractions 8.0.6 MIT
Microsoft.EntityFrameworkCore.Analyzers 8.0.6 MIT
Microsoft.EntityFrameworkCore.Design 8.0.6 MIT
Microsoft.EntityFrameworkCore.Relational 8.0.6 MIT
Microsoft.EntityFrameworkCore 8.0.6 MIT
Microsoft.Extensions.ApiDescription.Server 6.0.5 MIT
Microsoft.Extensions.Caching.Abstractions 8.0.0 MIT
Microsoft.Extensions.Caching.Memory 8.0.0 MIT
Microsoft.Extensions.Configuration.Abstractions 8.0.0 MIT
Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 MIT
Microsoft.Extensions.DependencyInjection 8.0.0 MIT
Microsoft.Extensions.DependencyModel 8.0.0 MIT
Microsoft.Extensions.Logging.Abstractions 8.0.0 MIT
Microsoft.Extensions.Logging 8.0.0 MIT
Microsoft.Extensions.Options 8.0.0 MIT
Microsoft.Extensions.Primitives 8.0.0 MIT
Microsoft.OpenApi 1.6.14 MIT
Mono.TextTemplating 2.2.1 MIT
MySqlConnector 2.3.5 MIT
Newtonsoft.Json 13.0.3 MIT
Pfim 0.11.2 MIT
Pipelines.Sockets.Unofficial 2.2.8 MIT
Pomelo.EntityFrameworkCore.MySql 8.0.2 MIT
QRCoder 1.5.1 MIT
Redis.OM 0.7.1 MIT
SharpZipLib 1.4.2 MIT
SixLabors.ImageSharp 3.1.5 Apache-2.0
PROPRIETARY-LICENSE
StackExchange.Redis 2.7.17 MIT
Swashbuckle.AspNetCore.Swagger 6.6.2 MIT
Swashbuckle.AspNetCore.SwaggerGen 6.6.2 MIT
Swashbuckle.AspNetCore.SwaggerUI 6.6.2 MIT
Swashbuckle.AspNetCore 6.6.2 MIT
System.CodeDom 4.4.0 MIT
System.Collections.Immutable 6.0.0 MIT
System.Composition.AttributedModel 6.0.0 MIT
System.Composition.Convention 6.0.0 MIT
System.Composition.Hosting 6.0.0 MIT
System.Composition.Runtime 6.0.0 MIT
System.Composition.TypedParts 6.0.0 MIT
System.Composition 6.0.0 MIT
System.IO.Pipelines 6.0.3 MIT
System.Interactive.Async 6.0.1 MIT
System.Linq.Async 6.0.1 MIT
System.Reflection.Metadata 6.0.1 MIT
System.Runtime.CompilerServices.Unsafe 6.0.0 MIT
System.Text.Encoding.CodePages 6.0.0 MIT
System.Text.Encodings.Web 8.0.0 MIT
System.Text.Json 8.0.0 MIT
System.Threading.Channels 6.0.0 MIT
System.Threading.Tasks.Extensions 4.5.4 MIT
System.ValueTuple 4.5.0 MIT
ThisAssembly.Constants 1.4.1 MIT
Ulid 1.2.6 MIT
YamlDotNet 15.1.6 MIT
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 204 in ProjectLighthouse.Servers.Website/Pages/Layouts/BaseLayout.cshtml

See this annotation in the file changed.

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

Unknown HTML entity

Unknown HTML entity 'centerdot'

Check warning on line 62 in ProjectLighthouse.Servers.GameServer/Controllers/Login/LoginController.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

Check warning on line 62 in ProjectLighthouse/Administration/Maintenance/RepeatingTasks/PerformCaseActionsTask.cs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

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

Possible performance issues caused by unlimited string length

Possible performance issues caused by unlimited string length