1148 new problems found by Qodana for .NET
Qodana for .NET
464 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Potentially misleading parameter name in lambda or local function |
🔶 Warning | 142 |
Redundant type declaration body |
🔶 Warning | 25 |
Return value of pure method is not used |
🔶 Warning | 6 |
Redundant using directive |
🔶 Warning | 5 |
Type member is never used (private accessibility) |
🔶 Warning | 3 |
Possible 'System.NullReferenceException' |
🔶 Warning | 2 |
Field is never used |
🔶 Warning | 2 |
Remove redundant parentheses |
🔶 Warning | 1 |
Use explicit or implicit modifier definition for type members |
🔶 Warning | 1 |
Expression is always 'true' or always 'false' |
🔶 Warning | 1 |
Heuristically unreachable code |
🔶 Warning | 1 |
Formatting is specified, but interpolated string expression is not IFormattable |
🔶 Warning | 1 |
Type member is never accessed via base type (non-private accessibility) |
🔶 Warning | 1 |
Put local function after 'return' or 'continue' |
◽️ Notice | 100 |
Literal length can be reduced by using verbatim string |
◽️ Notice | 70 |
Convert constructor into primary constructor |
◽️ Notice | 69 |
Use raw string |
◽️ Notice | 20 |
Redundant verbatim string prefix |
◽️ Notice | 4 |
Redundant string interpolation |
◽️ Notice | 3 |
Convert constructor into member initializers |
◽️ Notice | 2 |
Add explicit 'return' or 'continue' before local functions |
◽️ Notice | 2 |
Use preferred namespace body style |
◽️ Notice | 1 |
Convert 'if' statement into 'switch' |
◽️ Notice | 1 |
Use discard assignment |
◽️ Notice | 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 qodana-support@jetbrains.com
- 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 67 in source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs
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 95 in source/Nuke.Components/ITest.cs
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 43 in source/Nuke.Components/IGlobalTool.cs
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 35 in source/Nuke.Components/IPack.cs
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 48 in source/Nuke.Components/IReportCoverage.cs
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 32 in source/Nuke.Components/IPublish.cs
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 62 in source/Nuke.Components/ICompile.cs
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 190 in source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs
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 36 in source/Nuke.Components/ICompile.cs
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 21 in source/Nuke.Components/ICompile.cs
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 51 in source/Nuke.Build.Tests/SchemaUtilityTest.cs
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 25 in source/Nuke.Components/IGlobalTool.cs
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 73 in source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs
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 79 in source/Nuke.Components/ICompile.cs
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 169 in source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs
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.Components/IReportIssues.cs
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 66 in source/Nuke.Components/ICompile.cs
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 52 in source/Nuke.Build.Tests/SchemaUtilityTest.cs
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 91 in source/Nuke.Components/ITest.cs
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 27 in source/Nuke.Components/IPack.cs
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 222 in source/Nuke.Build.Tests/DefaultInterfaceExecutionTest.cs
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 51 in source/Nuke.Components/ICompile.cs
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 118 in source/Nuke.Build.Tests/ExecutableTargetFactoryTest.cs
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 58 in source/Nuke.Components/IReportCoverage.cs
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 43 in source/Nuke.Components/IPublish.cs
github-actions / Qodana for .NET
Potentially misleading parameter name in lambda or local function
The '_' name is typically reserved for parameters without usages