Skip to content

chore: update usages #548

chore: update usages

chore: update usages #548

GitHub Actions / Qodana for .NET failed Nov 8, 2024 in 0s

420 new problems found by Qodana for .NET

Qodana for .NET

130 new problems were found

Inspection name Severity Problems
Use preferred body style (convert into method or operator with preferred body style) πŸ”Ά Warning 43
Type member is never used (non-private accessibility) πŸ”Ά Warning 24
Use preferred argument style for literal values πŸ”Ά Warning 13
Method return value is never used (non-private accessibility) πŸ”Ά Warning 13
Use preferred braces style (enforce braces in 'if' statement) πŸ”Ά Warning 4
Redundant using directive πŸ”Ά Warning 4
Auto-property accessor is never used (non-private accessibility) πŸ”Ά Warning 4
Keyword 'new' is required πŸ”Ά Warning 3
Possible 'System.NullReferenceException' πŸ”Ά Warning 3
Potentially misleading parameter name in lambda or local function πŸ”Ά Warning 2
Nullability attribute usage with declaration of void or value type πŸ”Ά Warning 2
Possible 'null' assignment to non-nullable entity πŸ”Ά Warning 2
Return value of 'GetEnumerator' method call is never disposed πŸ”Ά Warning 2
Redundant 'partial' modifier on type declaration πŸ”Ά Warning 2
Use explicit or implicit modifier definition for type members πŸ”Ά Warning 1
Use of obsolete symbol πŸ”Ά Warning 1
Class with virtual (overridable) members never inherited (non-private accessibility) πŸ”Ά Warning 1
Co-variant array conversion πŸ”Ά Warning 1
Possible comparison of value type with 'null' πŸ”Ά Warning 1
Member initialized value ignored πŸ”Ά Warning 1
Non-accessed local variable πŸ”Ά Warning 1
Redundant cast πŸ”Ά Warning 1
Redundant type arguments of method πŸ”Ά 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 141 in source/Nuke.Common.Tests/SettingsTest.cs

See this annotation in the file changed.

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

Potentially misleading parameter name in lambda or local function

The '_' name is typically reserved for parameters without usages

Check warning on line 114 in source/Nuke.Tooling.Generator/Generators/DataClassExtensionGenerator.cs

See this annotation in the file changed.

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

Potentially misleading parameter name in lambda or local function

The '_' name is typically reserved for parameters without usages

Check warning on line 45 in source/Nuke.Utilities/IO/RelativePath.cs

See this annotation in the file changed.

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

Nullability attribute usage with declaration of void or value type

Applying nullness annotation to value type is meaningless

Check warning on line 111 in source/Nuke.Utilities/IO/AbsolutePath.cs

See this annotation in the file changed.

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

Nullability attribute usage with declaration of void or value type

Applying nullness annotation to value type is meaningless

Check warning on line 61 in source/Nuke.Build/Host.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 196 in source/Nuke.Build/Logging.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 127 in source/Nuke.Common/Tools/Unity/UnityTasks.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 14 in source/Nuke.Utilities/Text/String.Truncate.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 103 in source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 206 in source/Nuke.Build/Logging.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 196 in source/Nuke.Build/Logging.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 47 in source/Nuke.Tooling.Tests/OptionsTest.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 106 in source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 35 in source/Nuke.Tooling.Tests/OptionsTest.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 104 in source/Nuke.GlobalTool/Rewriting/Cake/AbsolutePathRewriter.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 41 in source/Nuke.Tooling.Tests/OptionsTest.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 206 in source/Nuke.Build/Logging.cs

See this annotation in the file changed.

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

Use preferred argument style for literal values

Inconsistent argument style: missing name identifier

Check warning on line 49 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 33 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 117 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 125 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 112 in source/Nuke.Tooling.Tests/ToolTasksLoggerTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 112 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 122 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body

Check warning on line 164 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs

See this annotation in the file changed.

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

Use preferred body style (convert into method or operator with preferred body style)

Code body does not conform to code style settings: use statement body