Lombokify #524
Lombokify #524
20578 new problems found by Qodana for JVM
Qodana for JVM
20578 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unchecked warning |
๐ถ Warning | 10585 |
Unnecessary 'this' qualifier |
๐ถ Warning | 2489 |
Deprecated API usage |
๐ถ Warning | 1489 |
Auto-boxing |
๐ถ Warning | 731 |
Statement with empty body |
๐ถ Warning | 361 |
Field can be local |
๐ถ Warning | 313 |
Lombok @Getter may be used |
๐ถ Warning | 276 |
Unused assignment |
๐ถ Warning | 128 |
Auto-unboxing |
๐ถ Warning | 125 |
Nullability and data flow problems |
๐ถ Warning | 124 |
Non-constant field with upper-case name |
๐ถ Warning | 114 |
Redundant local variable |
๐ถ Warning | 101 |
Javadoc declaration problems |
๐ถ Warning | 99 |
Lombok @Setter may be used |
๐ถ Warning | 89 |
Questionable name |
๐ถ Warning | 76 |
Constant values |
๐ถ Warning | 68 |
Call to 'printStackTrace()' |
๐ถ Warning | 36 |
Declaration has problems in Javadoc references |
๐ถ Warning | 27 |
Possibly lossy implicit cast in compound assignment |
๐ถ Warning | 27 |
Result of method call ignored |
๐ถ Warning | 18 |
Deprecated member is still used |
๐ถ Warning | 14 |
Dynamic regular expression can be replaced by compiled 'Pattern' |
๐ถ Warning | 13 |
Link specified as plain text |
๐ถ Warning | 13 |
Condition is covered by further condition |
๐ถ Warning | 12 |
Mismatched query and update of collection |
๐ถ Warning | 11 |
'Set' can be replaced with 'EnumSet' |
๐ถ Warning | 11 |
'size() == 0' can be replaced with 'isEmpty()' |
๐ถ Warning | 11 |
String concatenation as argument to 'StringBuilder.append()' call |
๐ถ Warning | 8 |
Class is exposed outside of its visibility scope |
๐ถ Warning | 7 |
'Map' can be replaced with 'EnumMap' |
๐ถ Warning | 7 |
Octal integer |
๐ถ Warning | 7 |
Suspicious collection method call |
๐ถ Warning | 7 |
Vulnerable imported dependency |
๐ถ Warning | 7 |
Functional expression can be folded |
๐ถ 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 |
Inner class may be 'static' |
๐ถ Warning | 4 |
Integer division in floating-point context |
๐ถ Warning | 4 |
Copy of existing static method body |
๐ถ Warning | 4 |
Manual min/max calculation |
๐ถ Warning | 4 |
AutoCloseable used without 'try'-with-resources |
๐ถ Warning | 3 |
Mismatched read and write of array |
๐ถ Warning | 3 |
Value passed as parameter never read |
๐ถ Warning | 3 |
Method is identical to its super method |
๐ถ 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 |
Duplicate condition |
๐ถ Warning | 2 |
Call math rounding with 'int' argument |
๐ถ Warning | 2 |
@NotNull/@Nullable problems |
๐ถ Warning | 2 |
Redundant type cast |
๐ถ 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 |
Call to 'Arrays.asList()' with too few arguments |
๐ถ Warning | 1 |
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 |
Infinite recursion |
๐ถ Warning | 1 |
Method name same as class name |
๐ถ Warning | 1 |
'protected' member in 'final' class |
๐ถ Warning | 1 |
String comparison using '==', instead of 'equals()' |
๐ถ Warning | 1 |
'String.equals()' can be replaced with 'String.isEmpty()' |
๐ถ Warning | 1 |
Suspicious variable/parameter name combination |
๐ถ Warning | 1 |
Minimum 'switch' branches |
๐ถ Warning | 1 |
Unary plus |
๐ถ Warning | 1 |
Constant values |
โฝ๏ธ Notice | 1351 |
Commented out code |
โฝ๏ธ Notice | 1005 |
Duplicated code fragment |
โฝ๏ธ Notice | 679 |
'if' statement with identical branches or common parts |
โฝ๏ธ Notice | 9 |
Method can be extracted |
โฝ๏ธ Notice | 7 |
Multiple occurrences of the same expression |
โฝ๏ธ Notice | 4 |
Duplicate branches in 'switch' |
โฝ๏ธ Notice | 3 |
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]
- 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 225 in src/main/java/com/paneedah/weaponlib/CommonEventHandler.java
github-actions / Qodana for JVM
Call to 'Arrays.asList()' with too few arguments
Call to `asList()` with only one argument
Check warning on line 40 in src/main/java/com/paneedah/mwc/items/guns/M1GarandFactory.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.6f`
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `currentTime`
Check warning on line 342 in src/main/java/com/paneedah/weaponlib/animation/DebugPositioner.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `partPosition.zRotation`
Check warning on line 293 in src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `timestamp`
Check warning on line 569 in src/main/java/com/paneedah/weaponlib/ClientEventHandler.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `entityID`
Check warning on line 34 in src/main/java/com/paneedah/weaponlib/animation/jim/SingleAnimation.java
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
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
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.6f`
Check warning on line 321 in src/main/java/com/paneedah/weaponlib/command/DebugCommand.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `false`
Check warning on line 38 in src/main/java/com/paneedah/mwc/items/guns/M79Factory.java
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
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.6f`
Check warning on line 66 in src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `time`
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
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
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `-0.025f`
Check warning on line 46 in src/main/java/com/paneedah/mwc/items/guns/M249Factory.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.15f`
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
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
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
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
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.2f`
Check warning on line 42 in src/main/java/com/paneedah/mwc/items/grenade/SmokeGrenadeFactory.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.06f`
Check warning on line 45 in src/main/java/com/paneedah/mwc/items/guns/G3Factory.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.6f`
Check warning on line 45 in src/main/java/com/paneedah/mwc/items/guns/M32MGLFactory.java
github-actions / Qodana for JVM
Auto-boxing
Auto-boxing `0.101f`