Skip to content

Add two missing expand exclusions

Sign in for the full log view
GitHub Actions / Qodana for JVM completed Nov 10, 2024 in 0s

21882 new problems found by Qodana for JVM

Qodana for JVM

21882 new problems were found

Inspection name Severity Problems
Unchecked warning 🔶 Warning 10614
Unnecessary 'this' qualifier 🔶 Warning 4046
Deprecated API usage 🔶 Warning 1570
Auto-boxing 🔶 Warning 892
@NotNull/@Nullable problems 🔶 Warning 417
Lombok @Getter may be used 🔶 Warning 386
Statement with empty body 🔶 Warning 361
Field can be local 🔶 Warning 313
Nullability and data flow problems 🔶 Warning 186
Auto-unboxing 🔶 Warning 146
Lombok @Setter may be used 🔶 Warning 140
Unused assignment 🔶 Warning 132
Non-constant field with upper-case name 🔶 Warning 114
Javadoc declaration problems 🔶 Warning 104
Redundant local variable 🔶 Warning 103
Constant values 🔶 Warning 102
Questionable name 🔶 Warning 77
Possibly lossy implicit cast in compound assignment 🔶 Warning 46
Call to 'printStackTrace()' 🔶 Warning 36
Declaration has problems in Javadoc references 🔶 Warning 24
Result of method call ignored 🔶 Warning 18
Deprecated member is still used 🔶 Warning 14
'size() == 0' can be replaced with 'isEmpty()' 🔶 Warning 14
Dynamic regular expression can be replaced by compiled 'Pattern' 🔶 Warning 13
Link specified as plain text 🔶 Warning 13
Method is identical to its super method 🔶 Warning 13
Suspicious collection method call 🔶 Warning 13
'Set' can be replaced with 'EnumSet' 🔶 Warning 11
Integer division in floating-point context 🔶 Warning 9
Mismatched query and update of collection 🔶 Warning 9
'Map' can be replaced with 'EnumMap' 🔶 Warning 8
String concatenation as argument to 'StringBuilder.append()' call 🔶 Warning 8
Class is exposed outside of its visibility scope 🔶 Warning 7
Condition is covered by further condition 🔶 Warning 7
Octal integer 🔶 Warning 7
Suspicious variable/parameter name combination 🔶 Warning 7
Vulnerable imported dependency 🔶 Warning 7
Functional expression can be folded 🔶 Warning 6
Copy of existing static method body 🔶 Warning 6
Unused import 🔶 Warning 6
Unnecessary unary minus 🔶 Warning 6
Unstable API Usage 🔶 Warning 6
Bulk operation can be used instead of iteration 🔶 Warning 6
Catch block may ignore exception 🔶 Warning 5
Variable is assigned to itself 🔶 Warning 5
Stream API call chain can be simplified 🔶 Warning 5
Dangling Javadoc comment 🔶 Warning 4
Duplicate condition 🔶 Warning 4
Inner class may be 'static' 🔶 Warning 4
Manual min/max calculation 🔶 Warning 4
AutoCloseable used without 'try'-with-resources 🔶 Warning 3
Too weak variable type leads to unnecessary cast 🔶 Warning 3
Mismatched read and write of array 🔶 Warning 3
Value passed as parameter never read 🔶 Warning 3
String concatenation in loop 🔶 Warning 3
Local variable used and declared in different 'switch' branches 🔶 Warning 3
Unnecessary 'continue' statement 🔶 Warning 3
'default' not last case in 'switch' 🔶 Warning 2
Call math rounding with 'int' argument 🔶 Warning 2
Redundant operation on empty container 🔶 Warning 2
Redundant usage of unmodifiable collection wrappers 🔶 Warning 2
Method does not call super method 🔶 Warning 2
Caught exception is immediately rethrown 🔶 Warning 1
Redundant 'Collection.addAll()' call 🔶 Warning 1
'static' method declared 'final' 🔶 Warning 1
Call to 'toString()' on array 🔶 Warning 1
Method name same as class name 🔶 Warning 1
Redundant type cast 🔶 Warning 1
String comparison using '==', instead of 'equals()' 🔶 Warning 1
'String.equals()' can be replaced with 'String.isEmpty()' 🔶 Warning 1
Minimum 'switch' branches 🔶 Warning 1
Unary plus 🔶 Warning 1
Commented out code ◽️ Notice 1006
Duplicated code fragment ◽️ Notice 677
Non-distinguishable logging calls ◽️ Notice 35
Non-constant string concatenation as argument to logging call ◽️ Notice 17
'if' statement with identical branches or common parts ◽️ Notice 15
Constant values ◽️ Notice 14
Method can be extracted ◽️ Notice 12
Duplicate branches in 'switch' ◽️ Notice 6
Multiple occurrences of the same expression ◽️ Notice 4
Non-strict inequality '>=' or '<=' can be replaced with '==' ◽️ Notice 1

