Update TSDetect plugin to functional state and fix test failures#186
Qodana
110 problems were detected.
Details
📓 Find out how to view the whole Qodana report.
📭 Contact us at qodana-support@jetbrains.com
👀 Or via our issue tracker: https://jb.gg/qodana-issue
🔥 Or share your feedback in our Slack: https://jb.gg/qodana-slack
Annotations
Check warning on line 101 in src/main/java/org/scanl/plugins/tsdetect/model/AnonymousData.java
github-actions / Qodana
AutoCloseable used without 'try'-with-resources
'CloseableHttpClient' used without 'try'-with-resources statement
github-actions / Qodana
Catch block may ignore exception
Empty `catch` block
Check notice on line 29 in src/main/java/org/scanl/plugins/tsdetect/config/PluginSettings.java
github-actions / Qodana
Commented out code
Commented out code (2 lines)
Check warning on line 45 in src/main/java/org/scanl/plugins/tsdetect/config/PluginSettings.java
github-actions / Qodana
Constant values
Condition `result != null` is always `true`
Check warning on line 87 in src/main/java/org/scanl/plugins/tsdetect/ui/controls/TableUtil.java
github-actions / Qodana
Nullability and data flow problems
Argument `url` might be null
Check warning on line 12 in src/main/java/org/scanl/plugins/tsdetect/common/Util.java
github-actions / Qodana
Nullability and data flow problems
Argument `url` might be null
Check warning on line 23 in src/main/java/org/scanl/plugins/tsdetect/common/Util.java
github-actions / Qodana
Nullability and data flow problems
Argument `url` might be null
Check warning on line 64 in src/main/java/org/scanl/plugins/tsdetect/ui/dialogs/ExportReport.java
github-actions / Qodana
Nullability and data flow problems
Method invocation `getReportType` may produce `NullPointerException`
Check notice on line 14 in src/main/java/org/scanl/plugins/tsdetect/ui/popup/Popup.java
github-actions / Qodana
Duplicate branches in 'switch'
Duplicate branch in 'switch'
github-actions / Qodana
Field may be 'final'
Field `issueStatements` may be 'final'
github-actions / Qodana
Field may be 'final'
Field `bundles` may be 'final'
Check warning on line 18 in src/main/java/org/scanl/plugins/tsdetect/quickfixes/QuickFixRemove.java
github-actions / Qodana
Field may be 'final'
Field `resourceLocation` may be 'final'
Check warning on line 25 in src/main/java/org/scanl/plugins/tsdetect/SmellVisitor.java
github-actions / Qodana
Field may be 'final'
Field `smellyClasses` may be 'final'
github-actions / Qodana
Field may be 'final'
Field `uuid` may be 'final'
github-actions / Qodana
Field may be 'final'
Field `projectSettingsState` may be 'final'
Check warning on line 6 in src/main/java/org/scanl/plugins/tsdetect/model/ReportItem.java
github-actions / Qodana
Field may be 'final'
Field `displayText` may be 'final'
Check warning on line 20 in src/main/java/org/scanl/plugins/tsdetect/model/AnonymousData.java
github-actions / Qodana
Field may be 'final'
Field `data` may be 'final'
Check warning on line 25 in src/main/java/org/scanl/plugins/tsdetect/model/ExecutionResult.java
github-actions / Qodana
Field may be 'final'
Field `allMethods` may be 'final'
Check warning on line 24 in src/main/java/org/scanl/plugins/tsdetect/model/ExecutionResult.java
github-actions / Qodana
Field may be 'final'
Field `executionEndTimestamp` may be 'final'
Check warning on line 7 in src/main/java/org/scanl/plugins/tsdetect/model/ReportItem.java
github-actions / Qodana
Field may be 'final'
Field `reportType` may be 'final'
github-actions / Qodana
Field may be 'final'
Field `tableSmell` may be 'final'
Check warning on line 18 in src/main/java/org/scanl/plugins/tsdetect/ui/dialogs/ExportReport.java
github-actions / Qodana
Field may be 'final'
Field `executionResult` may be 'final'
Check warning on line 26 in src/main/java/org/scanl/plugins/tsdetect/model/ExecutionResult.java
github-actions / Qodana
Field may be 'final'
Field `allClasses` may be 'final'
Check warning on line 23 in src/main/java/org/scanl/plugins/tsdetect/model/ExecutionResult.java
github-actions / Qodana
Field may be 'final'
Field `executionStartTimestamp` may be 'final'
Check warning on line 78 in src/main/java/org/scanl/plugins/tsdetect/model/AnonymousData.java
github-actions / Qodana
Result of method call ignored
Result of `File.delete()` is ignored