Render Clean #617
Render Clean #617
CodeScene PR Check
Quality Gate Failed
Code Health Improved
(1 files improve in Code Health)
Gates Failed
Enforce advisory code health rules
(1 file with Overall Code Complexity)
Gates Passed
3 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
| Enforce advisory code health rules | Violations | Code Health Impact | |
|---|---|---|---|
| WeaponAttachmentAspect.java | 1 advisory rule | 6.94 โ 6.54 | Suppress |
View Improvements
| File | Code Health Impact | Categories Improved |
|---|---|---|
| RecoilParam.java | 9.39 โ 9.69 | Primitive Obsession |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
Details
๐ฉ Declining Code Health (highest to lowest):
- Overall Code Complexity WeaponAttachmentAspect.java
โ Improving Code Health:
- Primitive Obsession RecoilParam.java
Annotations
Check notice on line 1 in src/main/java/com/paneedah/weaponlib/compatibility/RecoilParam.java
codescene-delta-analysis / CodeScene Code Health Review (next)
โ No longer an issue: Primitive Obsession
The ratio of primivite types in function arguments is no longer above the threshold
Check warning on line 1 in src/main/java/com/paneedah/weaponlib/WeaponAttachmentAspect.java
codescene-delta-analysis / CodeScene Code Health Review (next)
โ New issue: Overall Code Complexity
This module has a mean cyclomatic complexity of 4.06 across 35 functions. The mean complexity threshold is 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.