Skip to content

Qodana

Qodana #27

GitHub Actions / Qodana for .NET completed Jan 9, 2024 in 0s

1101 new problems found by Qodana for .NET

for .NET

1101 new problems were found

Inspection name Severity Problems
Possible 'System.NullReferenceException' 🔶 Warning 160
Check dependency licenses 🔶 Warning 81
Possible 'null' assignment to non-nullable entity 🔶 Warning 76
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 59
Missing grid column/row setter for non-first child 🔶 Warning 34
Redundant namespace alias 🔶 Warning 33
Conditional access qualifier expression is known to be null or not null 🔶 Warning 32
Redundant class or interface specification in base types list 🔶 Warning 32
Assignment is not used 🔶 Warning 27
Redundant catch clause 🔶 Warning 26
Redundant explicit type in array creation 🔶 Warning 26
Invalid XML documentation comment 🔶 Warning 24
Virtual member call in constructor 🔶 Warning 24
Redundant control flow jump statement 🔶 Warning 22
Parameter hides member 🔶 Warning 20
Redundant cast 🔶 Warning 20
Underlying type of enum is 'int' 🔶 Warning 19
Unused local variable 🔶 Warning 18
Redundant using directive 🔶 Warning 16
Expression is always 'true' or always 'false' 🔶 Warning 15
Explicit argument passed to parameter with caller info attribute 🔶 Warning 15
Return value of [MustUseReturnValue] annotated method is not used 🔶 Warning 15
Unsafe context declaration is redundant 🔶 Warning 15
Empty general catch clause 🔶 Warning 14
Redundant name qualifier 🔶 Warning 13
Redundant 'base.' qualifier 🔶 Warning 12
Redundant type declaration body 🔶 Warning 12
Grid element column/row index is out of grid definition range 🔶 Warning 12
Local variable hides member 🔶 Warning 11
Cannot resolve symbol in text argument 🔶 Warning 9
Possible 'System.InvalidOperationException' 🔶 Warning 9
Possible multiple enumeration 🔶 Warning 9
Redundant explicit size specification in array creation 🔶 Warning 8
Remove redundant attached property setter 🔶 Warning 8
Redundant 'partial' modifier on type declaration 🔶 Warning 7
Redundant base constructor call 🔶 Warning 7
Variable in local function hides variable from outer scope 🔶 Warning 7
Access to modified captured variable 🔶 Warning 6
'??' condition is known to be null or not null 🔶 Warning 6
Heuristically unreachable code 🔶 Warning 6
Non-accessed local variable 🔶 Warning 6
Redundant lambda expression parameter type specification 🔶 Warning 6
Auto-property accessor is never used (private accessibility) 🔶 Warning 6
Unused nullable directive 🔶 Warning 6
Access to a static member of a type via a derived type 🔶 Warning 5
Non-nullable member is uninitialized. 🔶 Warning 5
Possible overflow in unchecked context 🔶 Warning 5
Explicit delegate creation expression is redundant 🔶 Warning 5
String.IndexOf is culture-specific (string.IndexOf(string, int) is culture-specific) 🔶 Warning 5
Collection content is never queried (non-private accessibility) 🔶 Warning 4
Expression is always 'true' or 'false' according to nullable reference types' annotations 🔶 Warning 4
Conditional access qualifier expression is not null according to nullable reference types' annotations 🔶 Warning 4
Member initialized value ignored 🔶 Warning 4
Mismatch of optional parameter value in overridden method 🔶 Warning 4
Redundant type arguments of method 🔶 Warning 4
Assignment in conditional expression 🔶 Warning 3
Empty statement is redundant 🔶 Warning 3
RoslynAnalyzers 'this' argument does not satisfy 'DynamicallyAccessedMembersAttribute' in call to target method. The generic parameter of the source method or type does not have matching annotations. 🔶 Warning 3
Possible unassigned object created by 'new' expression 🔶 Warning 3
Possible loss of fraction 🔶 Warning 3
Redundant empty switch section 🔶 Warning 3
Unused type parameter 🔶 Warning 3
Async function without await expression 🔶 Warning 2
Possible null reference assignment. 🔶 Warning 2
Possible null reference return. 🔶 Warning 2
Method with optional or 'params' parameter is hidden by overload 🔶 Warning 2
Operator 'is'/'Type Of ... Is ...' can be used 🔶 Warning 2
Possible unintended reference comparison 🔶 Warning 2
Private field can be converted into local variable 🔶 Warning 2
Redundant 'IEnumerable.Cast<T>' or 'IEnumerable.OfType<T>' call 🔶 Warning 2
Redundant 'string.Format()' call 🔶 Warning 2
Do not use object initializer for 'using' variable 🔶 Warning 2
x:FieldModifier attribute requires x:Name attribute 🔶 Warning 2
Access to disposed captured variable 🔶 Warning 1
A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]. 🔶 Warning 1
Cannot convert null literal to non-nullable reference type. 🔶 Warning 1
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 🔶 Warning 1
Co-variant array conversion 🔶 Warning 1
Collection content is never queried (private accessibility) 🔶 Warning 1
Function never returns 🔶 Warning 1
Non-accessed field 🔶 Warning 1
Non-accessed field (private accessibility) 🔶 Warning 1
Redundant 'Attribute' suffix 🔶 Warning 1
Redundant boolean comparison 🔶 Warning 1
Redundant 'case' label 🔶 Warning 1
Redundant empty finally block 🔶 Warning 1
Return value of pure method is not used 🔶 Warning 1
Constant shift expression with non-zero operands results in a zero value 🔶 Warning 1
String.Compare is culture-specific (string.Compare(string, string, bool) is culture-specific) 🔶 Warning 1
String.LastIndexOf is culture-specific (string.LastIndexOf(string) is culture-specific) 🔶 Warning 1
Method return value is never used (private accessibility) 🔶 Warning 1
Redundant resource 🔶 Warning 1
Property value is equal to style-provided 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 666 in CollapseLauncher/Classes/Interfaces/Class/ProgressBase.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 554 in CollapseLauncher/Classes/RegionManagement/RegionManagement.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 155 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.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 156 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.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 157 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.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 550 in CollapseLauncher/Classes/RegionManagement/RegionManagement.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 163 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/SimpleDialogs.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 110 in CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs

