Bump rexml from 3.3.0 to 3.3.3 in /docs #63
570 new problems found by Qodana Community for JVM
Qodana Community for JVM
570 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Field may be 'final' |
🔶 Warning | 141 |
Unused import |
🔶 Warning | 59 |
Javadoc declaration problems |
🔶 Warning | 36 |
Redundant type cast |
🔶 Warning | 28 |
Field can be local |
🔶 Warning | 25 |
Nullability and data flow problems |
🔶 Warning | 23 |
Unused assignment |
🔶 Warning | 21 |
Integer division in floating-point context |
🔶 Warning | 18 |
Access static member via instance reference |
🔶 Warning | 15 |
Incorrect string capitalization |
🔶 Warning | 9 |
Call to 'printStackTrace()' |
🔶 Warning | 9 |
Redundant local variable |
🔶 Warning | 9 |
'String.equals()' can be replaced with 'String.isEmpty()' |
🔶 Warning | 8 |
Unnecessary semicolon |
🔶 Warning | 7 |
Empty class initializer |
🔶 Warning | 4 |
Statement with empty body |
🔶 Warning | 4 |
Possibly lossy implicit cast in compound assignment |
🔶 Warning | 4 |
'@Serial' annotation could be used |
🔶 Warning | 4 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 4 |
Suspicious variable/parameter name combination |
🔶 Warning | 4 |
Unnecessary call to 'toString()' |
🔶 Warning | 4 |
C-style array declaration |
🔶 Warning | 3 |
'size() == 0' can be replaced with 'isEmpty()' |
🔶 Warning | 3 |
Redundant 'if' statement |
🔶 Warning | 3 |
Busy wait |
🔶 Warning | 2 |
Catch block may ignore exception |
🔶 Warning | 2 |
Inner class may be 'static' |
🔶 Warning | 2 |
Redundant call to 'String.format()' |
🔶 Warning | 2 |
Unnecessary modifier |
🔶 Warning | 2 |
Too weak variable type leads to unnecessary cast |
🔶 Warning | 1 |
Caught exception is immediately rethrown |
🔶 Warning | 1 |
Early loop exit in 'if' condition |
🔶 Warning | 1 |
Result of method call ignored |
🔶 Warning | 1 |
Unused import directive |
🔶 Warning | 1 |
Method name same as class name |
🔶 Warning | 1 |
Mismatched read and write of array |
🔶 Warning | 1 |
Mismatched query and update of collection |
🔶 Warning | 1 |
@NotNull/@Nullable problems |
🔶 Warning | 1 |
Optional.get() is called without isPresent() check |
🔶 Warning | 1 |
Value passed as parameter never read |
🔶 Warning | 1 |
Pointless arithmetic expression |
🔶 Warning | 1 |
Local variable used and declared in different 'switch' branches |
🔶 Warning | 1 |
'Collection.toArray()' call style |
🔶 Warning | 1 |
Unnecessary 'return' statement |
🔶 Warning | 1 |
Wrapper type may be primitive |
🔶 Warning | 1 |
Commented out code |
◽️ Notice | 86 |
Method can be extracted |
◽️ Notice | 12 |
Constant values |
◽️ 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
Check warning on line 58 in src/main/java/com/cschar/pmode3/config/MOMAConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.MOMAConfig.colorTwo' accessed via instance reference
Check warning on line 87 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLantern.typeX' accessed via instance reference
Check warning on line 77 in src/main/java/com/cschar/pmode3/config/LanternConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.LanternConfig.originalTracerColor' accessed via instance reference
Check warning on line 105 in src/main/java/com/cschar/pmode3/config/SpecialActionSoundConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.SpecialActionSoundConfigTableModel.soundsPlaying' accessed via instance reference
Check warning on line 54 in src/main/java/com/cschar/pmode3/config/MOMAConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.MOMAConfig.colorOne' accessed via instance reference
Check warning on line 162 in src/main/java/com/cschar/pmode3/config/TextCompletionSoundConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.TextCompletionSoundConfigTableModel.soundsPlaying' accessed via instance reference
Check warning on line 80 in src/main/java/com/cschar/pmode3/config/MOMAConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.MOMAConfig.colorTwo' accessed via instance reference
Check warning on line 90 in src/main/java/com/cschar/pmode3/config/MOMAConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.MOMAConfig.colorThree' accessed via instance reference
Check warning on line 88 in src/main/java/com/cschar/pmode3/ParticleSpriteLinkerAnchor.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLinkerAnchor.typeX' accessed via instance reference
Check warning on line 160 in src/main/java/com/cschar/pmode3/config/LinkerConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.LinkerConfig.originalTracerColor' accessed via instance reference
Check warning on line 88 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLantern.typeY' accessed via instance reference
Check warning on line 90 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLantern.targetY' accessed via instance reference
Check warning on line 89 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLantern.targetX' accessed via instance reference
Check warning on line 89 in src/main/java/com/cschar/pmode3/ParticleSpriteLinkerAnchor.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.ParticleSpriteLinkerAnchor.typeY' accessed via instance reference
Check warning on line 70 in src/main/java/com/cschar/pmode3/config/MOMAConfig.java
github-actions / Qodana Community for JVM
Access static member via instance reference
Static member 'com.cschar.pmode3.config.MOMAConfig.colorOne' accessed via instance reference
Check warning on line 64 in src/main/java/com/cschar/pmode3/ParticleContainerManager.java
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 44 in src/main/java/com/cschar/pmode3/services/MemoryMonitorServiceImpl.java
github-actions / Qodana Community for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 43 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
C-style array declaration
Field `frames` has C-style array type declaration
Check warning on line 208 in src/main/java/com/cschar/pmode3/ParticleSpriteLantern.java
github-actions / Qodana Community for JVM
C-style array declaration
Field `editorOffsets` has C-style array type declaration
Check warning on line 64 in src/main/java/com/cschar/pmode3/ParticleSpriteLinkerAnchor.java
github-actions / Qodana Community for JVM
C-style array declaration
Field `frames` has C-style array type declaration
Check warning on line 377 in src/main/java/com/cschar/pmode3/services/GitPackLoaderJComponent.java
github-actions / Qodana Community for JVM
Too weak variable type leads to unnecessary cast
Cast may be removed by changing the type of 'progressMonitor' to 'GitPackLoaderProgressMonitor'
Check warning on line 50 in src/main/java/com/cschar/pmode3/services/MemoryMonitorServiceImpl.java
github-actions / Qodana Community for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 92 in src/main/java/com/cschar/pmode3/Sound.java
github-actions / Qodana Community for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 57 in src/main/java/com/cschar/pmode4/AppSettingsConfigurable.java
github-actions / Qodana Community for JVM
Caught exception is immediately rethrown
Caught exception `e` is immediately rethrown
Check notice on line 96 in src/main/java/com/cschar/pmode3/ParticleContainer.java
github-actions / Qodana Community for JVM
Commented out code
Commented out code (4 lines)