fuck parallel #49
2772 new problems found by Qodana for .NET
Qodana for .NET
2772 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Possible 'null' assignment to non-nullable entity |
🔶 Warning | 547 |
Possible 'System.NullReferenceException' |
🔶 Warning | 518 |
Non-nullable or required member is not initialized at constructor exit |
🔶 Warning | 377 |
Possible multiple enumeration |
🔶 Warning | 325 |
Auto-property accessor is never used (non-private accessibility) |
🔶 Warning | 325 |
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 | 26 |
Parameter has no matching param tag in the XML comment |
🔶 Warning | 24 |
Conditional access qualifier expression is known to be null or not null |
🔶 Warning | 23 |
Possible 'System.InvalidOperationException' |
🔶 Warning | 20 |
XML comment has a 'param' tag for 'Parameter', but there is no parameter by that name |
🔶 Warning | 17 |
Collection is never updated (non-private accessibility) |
🔶 Warning | 17 |
Unused parameter (private accessibility) |
🔶 Warning | 15 |
Unused local variable |
🔶 Warning | 15 |
'??' condition is known to be null or not null |
🔶 Warning | 14 |
Local variable hides member |
🔶 Warning | 11 |
Function never returns |
🔶 Warning | 10 |
Variable in local function hides variable from outer scope |
🔶 Warning | 9 |
Parameter hides member |
🔶 Warning | 8 |
Possible loss of fraction |
🔶 Warning | 8 |
Non-accessed field (private accessibility) |
🔶 Warning | 7 |
Assignment is not used |
🔶 Warning | 7 |
Access to modified captured variable |
🔶 Warning | 6 |
Async function without await expression |
🔶 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 |
Get-only auto-property is never assigned |
🔶 Warning | 5 |
Access to disposed captured variable |
🔶 Warning | 4 |
Type member is never used (private accessibility) |
🔶 Warning | 4 |
Heuristically unreachable code |
🔶 Warning | 3 |
Method with optional or 'params' parameter is hidden by overload |
🔶 Warning | 3 |
Not accessed primary constructor parameter |
🔶 Warning | 3 |
Possible null reference argument for a parameter. |
🔶 Warning | 2 |
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 |
Code is unreachable |
🔶 Warning | 1 |
Invalid XML in XML comment |
🔶 Warning | 1 |
Dereference of a possibly null reference. |
🔶 Warning | 1 |
Non-nullable member is uninitialized. |
🔶 Warning | 1 |
Cannot convert null literal to non-nullable reference type. |
🔶 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 |
Redundant 'partial' modifier on type declaration |
🔶 Warning | 1 |
Private field can be converted into local variable |
🔶 Warning | 1 |
Redundant name qualifier |
🔶 Warning | 1 |
Specify string culture explicitly |
🔶 Warning | 1 |
String.IndexOf is culture-specific (string.IndexOf(string) is culture-specific) |
🔶 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]
- 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 183 in src/Mewdeko/Modules/Searches/OsuCommands.cs
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
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
github-actions / Qodana for .NET
Access to disposed captured variable
Captured variable is disposed in the outer scope
Check warning on line 431 in src/Mewdeko/Modules/Searches/Services/SearchesService.cs
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity
Check warning on line 228 in src/Mewdeko/Modules/Searches/ActionCommands.cs
github-actions / Qodana for .NET
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity