Skip to content

Merge branch 'release/8.1.0' #432

Merge branch 'release/8.1.0'

Merge branch 'release/8.1.0' #432

GitHub Actions / Qodana for .NET failed Sep 10, 2024 in 0s

338 new problems found by Qodana for .NET

Qodana for .NET

32 new problems were found

Inspection name Severity Problems
Use preferred argument style for literal values πŸ”Ά Warning 7
Type member is never used (non-private accessibility) πŸ”Ά Warning 7
Use preferred braces style (enforce braces in 'if' statement) πŸ”Ά Warning 4
Nullability attribute usage with declaration of void or value type πŸ”Ά Warning 2
Use preferred body style (convert into method or operator with preferred body style) πŸ”Ά Warning 2
Return value of 'GetEnumerator' method call is never disposed πŸ”Ά Warning 2
Redundant using directive πŸ”Ά Warning 2
Possible 'null' assignment to non-nullable entity πŸ”Ά Warning 1
Co-variant array conversion πŸ”Ά Warning 1
Possible comparison of value type with 'null' πŸ”Ά Warning 1
Return value must be disposed but the method or function is not annotated with [MustDisposeResource] πŸ”Ά Warning 1
Redundant 'partial' modifier on type declaration πŸ”Ά Warning 1
Possible 'System.NullReferenceException' πŸ”Ά 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 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 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 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 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 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 19 in source/Nuke.Build/NukeBuild.Interface.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 98 in source/Nuke.Tooling.Tests/ArgumentStringHandlerTest.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 181 in source/Nuke.Tooling/NuGetPackageResolver.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 28 in source/Nuke.Utilities/Task.WaitAll.cs

See this annotation in the file changed.

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

Co-variant array conversion

Co-variant array conversion from Task\[\] to Task\[\] can cause run-time exception on write operation

Check warning on line 17 in source/Nuke.Components/ToolSettingsExtensions.cs

See this annotation in the file changed.

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

Possible comparison of value type with 'null'

Possible comparison of value type with 'null'

Check warning on line 110 in source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs

See this annotation in the file changed.

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

Use preferred braces style (enforce braces in 'if' statement)

Inconsistent braces style: missing braces

Check warning on line 117 in source/Nuke.GlobalTool/Rewriting/Cake/ClassRewriter.cs

See this annotation in the file changed.

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

Use preferred braces style (enforce braces in 'if' statement)

Inconsistent braces style: missing braces

Check warning on line 19 in source/Nuke.GlobalTool/Rewriting/Cake/RegularFieldRewriter.cs

See this annotation in the file changed.

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

Use preferred braces style (enforce braces in 'if' statement)

Inconsistent braces style: missing braces

Check warning on line 38 in source/Nuke.GlobalTool/Rewriting/Cake/ParameterRewriter.cs

See this annotation in the file changed.

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

Use preferred braces style (enforce braces in 'if' statement)

Inconsistent braces style: missing braces

Check warning on line 74 in source/Nuke.Tooling.Generator/ToolSerializer.cs

See this annotation in the file changed.

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

Return value of 'GetEnumerator' method call is never disposed

'GetEnumerator' call result is never disposed

Check warning on line 18 in source/Nuke.Utilities/Collections/Dictionary.ToGeneric.cs

See this annotation in the file changed.

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

Return value of 'GetEnumerator' method call is never disposed

'GetEnumerator' call result is never disposed

Check warning on line 77 in source/Nuke.Utilities/Collections/LookupTable.cs

See this annotation in the file changed.

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

Return value must be disposed but the method or function is not annotated with [MustDisposeResource]

Return value must be disposed but method 'GetEnumerator' is not annotated with \[MustDisposeResource\]

Check warning on line 17 in source/Nuke.Utilities/Task.WaitAll.cs

See this annotation in the file changed.

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

Redundant 'partial' modifier on type declaration

Partial class with single part

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

See this annotation in the file changed.

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

Possible 'System.NullReferenceException'

Possible 'System.NullReferenceException'

Check warning on line 12 in source/Nuke.Build.Tests/SchemaUtilityTest.cs

See this annotation in the file changed.

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

Redundant using directive

Using directive is not required by the code and can be safely removed

Check warning on line 14 in source/Nuke.Components/ISignPackages.cs

See this annotation in the file changed.

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

Redundant using directive

Using directive is not required by the code and can be safely removed