Skip to content

Version 0.61

Version 0.61 #20

GitHub Actions / Qodana for JVM completed Feb 20, 2024 in 0s

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

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 55 in hardware/src/main/java/org/almostrealism/hardware/cl/CLNativeComputeContext.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 78 in hardware/src/main/java/org/almostrealism/hardware/external/ExternalComputeContext.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 68 in hardware/src/main/java/org/almostrealism/hardware/jni/NativeComputeContext.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 101 in hardware/src/main/java/org/almostrealism/hardware/metal/MetalComputeContext.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 118 in hardware/src/main/java/org/almostrealism/hardware/cl/CLComputeContext.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

AutoCloseable used without 'try'-with-resources

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

Check warning on line 97 in swing/src/main/java/org/almostrealism/swing/panels/ExtendedCellEditor.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Busy wait

Call to `Thread.sleep()` in a loop, probably busy-waiting

Check warning on line 54 in swing/src/main/java/org/almostrealism/swing/displays/ScrollingTextDisplay.java

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Number constructor call with primitive argument

Number constructor call with primitive argument

Check warning on line 55 in swing/src/main/java/org/almostrealism/swing/displays/ScrollingTextDisplay.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Catch block may ignore exception

Empty `catch` block

Check warning on line 76 in swing/src/main/java/org/almostrealism/swing/displays/ScrollingTextDisplay.java

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Redundant 'Collection.addAll()' call

'addAll()' call can be replaced with parametrized constructor call