wip #497
430 new problems found by Qodana for .NET
Qodana for .NET
128 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Base type is required |
πΆ Warning | 19 |
Redundant using directive |
πΆ Warning | 15 |
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 |
Use preferred argument style for literal values |
πΆ Warning | 13 |
Method return value is never used (non-private accessibility) |
πΆ Warning | 13 |
Possible 'System.NullReferenceException' |
πΆ Warning | 5 |
Auto-property accessor is never used (non-private accessibility) |
πΆ Warning | 5 |
Use preferred braces style (enforce braces in 'if' statement) |
πΆ Warning | 4 |
Redundant 'partial' modifier on type declaration |
πΆ Warning | 3 |
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 |
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
Detected 187 dependencies
Third-party software list
This page lists the third-party software dependencies used in nuke-common
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 45 in source/Nuke.Utilities/IO/RelativePath.cs
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 26 in source/Nuke.Tooling/New/ToolTasks.cs
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 176 in source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs
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 23 in source/Nuke.Tooling/New/ToolTasks.cs
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 13 in source/Nuke.Common/Tools/CorFlags/CorFlagsSettings.cs
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