Version 0.61 #20
679 new problems found by Qodana for JVM
Qodana for JVM
679 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused import |
🔶 Warning | 190 |
Redundant 'Collection.addAll()' call |
🔶 Warning | 126 |
Type parameter hides visible type |
🔶 Warning | 47 |
Constant values |
🔶 Warning | 38 |
Pointless boolean expression |
🔶 Warning | 36 |
Unused assignment |
🔶 Warning | 24 |
'*' import |
🔶 Warning | 18 |
Optional.get() is called without isPresent() check |
🔶 Warning | 16 |
Nullability and data flow problems |
🔶 Warning | 15 |
Manual array copy |
🔶 Warning | 13 |
Redundant 'if' statement |
🔶 Warning | 11 |
Bulk operation can be used instead of iteration |
🔶 Warning | 11 |
Redundant array creation |
🔶 Warning | 10 |
Result of method call ignored |
🔶 Warning | 9 |
'Optional' used as field or parameter type |
🔶 Warning | 9 |
Method does not call super method |
🔶 Warning | 7 |
String concatenation as argument to 'StringBuilder.append()' call |
🔶 Warning | 7 |
AutoCloseable used without 'try'-with-resources |
🔶 Warning | 6 |
Catch block may ignore exception |
🔶 Warning | 6 |
Manual array to collection copy |
🔶 Warning | 6 |
Confusing argument to varargs method |
🔶 Warning | 6 |
Suspicious collection method call |
🔶 Warning | 6 |
Busy wait |
🔶 Warning | 5 |
Suspicious 'Collection.toArray()' call |
🔶 Warning | 5 |
Integer multiplication or shift implicitly cast to 'long' |
🔶 Warning | 4 |
Boolean constructor call |
🔶 Warning | 3 |
Suspicious 'Comparator.compare()' implementation |
🔶 Warning | 3 |
Inner class may be 'static' |
🔶 Warning | 3 |
Pointless arithmetic expression |
🔶 Warning | 3 |
Statement with empty body |
🔶 Warning | 2 |
Infinite loop statement |
🔶 Warning | 2 |
Mismatched read and write of array |
🔶 Warning | 2 |
Mismatched query and update of collection |
🔶 Warning | 2 |
Synchronization on a non-final field |
🔶 Warning | 2 |
Wrapper type may be primitive |
🔶 Warning | 2 |
Number constructor call with primitive argument |
🔶 Warning | 1 |
Cloneable class without 'clone()' method |
🔶 Warning | 1 |
Contract issues |
🔶 Warning | 1 |
Copy constructor misses field |
🔶 Warning | 1 |
'equals()' method which does not check class of parameter |
🔶 Warning | 1 |
'finalize()' should be protected, not public |
🔶 Warning | 1 |
Kotlin Maven Plugin misconfigured |
🔶 Warning | 1 |
kotlin-test-junit could be used |
🔶 Warning | 1 |
Call math rounding with 'int' argument |
🔶 Warning | 1 |
Mismatched query and update of 'StringBuilder' |
🔶 Warning | 1 |
Confusing primitive array argument to varargs method |
🔶 Warning | 1 |
Simplifiable conditional expression |
🔶 Warning | 1 |
String concatenation in loop |
🔶 Warning | 1 |
Suspicious variable/parameter name combination |
🔶 Warning | 1 |
'if' statement with identical branches |
◽️ Notice | 5 |
Constant values |
◽️ Notice | 3 |
'ThreadLocal.set()' with null as an argument |
◽️ Notice | 1 |
Vulnerable declared dependency |
◽️ Notice | 1 |
☁️ View the detailed Qodana report
Contact 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 warning on line 9 in llvm/src/main/java/org/almostrealism/llvm/App.java
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'Context' used without 'try'-with-resources statement
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'ScopeEncoder' used without 'try'-with-resources statement
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'ScopeEncoder' used without 'try'-with-resources statement
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'ScopeEncoder' used without 'try'-with-resources statement
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'ScopeEncoder' used without 'try'-with-resources statement
github-actions / Qodana for JVM
AutoCloseable used without 'try'-with-resources
'ScopeEncoder' used without 'try'-with-resources statement
github-actions / Qodana for JVM
Boolean constructor call
Boolean constructor call
Check warning on line 54 in color/src/main/java/org/almostrealism/texture/StripeTexture.java
github-actions / Qodana for JVM
Boolean constructor call
Boolean constructor call
Check warning on line 198 in color/src/main/java/org/almostrealism/texture/StripeTexture.java
github-actions / Qodana for JVM
Boolean constructor call
Boolean constructor call
Check warning on line 167 in space/src/main/java/org/almostrealism/space/Animation.java
github-actions / Qodana for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 168 in hardware/src/main/java/org/almostrealism/hardware/Hardware.java
github-actions / Qodana for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 48 in time/src/main/java/org/almostrealism/time/ClockSynchronizer.java
github-actions / Qodana for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 62 in swing/src/main/java/org/almostrealism/swing/ScrollingTextDisplay.java
github-actions / Qodana for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
github-actions / Qodana for JVM
Busy wait
Call to `Thread.sleep()` in a loop, probably busy-waiting
Check warning on line 39 in swing/src/main/java/org/almostrealism/swing/displays/GraphDisplay.java
github-actions / Qodana for JVM
Number constructor call with primitive argument
Number constructor call with primitive argument
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 63 in swing/src/main/java/org/almostrealism/swing/ScrollingTextDisplay.java
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 118 in hardware/src/main/java/org/almostrealism/hardware/cl/CLDataContext.java
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 82 in color/src/main/java/org/almostrealism/texture/ImageTexture.java
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 84 in swing/src/main/java/org/almostrealism/swing/ScrollingTextDisplay.java
github-actions / Qodana for JVM
Catch block may ignore exception
Empty `catch` block
Check warning on line 26 in space/src/main/java/org/almostrealism/space/SurfaceList.java
github-actions / Qodana for JVM
Cloneable class without 'clone()' method
`SurfaceList` is 'Cloneable' but does not define 'clone()' method
Check warning on line 17 in chemistry/src/main/java/org/almostrealism/chem/Silver.java
github-actions / Qodana for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call
Check warning on line 17 in chemistry/src/main/java/org/almostrealism/chem/Gold.java
github-actions / Qodana for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call
Check warning on line 17 in chemistry/src/main/java/org/almostrealism/chem/Curium.java
github-actions / Qodana for JVM
Redundant 'Collection.addAll()' call
'addAll()' call can be replaced with parametrized constructor call