Skip to content
GitHub Actions / Qodana for .NET completed Apr 11, 2024 in 0s

2693 new problems found by Qodana for .NET

Qodana for .NET

2693 new problems were found

Inspection name Severity Problems
Possible 'null' assignment to non-nullable entity 🔶 Warning 552
Possible 'System.NullReferenceException' 🔶 Warning 491
Non-nullable or required member is not initialized at constructor exit 🔶 Warning 357
Possible multiple enumeration 🔶 Warning 330
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 322
Possible performance issues caused by unlimited string length 🔶 Warning 167
Expression is always 'true' or always 'false' 🔶 Warning 71
Redundant member initializer 🔶 Warning 68
Use of obsolete symbol 🔶 Warning 40
Non-readonly type member referenced in 'GetHashCode()' 🔶 Warning 29
Avoid using 'async' lambda when delegate type returns 'void' 🔶 Warning 27
Conditional access qualifier expression is known to be null or not null 🔶 Warning 23
Possible 'System.InvalidOperationException' 🔶 Warning 19
Parameter has no matching param tag in the XML comment 🔶 Warning 18
Collection is never updated (non-private accessibility) 🔶 Warning 17
XML comment has a 'param' tag for 'Parameter', but there is no parameter by that name 🔶 Warning 14
'??' condition is known to be null or not null 🔶 Warning 14
Function never returns 🔶 Warning 10
Unused local variable 🔶 Warning 10
Possible loss of fraction 🔶 Warning 9
Unused parameter (private accessibility) 🔶 Warning 9
Parameter hides member 🔶 Warning 8
Variable in local function hides variable from outer scope 🔶 Warning 8
Local variable hides member 🔶 Warning 7
Assignment is not used 🔶 Warning 7
Access to modified captured variable 🔶 Warning 6
Non-accessed field (private accessibility) 🔶 Warning 6
Disposal of a variable already captured by the 'using' statement 🔶 Warning 5
The pattern is redundant, it does not produce any runtime checks 🔶 Warning 5
Redundant type declaration body 🔶 Warning 5
Access to disposed captured variable 🔶 Warning 4
Async function without await expression 🔶 Warning 4
Get-only auto-property is never assigned 🔶 Warning 4
Heuristically unreachable code 🔶 Warning 3
Method with optional or 'params' parameter is hidden by overload 🔶 Warning 3
Type member is never used (private accessibility) 🔶 Warning 3
Expression is always 'null' 🔶 Warning 2
Suspicious type conversion or check 🔶 Warning 2
Do not use object initializer for 'using' variable 🔶 Warning 2
Keyword 'new' is required 🔶 Warning 1
Invalid XML in XML comment 🔶 Warning 1
Async method invocation without await expression 🔶 Warning 1
Namespace does not correspond to file location 🔶 Warning 1
Co-variant array conversion 🔶 Warning 1
Collection content is never queried (non-private accessibility) 🔶 Warning 1
Function is not convertible to SQL and must not be called in the database context 🔶 Warning 1
Non-accessed positional property (non-private accessibility) 🔶 Warning 1
Private field can be converted into local variable 🔶 Warning 1
Redundant name qualifier 🔶 Warning 1
Specify string culture explicitly 🔶 Warning 1
Unassigned field 🔶 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 183 in src/Mewdeko/Modules/Searches/OsuCommands.cs

See this annotation in the file changed.

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

Access to disposed captured variable

Captured variable is disposed in the outer scope

Check warning on line 441 in src/Mewdeko/Modules/Searches/Services/SearchesService.cs

See this annotation in the file changed.

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

Access to disposed captured variable

Captured variable is disposed in the outer scope

Check warning on line 84 in src/Mewdeko/Modules/Games/HangmanCommands.cs

See this annotation in the file changed.

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

Access to disposed captured variable

Captured variable is disposed in the outer scope

Check warning on line 871 in src/Mewdeko/Modules/Searches/Searches.cs

See this annotation in the file changed.

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

Access to disposed captured variable

Captured variable is disposed in the outer scope

Check warning on line 304 in src/Mewdeko/Modules/Moderation/SlashPunishCommands.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 117 in src/Mewdeko/Modules/Games/Common/TypingGame.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 523 in src/Mewdeko/Modules/Moderation/UserPunishCommands.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 108 in src/Mewdeko/Modules/Utility/Services/OwOServices.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 252 in src/Mewdeko/Modules/Moderation/UserPunishCommands2.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 65 in src/Mewdeko/Modules/Games/AcropobiaCommands.cs

See this annotation in the file changed.

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

Access to modified captured variable

Captured variable is modified in the outer scope

Check warning on line 320 in src/Mewdeko/Modules/MultiGreets/MultiGreets.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 733 in src/Mewdeko/Modules/Nsfw/Nsfw.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 278 in src/Mewdeko/Modules/StatusRoles/SlashStatusRoles.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 123 in src/Mewdeko/Modules/Votes/VoteSlashCommands.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 587 in src/Mewdeko/Modules/Moderation/UserPunishCommands.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 564 in src/Mewdeko/Modules/Giveaways/Giveaways.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 91 in src/Mewdeko/Modules/Help/Services/HelpService.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 191 in src/Mewdeko/Modules/Moderation/Services/UserPunishService.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 539 in src/Mewdeko/Modules/Giveaways/Giveaways.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 241 in src/Mewdeko/Common/MewdekoSlashModuleBase.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 165 in src/Mewdeko/Modules/Utility/Services/StreamRoleService.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 369 in src/Mewdeko/Modules/Moderation/SlashPunishCommands.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 1129 in src/Mewdeko/Modules/OwnerOnly/SlashOwnerOnly.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 801 in src/Mewdeko/Modules/OwnerOnly/Services/OwnerOnlyService.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity

Check warning on line 423 in src/Mewdeko/Modules/Xp/Club.cs

See this annotation in the file changed.

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

Possible 'null' assignment to non-nullable entity

Possible 'null' assignment to non-nullable entity