Skip to content

Rewrite Transform

Rewrite Transform #203

Triggered via push November 11, 2024 07:51
Status Success
Total duration 24m 11s
Artifacts

code_quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1000 warnings
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L336
Auto-boxing `itemStack.getTagCompound().getSize()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/crafting/base/GUIContainerStation.java#L207
Auto-boxing `existingcount + stack.getCount()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L93
Auto-boxing `DEFAULT_GRAVITY_VELOCITY`
Auto-boxing: src/main/java/com/paneedah/weaponlib/perspective/PerspectiveRenderer.java#L30
Auto-boxing `textureObject.getGlTextureId()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/EntityVehicle.java#L116
Auto-boxing `!getSolver().isDrifting`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L43
Auto-boxing `vignetteEnabled ? 1.0f : 0.0f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntityBounceable.java#L211
Auto-boxing `movingobjectposition.hitVec.x`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L57
Auto-boxing `40f - MC.gameSettings.gammaSetting * 38`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L52
Auto-boxing `hasOpticScope() ? 10f : 5f`
Auto-boxing: src/main/java/com/paneedah/mwc/handlers/DebugHandler.java#L30
Auto-boxing `EquipmentModelPools.getSize()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L135
Auto-boxing `initialConcentration`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1479
Auto-boxing `Math.round(ratio * 100)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L37
Auto-boxing `nightVisionEnabled ? 1.0f : 0.0f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/crafting/ammopress/GUIContainerAmmoPress.java#L206
Auto-boxing `getCurrentAmountInQuantityBox() * TileEntityAmmoPress.BULLETS_CRAFTED_PER_PRESS`
Auto-boxing: src/main/java/com/paneedah/mwc/handlers/DebugHandler.java#L31
Auto-boxing `EquipmentModelPools.getEquippedSize()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleRendererBuilder.java#L34
Auto-boxing `((EntityVehicle) context.getEntity()).getInterpolatedYawDelta()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1505
Auto-boxing `Math.round(ratio * 100)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenade.java#L202
Auto-boxing `damageDistanceReductionFactor`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L146
Auto-boxing `lastTime + (timePerTransiton * x - totalPauseTime)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L254
Auto-boxing `initialConcentration`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleRendererBuilder.java#L37
Auto-boxing `(float) ((EntityVehicle) context.getEntity()).getInterpolatedWheelRotation()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntityBounceable.java#L475
Auto-boxing `this.rotationPitch`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L603
Auto-boxing `(weaponInstance.getRecoil())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/SpreadableExposure.java#L90
Auto-boxing `dose * Math.min(0.2f, 0.2f / totalDose)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L601
Auto-boxing `(BalancePackManager.getNetGunDamage(weapon))`
Auto-boxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleWorldRenderer.java#L1065
Auto-boxing `scaledresolution.getScaleFactor()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerItemInstanceRegistry.java#L125
Auto-boxing `extendedStateToMerge.getItemInventoryIndex()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntityBounceable.java#L87
Auto-boxing `this.rotationPitch`
Auto-boxing: src/main/java/com/paneedah/mwc/network/handlers/EntityPickupMessageHandler.java#L28
Auto-boxing `((EntityCustomMob) targetEntity).getConfiguration().getPickupItemID()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/perspective/WirelessCameraPerspective.java#L79
Auto-boxing `1f - ((float) (entityPlayer.world.getWorldTime() - te.getStartTimestamp()) / te....`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L62
Auto-boxing `DEFAULT_PREPARE_STUB_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L374
Auto-boxing `this.globalRecoilMultiplier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L572
Auto-boxing `System.currentTimeMillis()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1308
Auto-boxing `itemStack.getTagCompound().getSize()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L149
Auto-boxing `lastTime + (timePerTransiton * x)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/MultipartRenderStateManager.java#L225
Auto-boxing `multipartTransition.getDuration()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntityBounceable.java#L213
Auto-boxing `movingobjectposition.hitVec.z`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L53
Auto-boxing `getAimChangeProgress()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleWorldRenderer.java#L1065
Auto-boxing `scaledresolution.getScaledWidth()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L108
Auto-boxing `DEFAULT_ROTATION_SLOWDOWN_FACTOR`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L92
Auto-boxing `DEFAULT_FAR_VELOCITY`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L64
Auto-boxing `DEFAULT_ATTACK_COOLDOWN_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L49
Auto-boxing `2f + 3f * MC.gameSettings.gammaSetting`
Auto-boxing: src/main/java/com/paneedah/weaponlib/WeaponRenderer.java#L5192
Auto-boxing `(isLegSlot(slot) ? 2 : 1)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L57
Auto-boxing `0.3f * (float) Math.sin(alphaRadians > Math.PI ? Math.PI : alphaRadians)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L375
Auto-boxing `this.globalHipFireSpread`
Auto-boxing: src/main/java/com/paneedah/weaponlib/SyncManager.java#L45
Auto-boxing `watchableInstance.getUpdateId()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleWorldRenderer.java#L1065
Auto-boxing `scaledresolution.getScaledHeight()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntityBounceable.java#L212
Auto-boxing `movingobjectposition.hitVec.y`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L61
Auto-boxing `DEFAULT_PREPARE_STUB_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/DebugPositioner.java#L199
Auto-boxing `Boolean.getBoolean(WEAPONLIB_DEBUG_PROPERTY)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L153
Auto-boxing `lastTime + (timePerTransiton * x + totalPauseTime)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/WeaponRenderer.java#L3777
Auto-boxing `framebuffer.framebufferTexture`
Auto-boxing: src/main/java/com/paneedah/weaponlib/perspective/WirelessCameraPerspective.java#L101
Auto-boxing `Math.sqrt(Math.pow(watchableEntity.posX - FMLClientHandler.instance().getClientPlayerEntity().posX, ...`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L348
Auto-boxing `categoricalArray.size()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L769
Auto-boxing `speedModifier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/sound/JSoundEngine.java#L214
Auto-boxing `volumesMap.get(i) - 0.05f`
Auto-boxing: src/main/java/com/paneedah/mwc/handlers/DebugHandler.java#L32
Auto-boxing `EquipmentModelPools.getEquippedArmorSize()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/MeleeAttackAspect.java#L200
Auto-boxing `instance.getWeapon().getDamage(isHeavyAttack)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L65
Auto-boxing `DEFAULT_HEAVY_ATTACK_COOLDOWN_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/CustomArmor.java#L651
Auto-boxing `dose * (1f - exposureReductionFactor)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L373
Auto-boxing `this.globalDamageMultiplier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L62
Auto-boxing `0.3f * (float) Math.sin(alphaRadians > Math.PI ? Math.PI : alphaRadians)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/SyncManager.java#L59
Auto-boxing `watchable.getUpdateId()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L608
Auto-boxing `(weaponInstance.getInaccuracy())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L904
Auto-boxing `Integer.MAX_VALUE`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1483
Auto-boxing `instance.getZoom()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleTransmissionStrategy.java#L26
Auto-boxing `(float) Math.log10((0.01 + gear.strategy.speed - gear.minSpeed) * 20) * 0.9f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L62
Auto-boxing `getOpticScopeVignetteRadius(context.getPartialTicks())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L48
Auto-boxing `40f - MC.gameSettings.gammaSetting * 38`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L58
Auto-boxing `2f + 3f * MC.gameSettings.gammaSetting`
Auto-boxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L569
Auto-boxing `System.currentTimeMillis()`
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L103
'BufferedReader' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L39
'BufferedReader' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L74
'BufferedReader' used without 'try'-with-resources statement
Auto-unboxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1394
Auto-unboxing `maxShotsList.get(0)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/KeyedAnimation.java#L64
Auto-unboxing `bbMap.floorEntry(time).getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L324
Auto-unboxing `weapon.builder.flashOffsetY.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/ClientValueRepo.java#L123
Auto-unboxing `screenShakeParam.getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L501
Auto-unboxing `builder.velocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L246
Auto-unboxing `keyList.ceilingKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L434
Auto-unboxing `builder.attackCooldownTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/CommonModContext.java#L573
Auto-unboxing `existingEntry.get().getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L43
Auto-unboxing `renderer.getXRotationCenterOffset().get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L260
Auto-unboxing `spreadMap.getOrDefault(blockPos, 0f)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L560
Auto-unboxing `muzzleFlashMap.get(entityID).peek()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L44
Auto-unboxing `renderer.getYRotationCenterOffset().get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1354
Auto-unboxing `builder.maxShots.get(0)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L505
Auto-unboxing `builder.farVelocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/CommonModContext.java#L590
Auto-unboxing `existingEntry.get().getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/HierarchicalPartRenderer.java#L68
Auto-unboxing `currentProgressProvider.apply(context)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L204
Auto-unboxing `spreadMap.getOrDefault(entityPos, 0f)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L115
Auto-unboxing `behavior.scaleUpdateFunction.apply(particleScale, particleAge, particleMaxAge)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L167
Auto-unboxing `realTimeTransitions.get(x).getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L113
Auto-unboxing `behavior.alphaUpdateFunction.apply(particleAlpha, particleAge, particleMaxAge)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L168
Auto-unboxing `realTimeTransitions.get(x + 1).getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L323
Auto-unboxing `weapon.builder.flashOffsetX.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/jimphysics/Engine.java#L59
Auto-unboxing `torqueCurve.get(firstBound)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L50
Auto-unboxing `arrayList.get(arrayList.size() - 1)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L318
Auto-unboxing `currentConcentration`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/jimphysics/Engine.java#L60
Auto-unboxing `torqueCurve.get(secondBound)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L509
Auto-unboxing `builder.gravityVelocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/ai/EntityConfiguration.java#L423
Auto-unboxing `entityIdSupplier.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleDataManager.java#L35
Auto-unboxing `(Boolean) dataManager.get(key)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/SingleAnimation.java#L91
Auto-unboxing `getTimestamps().get(t - 1)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleDataManager.java#L31
Auto-unboxing `(Integer) dataManager.get(key)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L513
Auto-unboxing `builder.rotationSlowdownFactor.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L426
Auto-unboxing `builder.prepareStubTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L296
Auto-unboxing `keyList.ceilingKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/ClientValueRepo.java#L127
Auto-unboxing `screenShakeParam.getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L322
Auto-unboxing `weapon.builder.flashScale.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L45
Auto-unboxing `renderer.getZRotationCenterOffset().get()`