Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new RedCore import #527

Merged
merged 1 commit into from
Nov 11, 2024

io.redstudioragnarok -> dev.redstudio

1e5ca68
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Use new RedCore import #527

io.redstudioragnarok -> dev.redstudio
1e5ca68
Select commit
Loading
Failed to load commit list.
GitHub Actions / Qodana for JVM completed Nov 11, 2024 in 0s

21623 new problems found by Qodana for JVM

Qodana for JVM

21623 new problems were found

Inspection name Severity Problems
Unchecked warning πŸ”Ά Warning 10614
Unnecessary 'this' qualifier πŸ”Ά Warning 4020
Deprecated API usage πŸ”Ά Warning 1510
Auto-boxing πŸ”Ά Warning 892
@NotNull/@Nullable problems πŸ”Ά Warning 417
Statement with empty body πŸ”Ά Warning 361
Field can be local πŸ”Ά Warning 313
Lombok @Getter may be used πŸ”Ά Warning 276
Nullability and data flow problems πŸ”Ά Warning 183
Auto-unboxing πŸ”Ά Warning 146
Unused assignment πŸ”Ά Warning 126
Non-constant field with upper-case name πŸ”Ά Warning 114
Constant values πŸ”Ά Warning 108
Javadoc declaration problems πŸ”Ά Warning 103
Redundant local variable πŸ”Ά Warning 101
Lombok @Setter may be used πŸ”Ά Warning 89
Questionable name πŸ”Ά Warning 76
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 33
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
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]

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 342 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.zRotation`

Check warning on line 293 in src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `timestamp`

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 321 in src/main/java/com/paneedah/weaponlib/command/DebugCommand.java

See this annotation in the file changed.

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

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 66 in src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java

See this annotation in the file changed.

@github-actions github-actions / Qodana for JVM

Auto-boxing

Auto-boxing `time`

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 207 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 `existingcount + stack.getCount()`

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`