See this annotation in the file changed.

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

Access to a static member of a type via a derived type

Access to a static member of a type via a derived type

Check warning on line 104 in CollapseLauncher/XAMLs/MainApp/TrayIcon.xaml.cs

See this annotation in the file changed.

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

Access to a static member of a type via a derived type

Access to a static member of a type via a derived type

Check warning on line 87 in CollapseLauncher/XAMLs/Updater/UpdaterWindow.xaml.cs

See this annotation in the file changed.

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

Access to a static member of a type via a derived type

Access to a static member of a type via a derived type

Check warning on line 211 in CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs

See this annotation in the file changed.

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

Access to a static member of a type via a derived type

Access to a static member of a type via a derived type

Check warning on line 199 in CollapseLauncher/XAMLs/Updater/Classes/Updater.cs

See this annotation in the file changed.

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

Access to a static member of a type via a derived type

Access to a static member of a type via a derived type

Check warning on line 134 in CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/InstallationConvert.xaml.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 102 in CollapseLauncher/Classes/CachesManagement/Honkai/Update.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 234 in CollapseLauncher/Classes/RegionManagement/RegionManagement.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 289 in CollapseLauncher/Classes/Interfaces/Class/ProgressBase.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 378 in CollapseLauncher/Classes/RegionManagement/RegionManagement.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 21 in CollapseLauncher/Classes/GameManagement/GameVersion/BaseClass/GameVersionBase.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 1180 in CollapseLauncher/Classes/InstallManagement/BaseClass/InstallManagerBase.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 46 in Hi3Helper.Core/Classes/Logger/LoggerBase.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 80 in Hi3Helper.Core/Classes/Data/Tools/SteamTool.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 63 in CollapseLauncher/Classes/CachesManagement/StarRail/Update.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 396 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.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 108 in CollapseLauncher/Classes/GameManagement/GameVersion/BaseClass/GameVersionBase.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 392 in CollapseLauncher/Classes/InstallManagement/GameConversionManagement.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