Skip to content

Update TSDetect plugin to functional state and fix test failures#186

Merged
mkaouer merged 2 commits into
mainfrom
update-plugin-and-fix-tests-8294462449623961256
Jun 8, 2026
Merged

Update TSDetect plugin to functional state and fix test failures#186
mkaouer merged 2 commits into
mainfrom
update-plugin-and-fix-tests-8294462449623961256

Modernize plugin, fix CI workflows and test failures

fd1c367
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Qodana completed Jun 6, 2026 in 0s

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

See this annotation in the file changed.

@github-actions github-actions / Qodana

AutoCloseable used without 'try'-with-resources

'CloseableHttpClient' used without 'try'-with-resources statement

Check warning on line 54 in src/main/java/org/scanl/plugins/tsdetect/inspections/MagicNumberInspection.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana

Duplicate branches in 'switch'

Duplicate branch in 'switch'

Check warning on line 15 in src/main/java/org/scanl/plugins/tsdetect/inspections/EagerTestInspection.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Field may be 'final'

Field `issueStatements` may be 'final'

Check warning on line 18 in src/main/java/org/scanl/plugins/tsdetect/common/PluginResourceBundle.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana

Field may be 'final'

Field `smellyClasses` may be 'final'

Check warning on line 28 in src/main/java/org/scanl/plugins/tsdetect/config/application/AppSettingsState.java

See this annotation in the file changed.

@github-actions github-actions / Qodana

Field may be 'final'

Field `uuid` may be 'final'

Check warning on line 46 in src/main/java/org/scanl/plugins/tsdetect/config/project/ProjectSettingsState.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana

Field may be 'final'

Field `reportType` may be 'final'

Check warning on line 22 in src/main/java/org/scanl/plugins/tsdetect/ui/tabs/TabSmellDistribution.java

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana

Result of method call ignored

Result of `File.delete()` is ignored