Skip to content

json

json #423

GitHub Actions / Qodana for .NET failed Aug 28, 2024 in 0s

478 new problems found by Qodana for .NET

Qodana for .NET

175 new problems were found

Inspection name Severity Problems
Keyword 'new' is required πŸ”Ά Warning 45
Base type is required πŸ”Ά Warning 20
Type member is never used (non-private accessibility) πŸ”Ά Warning 15
Use preferred body style (convert into method or operator with preferred body style) πŸ”Ά Warning 14
Redundant using directive πŸ”Ά Warning 14
Use preferred argument style for literal values πŸ”Ά Warning 13
Method return value is never used (non-private accessibility) πŸ”Ά Warning 13
Auto-property accessor is never used (non-private accessibility) πŸ”Ά Warning 5
Use preferred braces style (enforce braces in 'if' statement) πŸ”Ά Warning 4
Possible 'System.NullReferenceException' πŸ”Ά Warning 4
Redundant 'partial' modifier on type declaration πŸ”Ά 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
Suspicious type conversion or check πŸ”Ά Warning 2
Type member is never used (private accessibility) πŸ”Ά Warning 2
Unused parameter (private accessibility) πŸ”Ά Warning 2
Use explicit or implicit modifier definition for type members πŸ”Ά Warning 1
Use explicit or implicit modifier definition for types πŸ”Ά Warning 1
Use of obsolete symbol πŸ”Ά 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
Return value must be disposed but the method or function is not annotated with [MustDisposeResource] πŸ”Ά Warning 1
Redundant cast πŸ”Ά Warning 1
Redundant member override πŸ”Ά Warning 1
Unused local variable πŸ”Ά 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 155 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 48 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 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 42 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 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 22 in source/Nuke.Common/Tools/SonarScanner/SonarScannerTasks.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 25 in source/Nuke.Common/Tools/Octopus/OctopusTasks.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 36 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 27 in source/Nuke.Common/Tools/OctoVersion/OctoVersionTasks.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 23 in source/Nuke.Tooling/New/ToolTasks.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 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 59 in source/Nuke.Tooling.Tests/ToolTasksToolPathTest.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 114 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 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 113 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 16 in source/Nuke.Tooling/New/ToolTasks.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