fix(deps): update dependency @testing-library/react to v15.0.3 (#1741) #1082
88 new problems found by Qodana Community for JVM
Qodana Community for JVM
88 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Usage of API marked for removal |
🔴 Failure | 7 |
Field may be 'final' |
🔶 Warning | 27 |
Unchecked warning |
🔶 Warning | 8 |
Redundant type cast |
🔶 Warning | 6 |
Redundant call to 'String.format()' |
🔶 Warning | 6 |
Redundant local variable |
🔶 Warning | 6 |
Declaration has problems in Javadoc references |
🔶 Warning | 4 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 4 |
Statement with empty body |
🔶 Warning | 3 |
Javadoc declaration problems |
🔶 Warning | 2 |
Stream API call chain can be simplified |
🔶 Warning | 2 |
Minimum 'switch' branches |
🔶 Warning | 2 |
Redundant 'Collection.addAll()' call |
🔶 Warning | 1 |
Nullability and data flow problems |
🔶 Warning | 1 |
Default annotation parameter value |
🔶 Warning | 1 |
Deprecated API usage |
🔶 Warning | 1 |
Double negation |
🔶 Warning | 1 |
Inner class may be 'static' |
🔶 Warning | 1 |
Redundant 'File' instance creation |
🔶 Warning | 1 |
Call to 'printStackTrace()' |
🔶 Warning | 1 |
Redundant 'if' statement |
🔶 Warning | 1 |
Unnecessary semicolon |
🔶 Warning | 1 |
Method can be extracted |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
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/[email protected]
with:
upload-result: true
Contact Qodana team
Contact us at [email protected]
- 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
github-actions / Qodana Community for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call
github-actions / Qodana Community for JVM
Nullability and data flow problems
Method invocation `getPath` may produce `NullPointerException`
github-actions / Qodana Community for JVM
Default annotation parameter value
Redundant default parameter value assignment
github-actions / Qodana Community for JVM
Deprecated API usage
'setWorker(boolean)' is deprecated
github-actions / Qodana Community for JVM
Double negation
Double negation in `!(declaration.getEnumValues().size() != count)`
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Statement with empty body
`if` statement has empty body
github-actions / Qodana Community for JVM
Method can be extracted
It's possible to extract method returning 'typeRef' from a long surrounding method
github-actions / Qodana Community for JVM
Field may be 'final'
Field `processors` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `property` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `filter` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `endLine` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `text` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `markdownText` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `changelog` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `startLine` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `changedTypes` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `style` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `affectedType` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `affectedType` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `affectedType` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `matcher` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `importString` may be 'final'
github-actions / Qodana Community for JVM
Field may be 'final'
Field `analyzerRunRepository` may be 'final'