Skip to content

Add native psql data migration. Add native boolean types instead of r…

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

3088 new problems found by Qodana for .NET

Qodana for .NET

3088 new problems were found

Inspection name Severity Problems
Possible 'null' assignment to non-nullable entity 🔶 Warning 543
Possible 'System.NullReferenceException' 🔶 Warning 518
Non-nullable or required member is not initialized at constructor exit 🔶 Warning 377
Possible multiple enumeration 🔶 Warning 332
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 309
Possible performance issues caused by unlimited string length 🔶 Warning 154
Redundant member initializer 🔶 Warning 104
Type member is never used (private accessibility) 🔶 Warning 94
Expression is always 'true' or always 'false' 🔶 Warning 76
Use of obsolete symbol 🔶 Warning 40
Non-accessed field 🔶 Warning 39
Redundant explicit type in array creation 🔶 Warning 38
Non-readonly type member referenced in 'GetHashCode()' 🔶 Warning 27
Avoid using 'async' lambda when delegate type returns 'void' 🔶 Warning 26
Access to modified captured variable 🔶 Warning 24
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
Get-only auto-property is never assigned 🔶 Warning 21
Possible 'System.InvalidOperationException' 🔶 Warning 20
XML comment has a 'param' tag for 'Parameter', but there is no parameter by that name 🔶 Warning 19
Redundant using directive 🔶 Warning 19
Unused local variable 🔶 Warning 16
Collection is never updated (non-private accessibility) 🔶 Warning 15
Unused parameter (private accessibility) 🔶 Warning 15
'??' condition is known to be null or not null 🔶 Warning 14
Field is never used 🔶 Warning 14
Local variable hides member 🔶 Warning 11
Function never returns 🔶 Warning 10
Assignment is not used 🔶 Warning 10
Redundant name qualifier 🔶 Warning 9
Variable in local function hides variable from outer scope 🔶 Warning 9
Parameter hides member 🔶 Warning 8
Possible loss of fraction 🔶 Warning 8
Redundant anonymous type property explicit name 🔶 Warning 8
Non-accessed field (private accessibility) 🔶 Warning 7
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
Access to disposed captured variable 🔶 Warning 4
Possible null reference argument for a parameter. 🔶 Warning 4
Member hides static member from outer class 🔶 Warning 4
String.Compare is culture-specific (string.Compare(string, string, bool) is culture-specific) 🔶 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
Redundant argument with default value 🔶 Warning 3
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 🔶 Warning 2
Empty general catch clause 🔶 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
Non-nullable member is uninitialized. 🔶 Warning 1
Cannot convert null literal to non-nullable reference type. 🔶 Warning 1
Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). 🔶 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
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 nullable directive 🔶 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
Use preferred 'var' style (when type is simple) ◽️ Notice 16
Use preferred 'var' style (for built-in types) ◽️ Notice 12
Use preferred 'var' style (elsewhere) ◽️ Notice 4

💡 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 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 431 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 995 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 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 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 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 869 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 893 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 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 869 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 895 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 893 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 857 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 902 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 849 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 902 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 849 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 1003 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 857 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 895 in file://$USER_HOME$/.nuget/packages/linq2db.sqlite/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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 1003 in file://$USER_HOME$/.nuget/packages/linq2db.postgresql/5.4.1/contentFiles/any/any/LinqToDB.Templates/LinqToDB.ttinclude

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