Skip to content

clean: codemaid

clean: codemaid #42

GitHub Actions / Qodana for .NET completed Nov 18, 2023 in 0s

617 new problems found by Qodana for .NET

Qodana for .NET

617 new problems were found

Inspection name Severity Problems
Redundant using directive 🔶 Warning 126
Unresolved binding path when DataContext is known 🔶 Warning 104
Type member is never used (private accessibility) 🔶 Warning 54
Auto-property accessor is never used (non-private accessibility) 🔶 Warning 40
Field is never used 🔶 Warning 27
Static resource not resolved 🔶 Warning 26
Method return value is never used (private accessibility) 🔶 Warning 18
Redundant 'partial' modifier on type declaration 🔶 Warning 15
Unused parameter (private accessibility) 🔶 Warning 11
Keyword 'new' is redundant 🔶 Warning 7
Dereference of a possibly null reference. 🔶 Warning 7
Non-accessed field 🔶 Warning 7
Non-accessed field (private accessibility) 🔶 Warning 4
Possible null reference argument for a parameter. 🔶 Warning 2
Function never returns 🔶 Warning 2
Redundant control flow jump statement 🔶 Warning 2
Redundant nullable warning suppression expression 🔶 Warning 2
Non-nullable member is uninitialized. 🔶 Warning 1
Namespace does not correspond to file location 🔶 Warning 1
Empty statement is redundant 🔶 Warning 1
Not accessed primary constructor parameter 🔶 Warning 1
Private field can be converted into local variable 🔶 Warning 1
Redundant global using directive 🔶 Warning 1
Redundant namespace alias 🔶 Warning 1
Type member is never used (non-private accessibility) ◽️ Notice 61
Class is never instantiated (non-private accessibility) ◽️ Notice 22
Method return value is never used (non-private accessibility) ◽️ Notice 16
Unresolved binding path when DataContext is unknown ◽️ Notice 15
Member can be made private (non-private accessibility) ◽️ Notice 13
Unused parameter (non-private accessibility) ◽️ Notice 12
Use preferred style for trailing comma before new line in multiline lists ◽️ Notice 5
Some values of the enum are not processed inside 'switch' expression and are handled via exception in default arm ◽️ Notice 4
Invert 'if' statement to reduce nesting ◽️ Notice 2
Redundant string interpolation ◽️ Notice 2
Use preferred namespace body style ◽️ Notice 1
Remove redundant parentheses ◽️ Notice 1
Type member is never accessed via base type (non-private accessibility) ◽️ Notice 1
Type is never used (non-private accessibility) ◽️ Notice 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 notice on line 8 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Use preferred namespace body style

Convert to file-scoped namespace

Check notice on line 90 in PipManager/ViewModels/Pages/Library/LibraryViewModel.cs

See this annotation in the file changed.

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

Remove redundant parentheses

Redundant parentheses

Check notice on line 21 in PipManager/Models/Action/ActionListItem.cs

See this annotation in the file changed.

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

Use preferred style for trailing comma before new line in multiline lists

Remove trailing comma to conform to code style

Check notice on line 29 in PipManager/Models/Action/ActionListItem.cs

See this annotation in the file changed.

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

Use preferred style for trailing comma before new line in multiline lists

Remove trailing comma to conform to code style

Check notice on line 36 in PipManager/Models/Action/ActionListItem.cs

See this annotation in the file changed.

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

Use preferred style for trailing comma before new line in multiline lists

Remove trailing comma to conform to code style

Check notice on line 188 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Use preferred style for trailing comma before new line in multiline lists

Remove trailing comma to conform to code style

Check notice on line 49 in PipManager/ViewModels/Pages/About/AboutViewModel.cs

See this annotation in the file changed.

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

Use preferred style for trailing comma before new line in multiline lists

Remove trailing comma to conform to code style

Check warning on line 330 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because property 'BorderBrush' hides nothing

Check warning on line 7 in PipManager/Controls/Mask/MaskPresenter.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because property 'Content' hides nothing

Check warning on line 345 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because field 'BorderThicknessProperty' hides nothing

Check warning on line 348 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because property 'Background' hides nothing

Check warning on line 354 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because field 'BackgroundProperty' hides nothing

Check warning on line 336 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because field 'BorderBrushProperty' hides nothing

Check warning on line 339 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Keyword 'new' is redundant

The keyword 'new' is redundant because property 'BorderThickness' hides nothing

Check warning on line 20 in PipManager/Views/Windows/Action/ActionExceptionWindow.xaml.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 10 in PipManager/Helpers/ActionExceptionAnalyzer.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 33 in PipManager/Services/Mask/MaskService.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 113 in PipManager/Services/Configuration/ConfigurationService.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 26 in PipManager/Services/Mask/MaskService.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 60 in PipManager/Controls/Toast.xaml.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 16 in PipManager/ViewModels/Windows/MainWindowViewModel.cs

See this annotation in the file changed.

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

Dereference of a possibly null reference.

Dereference of a possibly null reference

Check warning on line 180 in PipManager/ViewModels/Pages/Environment/AddEnvironmentViewModel.cs

See this annotation in the file changed.

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

Possible null reference argument for a parameter.

Possible null reference argument for parameter 'environmentItem' in 'PipManager.Services.Environment.IEnvironmentService.CheckEnvironmentExists'

Check warning on line 206 in PipManager/ViewModels/Pages/Environment/AddEnvironmentViewModel.cs

See this annotation in the file changed.

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

Possible null reference argument for a parameter.

Possible null reference argument for parameter 'environmentItem' in 'PipManager.Services.Environment.IEnvironmentService.CheckEnvironmentExists'

Check warning on line 20 in PipManager/Models/Pypi/PypiPackageInfo.cs

See this annotation in the file changed.

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

Non-nullable member is uninitialized.

Non-nullable field 'Digests' is uninitialized. Consider declaring the field as nullable.

Check warning on line 4 in PipManager/Helpers/ThreadIdEnricher.cs

See this annotation in the file changed.

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

Namespace does not correspond to file location

Namespace does not correspond to file location, must be: 'PipManager.Helpers'