380 new problems found by Qodana for .NET
Qodana for .NET
26 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 | 5 |
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 |
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 of a method annotated with [MustDisposeResource] is never disposed |
🔶 Warning | 1 |
Redundant 'partial' modifier on type declaration |
🔶 Warning | 1 |
RoslynAnalyzers Specify analyzer banned API enforcement setting |
🔶 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]
- 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 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 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 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 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 97 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 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 181 in source/Nuke.Tooling/NuGetPackageResolver.cs
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
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
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
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
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
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
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
github-actions / Qodana for .NET
Return value of a method annotated with [MustDisposeResource] is never disposed
Return value of this invocation is never disposed
Check warning on line 17 in source/Nuke.Utilities/Task.WaitAll.cs
github-actions / Qodana for .NET
Redundant 'partial' modifier on type declaration
Partial class with single part
Check warning on line 23 in source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs
github-actions / Qodana for .NET
RoslynAnalyzers Specify analyzer banned API enforcement setting
'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property 'true'
Check warning on line 21 in source/Nuke.Build.Shared/Notifications.cs
github-actions / Qodana for .NET
Type member is never used (non-private accessibility)
Property 'Links' is never used
Check warning on line 19 in source/Nuke.Build.Shared/Notifications.cs
github-actions / Qodana for .NET
Type member is never used (non-private accessibility)
Property 'Title' is never used
Check warning on line 20 in source/Nuke.Build.Shared/Notifications.cs
github-actions / Qodana for .NET
Type member is never used (non-private accessibility)
Property 'Text' is never used
Check warning on line 27 in source/Nuke.Build.Shared/Notifications.cs
github-actions / Qodana for .NET
Type member is never used (non-private accessibility)
Property 'Url' is never used