☁️ View the detailed Qodana report

Detected 18 dependencies

Third-party software list

This page lists the third-party software dependencies used in Modern Warfare Cubed

Dependency Version Licenses
commons-codec 1.10 Apache-2.0
commons-compress 1.8.1 Apache-2.0
commons-io 2.5 Apache-2.0
commons-lang3 3.5 Apache-2.0
commons-logging 1.1.3 Apache-2.0
groovyscript 1.2.0-hotfix1 MIT
httpclient 4.3.3 Apache-2.0
httpcore 4.3.2 Apache-2.0
CC-BY-2.5
icu4j-core-mojang 51.2 IBM-ICU
java-objc-bridge 1.0.0 Apache-2.0
jline 3.5.1 BSD-3-Clause
jopt-simple 5.0.3 MIT
log4j-api 2.17.1 Apache-2.0
log4j-core 2.17.1 Apache-2.0
lombok 1.18.32 BSD-3-CLAUSE-NO-TRADEMARK
MIT
maven-artifact 3.5.3 Apache-2.0
plexus-utils 3.1.0 Apache-2.0
vecmath 1.5.2 GPL-2.0-only
ORACLE-OPENJDK-EXCEPTION-2.0
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 40 in src/main/java/com/paneedah/mwc/items/guns/M1GarandFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.6f`

Check warning on line 206 in src/main/java/com/paneedah/weaponlib/animation/MultipartRenderStateManager.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `currentTime`

Check warning on line 1573 in src/main/java/com/paneedah/weaponlib/Weapon.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `zoom`

Check warning on line 217 in src/main/java/com/paneedah/weaponlib/EntityBounceable.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `motionY`

Check warning on line 569 in src/main/java/com/paneedah/weaponlib/ClientEventHandler.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `entityID`

Check warning on line 259 in src/main/java/com/paneedah/weaponlib/EntityBounceable.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `motionY`

Check warning on line 336 in src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `itemStack.getTagCompound().getSize()`

Check warning on line 34 in src/main/java/com/paneedah/weaponlib/animation/jim/SingleAnimation.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `time`

Check warning on line 44 in src/main/java/com/paneedah/mwc/items/guns/turretgunFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.1f`

Check warning on line 48 in src/main/java/com/paneedah/mwc/items/guns/P226Factory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.6f`

Check warning on line 131 in src/main/java/com/paneedah/weaponlib/crafting/base/GUIContainerStation.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `getPage() == 1`

Check warning on line 422 in src/main/java/com/paneedah/weaponlib/animation/DebugPositioner.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `m.m02`

Check warning on line 38 in src/main/java/com/paneedah/mwc/items/guns/M79Factory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.101f`

Check warning on line 41 in src/main/java/com/paneedah/mwc/items/guns/DP28Factory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.6f`

Check warning on line 88 in src/main/java/com/paneedah/weaponlib/EntityBounceable.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `this.motionX`

Check warning on line 28 in src/main/java/com/paneedah/weaponlib/vehicle/VehicleTransmissionStrategy.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0f`

Check warning on line 46 in src/main/java/com/paneedah/mwc/items/guns/HK_P12Factory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.1f`

Check warning on line 61 in src/main/java/com/paneedah/mwc/items/grenade/FuseGrenadeFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `-0.025f`

Check warning on line 371 in src/main/java/com/paneedah/weaponlib/animation/DebugPositioner.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `partPosition.xRotation`

Check warning on line 46 in src/main/java/com/paneedah/mwc/items/guns/M249Factory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.15f`

Check warning on line 41 in src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `10f`

Check warning on line 48 in src/main/java/com/paneedah/mwc/items/guns/KragJorgensenFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.08f`

Check warning on line 46 in src/main/java/com/paneedah/mwc/items/guns/KrissVectorFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.5f`

Check warning on line 271 in src/main/java/com/paneedah/weaponlib/sound/JSoundEngine.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `x`

Check warning on line 61 in src/main/java/com/paneedah/mwc/items/grenade/FuseGrenadeFactory.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `0.2f`