Skip to content

wip

wip #497

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

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

Dependency Version Licenses
Azure.Core 1.40.0 MIT
Azure.Identity 1.12.0 MIT
Azure.Security.KeyVault.Certificates 4.6.0 MIT
Azure.Security.KeyVault.Keys 4.6.0 MIT
Azure.Security.KeyVault.Secrets 4.6.0 MIT
Glob 1.1.9 MIT
HtmlAgilityPack 1.11.61 MIT
Humanizer.Core.af 2.14.1 MIT
Humanizer.Core.ar 2.14.1 MIT
Humanizer.Core.az 2.14.1 MIT
Humanizer.Core.bg 2.14.1 MIT
Humanizer.Core.bn-BD 2.14.1 MIT
Humanizer.Core.cs 2.14.1 MIT
Humanizer.Core.da 2.14.1 MIT
Humanizer.Core.de 2.14.1 MIT
Humanizer.Core.el 2.14.1 MIT
Humanizer.Core.es 2.14.1 MIT
Humanizer.Core.fa 2.14.1 MIT
Humanizer.Core.fi-FI 2.14.1 MIT
Humanizer.Core.fr-BE 2.14.1 MIT
Humanizer.Core.fr 2.14.1 MIT
Humanizer.Core.he 2.14.1 MIT
Humanizer.Core.hr 2.14.1 MIT
Humanizer.Core.hu 2.14.1 MIT
Humanizer.Core.hy 2.14.1 MIT
Humanizer.Core.id 2.14.1 MIT
Humanizer.Core.is 2.14.1 MIT
Humanizer.Core.it 2.14.1 MIT
Humanizer.Core.ja 2.14.1 MIT
Humanizer.Core.ko-KR 2.14.1 MIT
Humanizer.Core.ku 2.14.1 MIT
Humanizer.Core.lv 2.14.1 MIT
Humanizer.Core.ms-MY 2.14.1 MIT
Humanizer.Core.mt 2.14.1 MIT
Humanizer.Core.nb-NO 2.14.1 MIT
Humanizer.Core.nb 2.14.1 MIT
Humanizer.Core.nl 2.14.1 MIT
Humanizer.Core.pl 2.14.1 MIT
Humanizer.Core.pt 2.14.1 MIT
Humanizer.Core.ro 2.14.1 MIT
Humanizer.Core.ru 2.14.1 MIT
Humanizer.Core.sk 2.14.1 MIT
Humanizer.Core.sl 2.14.1 MIT
Humanizer.Core.sr-Latn 2.14.1 MIT
Humanizer.Core.sr 2.14.1 MIT
Humanizer.Core.sv 2.14.1 MIT
Humanizer.Core.th-TH 2.14.1 MIT
Humanizer.Core.tr 2.14.1 MIT
Humanizer.Core.uk 2.14.1 MIT
Humanizer.Core.uz-Cyrl-UZ 2.14.1 MIT
Humanizer.Core.uz-Latn-UZ 2.14.1 MIT
Humanizer.Core.vi 2.14.1 MIT
Humanizer.Core.zh-CN 2.14.1 MIT
Humanizer.Core.zh-Hans 2.14.1 MIT
Humanizer.Core.zh-Hant 2.14.1 MIT
Humanizer.Core 2.14.1 MIT
Humanizer 2.14.1 MIT
JetBrains.Annotations 2023.3.0 MIT
Microsoft.ApplicationInsights 2.22.0 MIT
Microsoft.Bcl.AsyncInterfaces 1.1.1 MIT
Microsoft.Bcl.AsyncInterfaces 8.0.0 MIT
Microsoft.Build.Framework 16.9.0 MIT
Microsoft.Build.Framework 17.10.4 MIT
Microsoft.Build.Locator 1.7.8 MIT
Microsoft.Build.Tasks.Core 16.9.0 MIT
Microsoft.Build.Tasks.Core 17.10.4 MIT
Microsoft.Build.Tasks.Git 8.0.0 MIT
Microsoft.Build.Utilities.Core 16.9.0 MIT
Microsoft.Build.Utilities.Core 17.10.4 MIT
Microsoft.Build 16.9.0 MIT
Microsoft.Build 17.10.4 MIT
Microsoft.CSharp 4.3.0 MIT
Microsoft.CodeAnalysis.Analyzers 3.3.4 MIT
Microsoft.CodeAnalysis.CSharp 4.10.0 MIT
Microsoft.CodeAnalysis.CSharp 4.7.0 MIT
Microsoft.CodeAnalysis.Common 4.10.0 MIT
Microsoft.CodeAnalysis.Common 4.7.0 MIT
Microsoft.CodeAnalysis.Workspaces.Common 4.10.0 MIT
Microsoft.CodeAnalysis.Workspaces.MSBuild 4.10.0 MIT
Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 MIT
Microsoft.Extensions.DependencyModel 8.0.0 MIT
Microsoft.Extensions.Logging.Abstractions 8.0.0 MIT
Microsoft.Identity.Client.Extensions.Msal 4.61.3 MIT
Microsoft.Identity.Client 4.61.3 MIT
Microsoft.IdentityModel.Abstractions 6.35.0 MIT
Microsoft.NET.StringTools 17.10.4 MIT
Microsoft.NETCore.Platforms 1.1.0 MIT
Microsoft.NETCore.Platforms 1.1.1 MIT
Microsoft.NETCore.Platforms 3.1.0 MIT
Microsoft.SourceLink.Common 8.0.0 MIT
Microsoft.SourceLink.GitHub 8.0.0 MIT
Microsoft.Win32.Registry 5.0.0 MIT
Microsoft.Win32.SystemEvents 4.7.0 MIT
NJsonSchema 10.9.0 MIT
Namotion.Reflection 2.1.2 MIT
Newtonsoft.Json 13.0.3 MIT
NuGet.Common 6.10.1 Apache-2.0
NuGet.Configuration 6.10.1 Apache-2.0
NuGet.Frameworks 6.10.1 Apache-2.0
NuGet.Packaging 6.10.1 Apache-2.0
NuGet.Versioning 6.10.1 Apache-2.0
Octokit 13.0.1 MIT
Serilog.Formatting.Compact.Reader 4.0.0 Apache-2.0
Serilog.Formatting.Compact 3.0.0 Apache-2.0
Serilog.Sinks.Console 6.0.0 Apache-2.0
Serilog.Sinks.File 6.0.0 Apache-2.0
Serilog 4.0.0 Apache-2.0
SharpZipLib 1.4.2 MIT
SixLabors.Fonts 2.0.0 Apache-2.0
PROPRIETARY-LICENSE
SixLabors.ImageSharp.Drawing 2.0.1 Apache-2.0
PROPRIETARY-LICENSE
SixLabors.ImageSharp 3.0.2 Apache-2.0
PROPRIETARY-LICENSE
System.Buffers 4.5.1 MIT
System.ClientModel 1.0.0 MIT
System.CodeDom 4.4.0 MIT
System.CodeDom 8.0.0 MIT
System.Collections.Immutable 5.0.0 MIT
System.Collections.Immutable 7.0.0 MIT
System.Collections.Immutable 8.0.0 MIT
System.ComponentModel.Annotations 5.0.0 MIT
System.Composition.AttributedModel 8.0.0 MIT
System.Composition.Convention 8.0.0 MIT
System.Composition.Hosting 8.0.0 MIT
System.Composition.Runtime 8.0.0 MIT
System.Composition.TypedParts 8.0.0 MIT
System.Composition 8.0.0 MIT
System.Configuration.ConfigurationManager 8.0.0 MIT
System.Diagnostics.Debug 4.3.0 MIT
System.Diagnostics.DiagnosticSource 5.0.0 MIT
System.Diagnostics.DiagnosticSource 6.0.1 MIT
System.Diagnostics.DiagnosticSource 8.0.1 MIT
System.Diagnostics.EventLog 8.0.0 MIT
System.Drawing.Common 4.7.0 MIT
System.Dynamic.Runtime 4.3.0 MIT
System.Formats.Asn1 6.0.0 MIT
System.Formats.Asn1 8.0.0 MIT
System.IO.Pipelines 8.0.0 MIT
System.Linq.Expressions 4.3.0 MIT
System.Linq 4.3.0 MIT
System.Memory.Data 1.0.2 MIT
System.Memory 4.5.4 MIT
System.Memory 4.5.5 MIT
System.Numerics.Vectors 4.4.0 MIT
System.Numerics.Vectors 4.5.0 MIT
System.ObjectModel 4.3.0 MIT
System.Reflection.Emit.ILGeneration 4.3.0 MIT
System.Reflection.Emit.Lightweight 4.3.0 MIT
System.Reflection.Emit 4.3.0 MIT
System.Reflection.Extensions 4.3.0 MIT
System.Reflection.Metadata 1.6.0 MIT
System.Reflection.Metadata 7.0.0 MIT
System.Reflection.Metadata 8.0.0 MIT
System.Reflection.MetadataLoadContext 8.0.0 MIT
System.Reflection.TypeExtensions 4.3.0 MIT
System.Resources.Extensions 4.6.0 MIT
System.Resources.Extensions 8.0.0 MIT
System.Runtime.CompilerServices.Unsafe 4.5.3 MIT
System.Runtime.CompilerServices.Unsafe 6.0.0 MIT
System.Security.AccessControl 4.7.0 MIT
System.Security.AccessControl 5.0.0 MIT
System.Security.Cryptography.Cng 5.0.0 MIT
System.Security.Cryptography.Pkcs 6.0.4 MIT
System.Security.Cryptography.Pkcs 8.0.0 MIT
System.Security.Cryptography.ProtectedData 4.4.0 MIT
System.Security.Cryptography.ProtectedData 8.0.0 MIT
System.Security.Cryptography.Xml 4.7.0 MIT
System.Security.Cryptography.Xml 8.0.0 MIT
System.Security.Permissions 4.7.0 MIT
System.Security.Permissions 8.0.0 MIT
System.Security.Principal.Windows 4.7.0 MIT
System.Security.Principal.Windows 5.0.0 MIT
System.Text.Encoding.CodePages 7.0.0 MIT
System.Text.Encodings.Web 8.0.0 MIT
System.Text.Json 4.7.0 MIT
System.Text.Json 8.0.4 MIT
System.Threading.Channels 7.0.0 MIT
System.Threading.Channels 8.0.0 MIT
System.Threading.Tasks.Dataflow 4.9.0 MIT
System.Threading.Tasks.Dataflow 8.0.0 MIT
System.Threading.Tasks.Extensions 4.5.2 MIT
System.Threading.Tasks.Extensions 4.5.4 MIT
System.Threading 4.0.11 MIT
System.Threading 4.3.0 MIT
System.Windows.Extensions 4.7.0 MIT
System.Windows.Extensions 8.0.0 MIT
YamlDotNet 15.3.0 MIT
linqtotwitter 6.15.0 MIT
matkoch.spectre.console 0.46.0 MIT
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 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 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 26 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 176 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 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 13 in source/Nuke.Common/Tools/CorFlags/CorFlagsSettings.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