Bump actions/checkout from 4 to 7 - #67
101 new problems found by Qodana Community for .NET
Qodana Community for .NET
101 new problems were found
| Inspection name | Severity | Problems |
|---|---|---|
Method return value is never used: Private accessibility |
🔶 Warning | 1 |
Unused local variable |
🔶 Warning | 1 |
Type member is never used: Non-private accessibility |
◽️ Notice | 67 |
Member can be made private: Non-private accessibility |
◽️ Notice | 14 |
Auto-property can be made get-only: Non-private accessibility |
◽️ Notice | 5 |
Type member is never accessed via base type: Non-private accessibility |
◽️ Notice | 5 |
Merge null/pattern checks into complex pattern |
◽️ Notice | 2 |
Unused parameter: Non-private accessibility |
◽️ Notice | 2 |
'if' statement can be rewritten as '?:' expression |
◽️ Notice | 1 |
Property can be made init-only: Non-private accessibility |
◽️ Notice | 1 |
Replace with 'field' keyword |
◽️ Notice | 1 |
Simplify LINQ expression (use 'All') |
◽️ Notice | 1 |
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json(see the Qodana SARIF format for details)
To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2026.1.3
with:
upload-result: trueContact 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 notice on line 32 in Core/Employee.cs
github-actions / Qodana Community for .NET
Auto-property can be made get-only: Non-private accessibility
Auto-property can be made get-only
Check notice on line 51 in Core/Product.cs
github-actions / Qodana Community for .NET
Auto-property can be made get-only: Non-private accessibility
Auto-property can be made get-only
Check notice on line 21 in Core/ReportRequest.cs
github-actions / Qodana Community for .NET
Auto-property can be made get-only: Non-private accessibility
Auto-property can be made get-only
Check notice on line 22 in Core/ReportRequest.cs
github-actions / Qodana Community for .NET
Auto-property can be made get-only: Non-private accessibility
Auto-property can be made get-only
Check notice on line 23 in Core/ReportRequest.cs
github-actions / Qodana Community for .NET
Auto-property can be made get-only: Non-private accessibility
Auto-property can be made get-only
Check notice on line 106 in UI/AccountingMenuHandler.cs
github-actions / Qodana Community for .NET
'if' statement can be rewritten as '?:' expression
Convert into '?:' expression
Check notice on line 26 in Core/ReportRequest.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Accessor 'Status.set' can be made private
Check notice on line 207 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Method 'CalculateEfficiency' can be made private
Check notice on line 227 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Method 'GetEstimatedDaysUntilMaintenance' can be made private
Check notice on line 87 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Method 'GetMachineAge' can be made private
Check notice on line 59 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'InstallationDate' can be made private
Check notice on line 51 in Core/Product.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'MinStockThreshold' can be made private
Check notice on line 61 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'Parts' can be made private
Check notice on line 64 in Core/MachinePart.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'Processor' can be made private
Check notice on line 57 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'SerialNumber' can be made private
Check notice on line 74 in Core/MachinePart.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'SystemType' can be made private
Check notice on line 73 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'TotalFailuresCount' can be made private
Check notice on line 72 in Core/Machine.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'TotalProcessedCount' can be made private
Check notice on line 54 in Core/MachinePart.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'Type' can be made private
Check notice on line 44 in Core/MachinePart.cs
github-actions / Qodana Community for .NET
Member can be made private: Non-private accessibility
Property 'Voltage' can be made private
Check notice on line 142 in UI/AccountingMenuHandler.cs
github-actions / Qodana Community for .NET
Merge null/pattern checks into complex pattern
Merge into pattern
Check notice on line 124 in UI/ReportMenuHandler.cs
github-actions / Qodana Community for .NET
Merge null/pattern checks into complex pattern
Merge into pattern
Check notice on line 25 in Core/ReportRequest.cs
github-actions / Qodana Community for .NET
Property can be made init-only: Non-private accessibility
Property can be made init-only
Check notice on line 9 in Core/Product.cs
github-actions / Qodana Community for .NET
Replace with 'field' keyword
Replace with 'field' keyword
Check notice on line 155 in Services/UndoService.cs
github-actions / Qodana Community for .NET
Simplify LINQ expression (use 'All')
Simplify LINQ expression (use 'All')