{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"EPCollider.collide (cyclomatic 51): EPCollider.collide has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff110d9712a251c6ab406812799f812171fe7da07322779683a3c74d3a8e81e9"}},{"ruleId":"D1","level":"warning","message":{"text":"World.solveTOI (cyclomatic 44): World.solveTOI has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44068b840f26ff7c89aac5f68f1942a5a6d0d5b86886c12d7a502704bc3e31b"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.solveZombie (cyclomatic 33): ParticleSystem.solveZombie has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"731306d74964a646fdec5927dcddb6e4bc0155f42ee4f136e0e7916b572605be"}},{"ruleId":"D1","level":"warning","message":{"text":"MDIWindow.initMovableWindow (cyclomatic 29): MDIWindow.initMovableWindow has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c257f73635dad20f46755476658977bc865717391f729368a50a3c7fa54f0"}},{"ruleId":"D1","level":"warning","message":{"text":"World.solve (cyclomatic 27): World.solve has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5297b4537572f7f0d8129fdd719f59e51cbfadbee5109d334f896065bc6a99"}},{"ruleId":"D1","level":"warning","message":{"text":"VoronoiDiagram.generate (cyclomatic 24): VoronoiDiagram.generate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafbcd7a959b5c5b88feb9446eb3bf9ed56cd2875a68341865ad95b485108c35"}},{"ruleId":"D1","level":"warning","message":{"text":"PolygonShape.setImpl (cyclomatic 23): PolygonShape.setImpl has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/PolygonShape.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e24114fe4d9bd39a8a25a65f561e2cb8249d9b6b40ff97652f4e27071da5942"}},{"ruleId":"D1","level":"warning","message":{"text":"Island.solve (cyclomatic 23): Island.solve has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7b0931bfc7279d241d6d2628fbeb778b12aa4c9a0a570f2fbe6ebf2e1e2ff8"}},{"ruleId":"D1","level":"warning","message":{"text":"TilesetLoader.loadViewHex (cyclomatic 23): TilesetLoader.loadViewHex has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4032d88e09fc6299ff081224cea0e0678bffee6db79e678acdbf53ee7fd741"}},{"ruleId":"D1","level":"warning","message":{"text":"AStarPathfinder.findPath (cyclomatic 22): AStarPathfinder.findPath has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/pathfinding/astar/AStarPathfinder.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0731efcc87e8bc525fd95fc26c0b069f59367ae8445cea48c320632409c81cee"}},{"ruleId":"D1","level":"warning","message":{"text":"TMXLevelLoader.parse (cyclomatic 22): TMXLevelLoader.parse has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TMXLevelLoader.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f081b6410c7ae79bc338c4ef237123859d36cf0d95c5787e2fe964752167f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.createParticleGroup (cyclomatic 19): ParticleSystem.createParticleGroup has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e652a9770af7fd022d4052757cb97442e4b8717c4041471d646479436066173"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.solve (cyclomatic 19): ParticleSystem.solve has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9757df5fdd047620a9116fbd3f081649a8fc705465f8ced163e3eeaf05accd0"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTree.raycast (cyclomatic 17): DynamicTree.raycast has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f377b858491b67d432c809787f5963f75603d111ef835a4e3c11f090b3e5e4ae"}},{"ruleId":"D1","level":"warning","message":{"text":"TimeOfImpact.timeOfImpact (cyclomatic 17): TimeOfImpact.timeOfImpact has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/TimeOfImpact.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c3dd02f7a5315c1903cfe9f48db1fdf912ee6deef38fb7f1416de35bfc5533"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactManager.addPair (cyclomatic 17): ContactManager.addPair has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/ContactManager.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b4d1adc7fe1191f41df2a7017949652009cb855342b9710dd2f1bdf1701549"}},{"ruleId":"D1","level":"warning","message":{"text":"Prism.createMesh (cyclomatic 17): Prism.createMesh has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Prism.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4c8680f70ee605207c3767ac91573b30aed1a88cfaddea844995ff38474f63"}},{"ruleId":"D1","level":"warning","message":{"text":"ContactSolver.solveVelocityConstraints (cyclomatic 16): ContactSolver.solveVelocityConstraints has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"715d56cff600fbcb5ba25e4572d99ac8a359340c44918d179ed1d28e5400c1a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystem.computeDepthForGroup (cyclomatic 16): ParticleSystem.computeDepthForGroup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"67242cdcb754f67d9e4bd082af6d4bdaae14363605fa8650f60d74aafb12fdb6"}},{"ruleId":"D2","level":"warning","message":{"text":"World.solveTOI (cognitive 120): World.solveTOI has cognitive complexity 120 (threshold 15). Drivers by points: if/else 27 (95 pts), loops 6 (13 pts), boolean chains 12 (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2eaeb1dc60b72499eb8828d8721fdd41e1c5e48450b963ab7771702a5740bb"}},{"ruleId":"D2","level":"warning","message":{"text":"EPCollider.collide (cognitive 97): EPCollider.collide has cognitive complexity 97 (threshold 15). Drivers by points: if/else 50 (76 pts), boolean chains 13, loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d0a7b96ee1e53d297c2d98da12e2370d83f38ff3f23cace038b6177d45813"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiDiagram.generate (cognitive 67): VoronoiDiagram.generate has cognitive complexity 67 (threshold 15). Drivers by points: if/else 14 (51 pts), loops 9 (16 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9a90e4204d7f265a1ec70589640ec9e8a3cd7164bc12ff2a87cc025ca09e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solveZombie (cognitive 63): ParticleSystem.solveZombie has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (46 pts), loops 14 (15 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"30574581e1f12713fe7e0d80b616c9d2eb03ad7725f10ab9cc1aca03d5b218f7"}},{"ruleId":"D2","level":"warning","message":{"text":"World.solve (cognitive 59): World.solve has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (42 pts), loops 9 (14 pts), boolean chains 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a423575c64b0ef006512f252c557eb3faaee16490b8234dc5998906cfc8fc8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TilesetLoader.loadViewHex (cognitive 58): TilesetLoader.loadViewHex has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (47 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d1eac162a5286add66a262639944b03bfd1f30964c3cb5952b673f0bcb0ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"AStarPathfinder.findPath (cognitive 50): AStarPathfinder.findPath has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 5 (9 pts), ternaries 3 (9 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/pathfinding/astar/AStarPathfinder.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f90b011ee2af343094adacd4c1a62715e1ae63721ae1e0f29362a39795d15a3"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeOfImpact.timeOfImpact (cognitive 47): TimeOfImpact.timeOfImpact has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 3 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/TimeOfImpact.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82f3fe986e2c8f2ceacdf5438f76a9a100d7af17d294626e18c2f6e757195cc"}},{"ruleId":"D2","level":"warning","message":{"text":"MDIWindow.initMovableWindow (cognitive 42): MDIWindow.initMovableWindow has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 10 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d87faccbf0399b341fe86d183788142f62980659af24a1fc882085cc953d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.createParticleGroup (cognitive 41): ParticleSystem.createParticleGroup has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 6 (12 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ee0a8ef5559838c4a050e9847e535e9174ad94a1fcb85eabf0ecdd9a8fa3b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.raycast (cognitive 39): DynamicTree.raycast has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 8 (18 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515a80c69904bbf72ef6b120a5794cfa01649ab23837585179a62ea1496eb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"PolygonShape.setImpl (cognitive 37): PolygonShape.setImpl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 7 (9 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/PolygonShape.java"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"831e82591452648b1697255e0ea46a827b4f534e34c1455c847679c91c97afec"}},{"ruleId":"D2","level":"warning","message":{"text":"Island.solve (cognitive 36): Island.solve has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 10 (15 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d39288ad6e507179cb522af0ff68b3db4bcce7e8bfacf85d63523aefbb6bea0"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactSolver.solveVelocityConstraints (cognitive 34): ContactSolver.solveVelocityConstraints has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 6, loops 3 (6 pts), ternaries 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf1ad2223b9d1be2a12f5fc8530676d75dda98e00700462974d061f8e63e591"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateBodyContactsCallback.reportFixture (cognitive 30): UpdateBodyContactsCallback.reportFixture has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 4 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e627ae96661bfec4a1a280621a3e2a6e71a7e461303e0f25ef3c5f9abe9134"}},{"ruleId":"D2","level":"warning","message":{"text":"Prism.createMesh (cognitive 30): Prism.createMesh has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 9 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Prism.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7436777fc8efb17b608156ee553771aed1280f4323602b4ed2b56a3ea2a9123"}},{"ruleId":"D2","level":"warning","message":{"text":"Torus.createMesh (cognitive 30): Torus.createMesh has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Torus.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"09af2182c0757261437ad26889ebe2e3d6c1c20101245c16775e8387806f1789"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.computeDepthForGroup (cognitive 29): ParticleSystem.computeDepthForGroup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (7 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6eaa4c15e2df2f004ddd664fd9f0fb6a80a4e184c0c4412211e6b6fc5cfe9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.joinParticleGroups (cognitive 28): ParticleSystem.joinParticleGroups has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (6 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"35306c6b222d6bdb4a48a6cd61667f3a42962ee0a3f7b8c36d431262ab65c395"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.balance (cognitive 24): DynamicTree.balance has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f17bfa1cdd7d6ea87c85c3b56f3fc85cc46797c8ead489516e5d319516f15e"}},{"ruleId":"D2","level":"warning","message":{"text":"AABB.raycast (cognitive 24): AABB.raycast has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/AABB.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb782fd38aaaf28111eaa27363d5089ae361bf56239741c0ac8745e2a7ea479"}},{"ruleId":"D2","level":"warning","message":{"text":"Contact.update (cognitive 23): Contact.update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/Contact.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f8794a98084435fe1d9fd2e478c4a8de591e91e68f4c03598f993124f87e79"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.updateContacts (cognitive 23): ParticleSystem.updateContacts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 6 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c28a4bbe8738739e6a43702fb4f3b21bd6a5c5705a61f623cd102d3666f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Distance.distance (cognitive 22): Distance.distance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Distance.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf25734f3c15bcc8e82a04ed35abf0e661c4ed790520c9dbbb00d8db569eed4"}},{"ruleId":"D2","level":"warning","message":{"text":"DFSPathfinder.findPath (cognitive 22): DFSPathfinder.findPath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/pathfinding/dfs/DFSPathfinder.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed28771e56a5f257c017e7ed73c6409cdcd2ec6797d17c796d03c71f325c1181"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactManager.addPair (cognitive 21): ContactManager.addPair has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/ContactManager.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"656fa97b0111c3c16661cde57136cab7c053fe9a09852dff1466690300979e72"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solve (cognitive 21): ParticleSystem.solve has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), loops 4, ternaries 1 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdda58850bbea910938117eca8a3760c06e4b0294764e155c366197d6d246b6"}},{"ruleId":"D2","level":"warning","message":{"text":"TMXLevelLoader.parse (cognitive 21): TMXLevelLoader.parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TMXLevelLoader.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5bf407f12ca41f417036dac084f4b91d4330ecaaa3ff72495442e77420daa3"}},{"ruleId":"D2","level":"warning","message":{"text":"Array.removeAll (cognitive 20): Array.removeAll has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5fd0bf0e4e2ab5b18f1686e1adb0bbb42fe48ee3dda19c380474077a20bbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.insertLeaf (cognitive 20): DynamicTree.insertLeaf has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"433cc9bb09b401e43abe19e3ea1adab20f196817a620c79a7772608b26737746"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinParticleGroupsCallback.callback (cognitive 20): JoinParticleGroupsCallback.callback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 4 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56226e1c4b795a1aaa17351883234cd82ff749095ab7ea216fb47068eb38a41"}},{"ruleId":"D2","level":"warning","message":{"text":"RevoluteJoint.initVelocityConstraints (cognitive 19): RevoluteJoint.initVelocityConstraints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d33f7f776be51c4a8a16aff404bbb0b749cca25fc44cdc244166b40f9c9949"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.raycast (cognitive 19): ParticleSystem.raycast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e393f62ba68c4b07f615a51009da305d1eeadd5bbd635a9802b89a60177130"}},{"ruleId":"D2","level":"warning","message":{"text":"Animation.onUpdate (cognitive 19): Animation.onUpdate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/animation/Animation.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edb2c05507f20207ae6b9ae322f3ca56033dc5e5ca1f0e6e04cb0c556006e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Collision.collideEdgeAndCircle (cognitive 18): Collision.collideEdgeAndCircle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2854671affa4350fa678903c417b542b30c99e59aab5cad3bb2f7b56bc514"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactSolver.initializeVelocityConstraints (cognitive 18): ContactSolver.initializeVelocityConstraints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7330f36ec558eb082f8d7756e327e7c3e8307d4930252ff404560ac030844a69"}},{"ruleId":"D2","level":"warning","message":{"text":"PrismaticJoint.initVelocityConstraints (cognitive 18): PrismaticJoint.initVelocityConstraints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (18 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9cbb0db88774b83a1cb23ba289e00bc007cb7510c72ba87b3747a56fed44d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Island.init (cognitive 18): Island.init has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 5, if/else 5, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"52709a3fbfe4e865ad5dda673aea051495ca980ee15e0478f4e6cc6ca0c2c0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTree.query (cognitive 17): DynamicTree.query has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f805a069bf39cbc0689c038d9791095a275926bb999bb35798a51bb91519c1"}},{"ruleId":"D2","level":"warning","message":{"text":"RevoluteJoint.solveVelocityConstraints (cognitive 17): RevoluteJoint.solveVelocityConstraints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b8ed1f0817ac418fcee9a8783424d2e01f71a043bee0bbf43f1e4b7260ed15"}},{"ruleId":"D2","level":"warning","message":{"text":"WheelJoint.initVelocityConstraints (cognitive 17): WheelJoint.initVelocityConstraints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b80a5ba895cabb72e9862beddd533dface17e990e1a11b82c5915042bca9d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ContactManager.collide (cognitive 17): ContactManager.collide has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/ContactManager.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fe9f23083285b0d84d73e125de1b0400daad554b010f82d5b7542945157993"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystem.solveCollision (cognitive 17): ParticleSystem.solveCollision has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ed5ef2b49e38e4b92a3d25e32158e727e68162c6231e7de3e471823ec3fa59"}},{"ruleId":"D2","level":"warning","message":{"text":"SimplexNoise.noise3D (cognitive 16): SimplexNoise.noise3D has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15 (16 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/math/SimplexNoise.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa48b1ebe276a40afb2637e000da38f915590d5610017056b59850327fc6a0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Collision.collidePolygonAndCircle (cognitive 16): Collision.collidePolygonAndCircle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e0c4003e124d3840fdc38efcb4d5dac13ff06231d35041d29b5c350d281ad"}},{"ruleId":"D2","level":"warning","message":{"text":"VoronoiDiagram.getNodes (cognitive 16): VoronoiDiagram.getNodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d7abadfd9d529cda62d0eec7fbd4310c4c22934a1b8f42547e6a7dd2d211a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsWorld.checkCollisionsInGroup (cognitive 16): PhysicsWorld.checkCollisionsInGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74281ab38bdccb12a7f3e3a6351b3571493d47e88153a3a21509901ff5a5931"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockCollisionComponent.applyVelocityManually (cognitive 16): BlockCollisionComponent.applyVelocityManually has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/circlegame/BlockCollisionComponent.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3114bbd6f89d13a0fd2ace3c40d3027d2044a701da2f99325dc13a50822fbe34"}},{"ruleId":"D2","level":"warning","message":{"text":"AASubdivision.divide (cognitive 16): AASubdivision.divide has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/view/AASubdivision.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd7db5c8a49c5a9a1c7a3b172b5087312f1000c96488722ef7e01fac7b18f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Companion: TooManyMethods \u2014 160 methods. The bar is 30 methods; this is 130 over it, 5.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc561596fca3922e3296f0fe4f473ad8b7f77919afd807b33229894c8e572ac8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Entity: TooManyMethods \u2014 128 methods. The bar is 30 methods; this is 98 over it, 4.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/entity/Entity.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9c6c8be74b6e8431159ccbbff015db71e432822809af1d193a109640102b88"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParticleSystem: ClassTooLong \u2014 1578 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 400 significant lines; this is 1178 over it, 3.95\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4017947db0fce22fbc89117b334a38fb6eed6b3f260fb4bc2a6b5129fa542dd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: particle/ParticleSystem.java: FileTooLong \u2014 1599 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ParticleSystem (32-2182). The bar is 500 significant lines; this is 1099 over it, 3.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fe54da612d0fb124752b9e10f6d47c855a9b222d80f57bf5e7f36ff51d3f33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EPCollider.collide: MethodTooLong \u2014 collide runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ab03a0f81fe7b0d93ef22faffcfbbc6bbfb228640c30d80427b665490cf8f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Body: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Body.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4a6f3922e0b6abd261ef4b9bfbcb87240acd0f4fbd4d6772cf9f1059c00451"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: World: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f548a45666eeb4838ec8183a291baaee2141203c76cea71c035ea5837de8dc25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParticleSystem: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2b3d8aae196cdadcbaa57a9b76bde4f535d88b2ed2d5a001927e949bd35d3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Input: TooManyMethods \u2014 71 methods. The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/input/Input.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cfdd95e243abbdf961cea5d6a1c9eb5ac0a071b4e316d7dabf6752b39b1d69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec2: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/math/Vec2.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"548df4050ea1719cab475b5440ddd03cf0ae038765ae8ce95322bf87c4ed8aad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Collision: ClassTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 411 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed13caa9f4beadbbe84dddf5ada345fcabf229911349e360cc62194a4ba179ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Array: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb287cdc241a3aadad42948a6f41acf4047c9aa9b3dbdcf829689815321249"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransformComponent: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/components/TransformComponent.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63819079ff7fb1c8618af1563850c80d8d54c5254cec8cec8cecaf7a737907c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParticleEmitter: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/particle/ParticleEmitter.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f39489f60a89cd95a1f55662d495a83786187913028400e06daef1113fb0f28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhysicsWorld: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccfb17a1b143154f9372b9b4ada3689152da2552904251e2fe210b365f0e9a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FXGLMath: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/math/FXGLMath.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6111ec2ff7aaed24a0d9464476bcee62e695b98786f628d6eade795468b00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: collision/Collision.java: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Collision (25-1288). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e551d2a43e2ac9dd426828cb7e66d0187b0fa3a30728be717674df6918e1c53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactSolver.solveVelocityConstraints: MethodTooLong \u2014 solveVelocityConstraints runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81a1dc4c19aa18190dcae76bdb0d4824acf9b2b1d89bc908640cbe6392fb3d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: World.solveTOI: MethodTooLong \u2014 solveTOI runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed0b08cfb8e4233c83f7f5f2aba2c6fb23ef2fe1eb3b088bb4ca0b19077098"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EntityBuilder: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dsl/EntityBuilder.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f206d5087a0c57f47307d07a51a69657f7f06b23d77f14b095bc04c0f920a09"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PropertyMap: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/core/collection/PropertyMap.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7b8a85dce458e8abc410f2718b35cdd40e92afd77904a9e2046f7d10410809"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BoundingBoxComponent: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/components/BoundingBoxComponent.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7db47f563524a304197d4cf497083bc7619ae78e51ee5cb426d77797d6c96c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContactSolver: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 159 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"70825ef951877d579f0db49d27e773cba204a3a402a5b016aa5bb3692b4be6fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FXGLAssetLoaderService: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/services/FXGLAssetLoaderService.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1752321aa48fc665bd62a92981a2826e1f4d5b772d8a111f52627d6665437505"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: World: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 78 methods. The bar is 400 significant lines; this is 132 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25131cc05fca2093b8a32662955bcbe5a2e54dc9df83c5662ff2df367c12480"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Grid: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/collection/grid/Grid.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7f1e707bc45ec2866f20fab37e8c8820369398227b64b73dbfdf3d355f145a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhysicsComponent: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsComponent.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0d0b8e4897fa9e094afc3e79c0762f0739db65e87fae7a3b025ea63439c94e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FXGLDefaultMenu: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/FXGLDefaultMenu.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ceadeb87de5f19cd2c15f752c04730b7af61312466f3759467410b8b8b0bfe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MDIWindow.initMovableWindow: MethodTooLong \u2014 initMovableWindow runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"78263069144d93372173c9aad02b79f717fa1e4e50e105a57a5d9dcee087666a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Body: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods. The bar is 400 significant lines; this is 77 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Body.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4418197c633c7029c1860083101f3a9bbb6d4fb68d5764b7b1eddb930c951ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Prism.createMesh: MethodTooLong \u2014 createMesh runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Prism.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"090cbf87fc3787a5e9abd317537ca98f32223935ec066caff48ada60dc29e227"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticleSystem.solveZombie: MethodTooLong \u2014 solveZombie runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5984098db3d45f812d19bee1f2afe6595dcb06ee7f1156b7cd178f5eb5562f1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contacts/ContactSolver.java: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ContactSolver (26-1020). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"481c286045d9aa441a6b52617b16a3d107220473936b94649f6aaa80814a4632"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/World.java: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: World (40-1327). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/World.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b33f4da441e2f23dc8c7c0e3e2628c9eb30d1eb347194408ef5b42213e5795"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PrismaticJoint: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 43 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"551555b811bf2eac24557dba12cb94d59db9eddcb2d722d15085ac3f20736063"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/FXGLDefaultMenu.kt: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: FXGLDefaultMenu (64-984). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/FXGLDefaultMenu.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"504df21566a025d5633895ac6285092b66a85c52a927c651226be2c38446a982"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrismaticJoint.solvePositionConstraints: MethodTooLong \u2014 solvePositionConstraints runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a46da2e41b7f9b69c4a66a1ceefc8e35647da608bb00c787b060af312b22a0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Entity: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 128 methods. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/entity/Entity.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"903c9a66e777eca485bc00bf958e6afd5efa97056d465be6c4854431b33afe42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimplexNoise.noise3D: MethodTooLong \u2014 noise3D runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/math/SimplexNoise.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61ae2533b882fdff2ddf7d8d83dbaece0c9c42098013f8ae198bd25f34832d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:48-112 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:48-114 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed4d76abfbca6e06db35d81a859763ff15542b76407bc210e29a5ce368c483a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:126-186 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:188-237 \u2014 These two members are variants of one another: 31 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1509be77f091fce9185220b7979fcb08b6113089c818caea1268128d4d5a7a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:141-183 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:165-204 \u2014 These two members are variants of one another: 31 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1907dd7e20fd021cd7f450b8259e07d4caee3143b851bbaec3456d64c39f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (26 shared lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:208-330 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:243-313 \u2014 These two members are variants of one another: 26 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b7beb18c0f142d8d03e15941998720c8b9edef723219e61e16795372ab15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:36-55 | fxgl-samples/src/main/java/sandbox/PhysicsBounceSample.java:41-60 | fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:47-111 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:45-106 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:45-89 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:43-87 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:45-89 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a041e84b6cf3ea23f0dc57875450817dde9f405989707a8e78dc29f1852f09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:77-93 | fxgl-samples/src/main/java/sandbox/PhysicsBounceSample.java:85-103 | fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:191-208 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:142-158 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:150-166 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:138-154 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:152-168 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"789744e3efec1001e7fec7e2bc844a896aeccefb359d25afb1763f4e2f774930"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:47-111 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:45-106 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:114-140 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:45-89 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:43-87 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:45-89 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b069f176656a17253fe8e7df9a6ccc5ab640e1e5e76c50243acf3b36adebc27"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): fxgl-samples/src/main/java/advanced/scene3d/Camera3DSample.java:36-53 | fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:41-74 | fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:50-70 | fxgl-samples/src/main/java/sandbox/test3d/SkyboxSample.java:43-60 | fxgl-samples/src/main/java/sandbox/test3d/Test3DSample.java:36-57 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/scene3d/Camera3DSample.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7507f771f1ee72b8a45a3871ccdebaa59b5dd8134a1692325201e298645b9233"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:160-169 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:168-177 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:156-165 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:170-179 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd3362f628ff9c8bc8651169f9c22c92f4f0e35a294fe2baee4653b8434470"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fxgl-samples/src/main/java/sandbox/particles/AttractorSample.java:127-143 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:121-141 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:129-246 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample3.java:124-148 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/AttractorSample.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc3ffe2f5ce8410169314331896c72f7ecf68d0de8f5241d5dbe3ee30a72178"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:34-80 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:82-181 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:183-311 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:321-402 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5480195108edfaf0aff3715ea3dc50077452ea83e0468f9d98e2fe160d96a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (112 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:91-205 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:129-240 \u2014 These two members are one piece of code written twice and then edited apart: 112 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5def744051042f4402e09a07b763a519d848ad0b10cb16b63c7939139f7e986"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:732-815 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:818-912 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd33645b2d9c477e97170e9c199b8f2e820a154e7876769d4d80562b912e957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1747-1794 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1799-1854 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba25ed176ccda6f965bc80abe25f2defb5f838b5b007dfb85fb67f0cba3bf13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): fxgl-samples/src/main/java/sandbox/TradeSample.java:51-119 | fxgl-samples/src/main/java/sandbox/TradeSample2.java:74-151 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/TradeSample.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff08d47389d89c2747d219131d16bb840d64596c35ceb6753316af34866a3b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 81\u002B corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:149-248 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:164-256 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:57-137 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 81 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"252404fc543e9a908b84d712c21b48acefd62e3f6e46801c94b4e72c5f4d2cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:777-828 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:993-1037 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61e3f2a340da8e9db826640efaae8d28b758d1c4b91b923756759ced5a7fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:287-334 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:185-229 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5323116af9ccad0e46de5c64971b8a2a5a9b999f0df4fb0739efcd9f2fd2180d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): fxgl-samples/src/main/java/tutorial/BreakoutApp.java:108-141 | fxgl-samples/src/main/java/tutorial/PongApp.java:74-109 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fea1cbb48211dc1da6928b6460ebc15711644e44c2d17707ec381d5e5a1469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:251-284 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:140-182 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aba7ca80d0191d2326206beab5ee4053b8501411f7856deb050e3090cb753d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:90-136 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:92-150 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d92602e76a5f29b0a1699c03ef57416fa10f2c6a1e0fb26ce35d12d4cbf01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:163-188 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:196-221 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f85240d91930c1ccb2bb27df148a37ec854255a08dd801ca3249c8c89f4013"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): fxgl-samples/src/main/java/sandbox/PhysicsCollisionSample.java:108-176 | fxgl-samples/src/main/java/sandbox/VirtualControllerSample.java:48-116 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/PhysicsCollisionSample.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac401837fc75f0b9ea602f9f33809c44c7678e7c35a2bb3aa551972a726134b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java:48-71 | fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:157-183 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:171-215 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464caf9e5d4503a8928c0e6881ba1de99c753c3de0cdef2700bfe6956913568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:338-379 | fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:599-634 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"02934d0052588dfb5bc112072036d0851fb1f9f7bcd6b65c191ec4aa89787185"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java:60-88 | fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java:119-147 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aef3520831529d054efd37b8022ce1cc9c7be5caea6c95e2bfd9db02bb15363"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt:96-120 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt:130-154 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bb082c4ff6df319bab5c7bd14dc5d9c5b33bae875310bb375799dbc55d224b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): fxgl-samples/src/main/java/advanced/scene3d/Camera3DFollowSample.java:52-86 | fxgl-samples/src/main/java/advanced/scene3d/Camera3DSample.java:56-84 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/scene3d/Camera3DFollowSample.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fab69781ba2303cf77153930bfff98a7caf235e8c4ed85c886bffec07fb60fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java:73-91 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:226-243 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cf7dff72c8c492def6ebc80ac1110789ebe78112f2ea570414b5ac194176e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java:211-237 | fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java:240-263 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f07451ab3d84a82fba67a8dce28b47b9146696355b81786c4adcfce885d58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/particle/ParticleEmitters.java:129-142 | fxgl-core/src/main/java/com/almasb/fxgl/particle/ParticleEmitters.java:148-161 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/particle/ParticleEmitters.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf8af2d4afc3a1d8c65baef1b5ca25d31503eeeb05cc88cd492ba9fec9a02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java:160-181 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java:189-210 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"731b77ad23e0070d70a3bc0f401d2efe68d505fa63298146de22d85e893e455a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/NineSliceTextureBuilder.kt:100-118 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/NineSliceTextureBuilder.kt:120-138 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/NineSliceTextureBuilder.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8c54f6a58626c98232c69882fb49c28c142a650fd27d310030bdea6e5a77d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:53-71 | fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:115-135 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf9413d5ea91eec3e7b087f9f34d2bff2d7aba7aef22da4d62d6e870d512c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): fxgl-samples/src/main/java/intermediate/ai/pathfinding/MazeGenerationSample.java:104-120 | fxgl-samples/src/main/java/intermediate/ai/pathfinding/RandomPathfindingSample.java:74-88 | fxgl-samples/src/main/java/sandbox/DungeonGenSample.java:79-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/ai/pathfinding/MazeGenerationSample.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8af3c406cebb65552d4b25b436066532a03622dfab0acf3ffa56b27cc117dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:92-111 | fxgl-samples/src/main/java/sandbox/test3d/ThirdPersonCamera3DSample.java:109-129 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca24e9f9758c160fde9f1741210326efff5d5ac9eb6ecfe5b2c9b823448b2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): fxgl/src/main/kotlin/com/almasb/fxgl/achievement/AchievementService.kt:107-130 | fxgl/src/main/kotlin/com/almasb/fxgl/achievement/AchievementService.kt:132-155 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/achievement/AchievementService.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"207619d3deca16b2e850d6518e5795d27e1853f95140112baaeadc9b9e5a593c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java:694-705 | fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java:727-739 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/PhysicsWorld.java"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e871040d9379147f4bac3644b396c6174c03998c5ba78a6f0b186c803501d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java:81-95 | fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java:97-123 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d69d28b984e35973d17b52d4dec9278e18e058ddaeb72910b7c92fef1af39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Images.kt:540-560 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Images.kt:562-584 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Images.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39dac9344189a37a0968702949456a7fce7fd98be81a6c8f28a9af61320b107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fxgl-samples/src/main/java/advanced/ViewportSample.java:46-59 | fxgl-samples/src/main/java/sandbox/IsoTiledMapSample.java:50-68 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/ViewportSample.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8581b9cff80f9510ed4a47a8697f34af36b209fd046b4ff820bf75692d42ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt:70-89 | fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt:91-115 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/MDIWindow.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f7f891be109301b2ca5f01eef084ffa63820647f5df51dd5cc2118d957b106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java:260-272 | fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java:336-354 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bf9ac07bd5cd086a8c9f296e6ab0d1202a2edf050698359791b3c4d28b3bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:95-107 | fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:109-123 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06fb9f1bbd2f5a65ccc805a4382313da943d3af296114224bf03551a059bd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:94-103 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:105-114 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb00cc823cf1338e81faf1e32a739deca9a850c77fbfe2e126ab389f96410c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt:59-77 | fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt:105-123 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"032b92b2c24c561026dd288863a57d04ca6f9cd72ca7aae56c9f4a62fd6e41fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/pathfinding/dungeon/DungeonGrid.java:85-96 | fxgl-core/src/main/java/com/almasb/fxgl/pathfinding/dungeon/DungeonGrid.java:98-110 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/pathfinding/dungeon/DungeonGrid.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e54bd20528a13b1ffa0d8b8335094780ad2ad50e01c6f34fb9064cb9e90d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fxgl-samples/src/main/java/advanced/SaveLoadSample.java:40-67 | fxgl-samples/src/main/java/sandbox/saving/SaveSample.java:107-129 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/SaveLoadSample.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8068159ed5f83644eca5cd8a3c561c0c28e081fa4dbe24269d4548d413908bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat22.java:47-61 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat33.java:42-50 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat22.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77a778c4a0db3c6422177f367f5ef810c616dc02b973ce93f9d53b52b4a22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/ScrollingView.kt:95-112 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/ScrollingView.kt:114-131 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/ScrollingView.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"245440b853718a1d72ceeb3094564c619ce4877ea3154ef818ad9b88b80e4e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fxgl-samples/src/main/java/basics/InputSample.java:25-47 | fxgl-samples/src/main/java/intermediate/InputSequenceSample.java:26-49 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/basics/InputSample.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac0bd176ea350b337efe537937281af8dfa514c17ab3209fe40155b958f3d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Point2DPropertyViewFactory.java:57-67 | fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Vec2PropertyViewFactory.java:59-69 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Point2DPropertyViewFactory.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d54c57293bd6f17eb763cbc62c2d3feac8ea76a0e2ca23af871a6a673a671a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2129-2143 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2148-2162 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2167-2181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5bda232d59010f8e8c1510bcf07e7c8d7fe6d7f154ef93e0c5b8a9fd65500b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:231-240 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:127-142 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a20ba19595674f1122f78cf4d2ebdcba280c1e23abdf7274a7d1e7729442301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:441-455 | fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:462-478 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"adabfc14d80ed8a8e95d6b601b56323e5d55023833ccf559ee5aa177bc0263c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fxgl-samples/src/main/java/sandbox/test3d/snake/SnakeFactory.java:28-38 | fxgl-samples/src/main/java/sandbox/test3d/snake/SnakeFactory.java:41-52 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/snake/SnakeFactory.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07acc09c76f59947a098fda2065cd0dc7b27d30c683e51894e7737df7ce4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1516-1530 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1532-1546 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fa0a319c3f7b0a34c795c822711d31f91850043d7e677a2bfd8c2aa1a46163"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:77-90 | fxgl-samples/src/main/java/sandbox/test3d/Test3DSample.java:60-72 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd3536e224385395c9d33955210d20513c0d91fd1532779b56627272b56ae5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): fxgl-io/src/main/kotlin/com/almasb/fxgl/io/FileSystemAccess.kt:64-74 | fxgl-io/src/main/kotlin/com/almasb/fxgl/io/FileSystemAccess.kt:76-86 | fxgl-io/src/main/kotlin/com/almasb/fxgl/io/FileSystemAccess.kt:88-99 | fxgl-io/src/main/kotlin/com/almasb/fxgl/io/FileSystemAccess.kt:101-112 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/kotlin/com/almasb/fxgl/io/FileSystemAccess.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3504f2e4b859bf92c891b9b86c5038f789d85d553b6818e90309bbbe2906d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fxgl-samples/src/main/kotlin/sandbox/view/AASubdivision.kt:82-87 | fxgl-samples/src/main/kotlin/sandbox/view/AASubdivision.kt:89-94 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/view/AASubdivision.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"266151aa771074ee094cba22ee0b31064d916fb6e4cd0d0d0bce98f8ac3378bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Transform.java:83-89 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Transform.java:91-97 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Transform.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3157aeb18ea838db9c495f45e693b00d77fd72193f43a3f3c4ba8a96d7bbf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fxgl-samples/src/main/java/sandbox/BBoxSample.java:158-170 | fxgl-samples/src/main/java/sandbox/test3d/Collision3DSample.java:110-122 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/BBoxSample.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfff4b672209416d4e61edb2879ee3643f58bb7e051fe73297c853d8cea6f436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-samples/src/main/kotlin/sandbox/view/DevVarSample.kt:34-40 | fxgl-samples/src/main/kotlin/sandbox/view/DevVarSample.kt:42-48 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/view/DevVarSample.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d046db8aada3f3a4ad1bd8259afd0d519286e2df4e9dfa574152bce7d9fce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/input/Triggers.kt:96-106 | fxgl-core/src/main/kotlin/com/almasb/fxgl/input/Triggers.kt:155-166 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/input/Triggers.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b511bc90cf4b3a80fb531cdb696048cb1e800d91eac692955eb317a5a807f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-samples/src/main/java/sandbox/circlegame/CircleNNFactory.java:119-126 | fxgl-samples/src/main/java/sandbox/test3d/Throw3DSample.java:119-125 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/circlegame/CircleNNFactory.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec1d3179569e109a41e5165eb13494fbff0cc9acb1316c3b766618b08dbd870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java:522-530 | fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java:535-543 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/collection/Array.java"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ab2b9f99af7313bed1c36f2a4271adab9c240189f994cc5a4706b6c46f6069"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fxgl-samples/src/main/java/advanced/platformer/RobotPlatformerSample.java:129-141 | fxgl-samples/src/main/java/intermediate/ActivatorSample.java:78-83 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/platformer/RobotPlatformerSample.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0b8e61fb626b8759d0170b8f5ebd69e4701ccabdf49c02ea39c75e921fac5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): fxgl-samples/src/main/java/intermediate/EntityDrawingOrderSample.java:37-50 | fxgl-samples/src/main/java/sandbox/ReusableEntitySample.java:66-80 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/EntityDrawingOrderSample.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f04658ba2d887abf1a3c74c75f3ffab4e3dd339e06ec370a28ce006d6a87d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): fxgl-scene/src/main/java/com/almasb/fxgl/ui/ProgressBar.java:282-294 | fxgl-scene/src/main/java/com/almasb/fxgl/ui/ProgressBar.java:322-334 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/ProgressBar.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f411d640c62ed6b5279de7d36241c168f6c1ac80282f938d40ad988c18a8973a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:172-177 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:115-120 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e6ff106177b2eef3a0365b8d8648755f5304bc4927b5b80f253d5abd90e748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/ColoredTexture.kt:24-35 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Images.kt:83-94 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/ColoredTexture.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce9086027afef666ac7b856b72abd3762faba73a09f03b21ff6813620cbd339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): fxgl-samples/src/main/java/tutorial/BreakoutApp.java:143-146 | fxgl-samples/src/main/java/tutorial/PongApp.java:126-129 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"621669ee780b3de8c354786576016c02251bf3b35c3a5ffce0fa671fbb46aad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat22.java:69-75 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat33.java:122-129 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/common/Mat22.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d9f7cb22a892871071ffeeb012f9819bcfa703f129b931a65c714c8f548b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJointDef.java:79-87 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJointDef.java:66-72 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJointDef.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"90841140bae14ead679875d432f97248bc418d9cd71ef5c7f30b466c91851586"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fxgl-core/src/main/kotlin/com/almasb/fxgl/core/collection/PropertyMap.kt:43-51 | fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueScriptRunner.kt:225-235 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/core/collection/PropertyMap.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d931289f39a0e4bc53f157d7d038724a15cc96a93d2085f56299c4205513c885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): fxgl-samples/src/main/java/advanced/FullscreenSample.java:31-42 | fxgl-samples/src/main/java/intermediate/CustomIntroSample.java:33-41 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/FullscreenSample.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8943a89ff6eca39ea12ed794099026e0825029c11dad06668f907f209a99a0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): fxgl-samples/src/main/java/intermediate/ActivatorSample.java:40-48 | fxgl-samples/src/main/java/intermediate/EntityDrawingOrderSample.java:28-34 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/ActivatorSample.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"542c132c5aca854c087905876e7966c73f4b47550e423726f1727ad696f1bcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/CutsceneScene.kt:104-111 | fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueScene.kt:181-188 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/CutsceneScene.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3031d7170161023d9a4f4ed37e538225b7c8e8bcac3ce51895012a17ce4178db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:783-788 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/DistanceProxy.java:25-29 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ff75eaf79631f59b32344983f3539456d600d827d061983c6c92eda08b60d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): fxgl-samples/src/main/java/basics/BasicGameSample.java:30-35 | fxgl-samples/src/main/java/basics/CustomComponentSample.java:25-32 | fxgl-samples/src/main/java/intermediate/MenuSample.java:56-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/basics/BasicGameSample.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a54c003ea0df11be1a5286310569b61a44fa49f6d677769f5e131196e3832b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Manifold.java:56-60 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:29-33 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Manifold.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"706c4ccc56af11eee44c8a843eb1355ab117060b303f91f1eb71da1f6289e7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fxgl-samples/src/main/java/intermediate/InterpolatorSample.java:45-50 | fxgl-samples/src/main/java/sandbox/InputModifierSample.java:64-69 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/InterpolatorSample.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeb9a2c83b4370eccc29f8ee328858b6bacda6ed19e75f7ff6f05869eaed856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): fxgl-samples/src/main/java/sandbox/test3d/CubeAnimation3DSample.java:31-37 | fxgl-samples/src/main/java/sandbox/test3d/Test3DSample.java:28-33 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/CubeAnimation3DSample.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c664b1515593fd40d92166480682cc54e1ddb1882c00907e5b7fd71772f66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201349 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:92-126 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:130-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d776a814acb2644e5d6c22daf776ccdc96014ded5e311dc3d6862a23326e3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/TradeSample.java:76-119 | fxgl-samples/src/main/java/sandbox/TradeSample2.java:107-151 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/TradeSample.java:76\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/TradeSample.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d27f7cc48626af4711dca6f92ec4c51fafda0f50ebfe6fd08af4f3e3e62629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Point2DPropertyViewFactory.java:26-54 | fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Vec2PropertyViewFactory.java:28-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ObjectProperty\u003CPoint2D\u003E\u0060 in one and \u0060ObjectProperty\u003CVec2\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Point2DPropertyViewFactory.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6881f499c5d2bbf4f68fb32276586ae3778d8d1377a613f8acc98a283bcf4ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): fxgl-samples/src/main/java/advanced/FullscreenSample.java:61-90 | fxgl-samples/src/main/java/intermediate/CustomIntroSample.java:52-81 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/advanced/FullscreenSample.java\u0060 and \u0060fxgl-samples/src/main/java/intermediate/CustomIntroSample.java\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/advanced/FullscreenSample.java:94\u0060 calls \u0060onUpdate\u0060 and \u0060fxgl-samples/src/main/java/intermediate/CustomIntroSample.java:85\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/FullscreenSample.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"290dc328101cb061efc79c9037bb1673c4bbedb459e19be434b0b878c68d9cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1748-1776 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1808-1835 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a187133cb3a97bfb994a6b0aedd7449b4db6b59503998bddb1fc9956e6ec1a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:495-528 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:541-574 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:587-618 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:630-661 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb067f00f762a654ddff923a8a82179b780c31484a94e07600381f9a47e836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:480-502 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:526-548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:480\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e0ebca454eaaac5dbb3a9ba9d1335ec3551320585869ae8abcaf61a4f19c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:89-111 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:87-109 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e5a14c77730be16f5798035446837469f4303cd61647b0df8fc5756830f5e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:796-815 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:891-912 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:796\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5987f222d1be398c8a9a83c7f2e90dec08c0474e220f28b3e0987d2d1a240565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): fxgl-samples/src/main/java/basics/PhysicsSample.java:39-59 | fxgl-samples/src/main/java/sandbox/PhysicsCollisionSample.java:54-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/PhysicsCollisionSample.java:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/basics/PhysicsSample.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe10ef768112d07082d855843d4ada940fe144d35ff660301b5eeddd0d31830c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:241-260 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:263-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:241\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ce5d329127b9873cdf1c59a1310fbcd2fb2e120902a7a7d458fe48fcdcc81f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 7): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:37-54 | fxgl-samples/src/main/java/sandbox/PhysicsBounceSample.java:42-59 | fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:48-65 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:46-63 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:46-63 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:44-61 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:46-63 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc8db23336dcf08f1beaf1d67f4298da5c183408ae215c9485f4f862bbd33fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:126-143 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:114-131 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:153-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:112\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:124\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d4604a0075b1cdc0e18310f562fe596a62140574202f9392df072b3c56aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1904-1925 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1973-1994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1904\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6849f9de8852fd7d68610c451cbcac27a7c77d96409e5fc00f3def0266148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:105-119 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:93-109 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:131-147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:122\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ddf78eb0abbe3b43d975f4f7e2984e1d8a18f595a2466b985631a94dd03093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java:289-305 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java:429-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3622e91716c8961c9039e921928a2039aa195127b56999209cc533e76b013a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:644-659 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:679-694 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:644\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bf72f1d94aa379f6bce3ed8065df6d6dad1ff7b50c2b4654aa183ee061c883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:172-187 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:311-326 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd7839c4d1b58ca43b90232d921f052604740aaad85cef54d832e7bdf51360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): fxgl-samples/src/main/java/sandbox/particles/AttractorSample.java:128-142 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:122-136 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:130-144 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample3.java:125-139 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/AttractorSample.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7cc98499a732ce09de352110537f638834cb51a45804260cf689e13158d434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:567-582 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:611-625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:567\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f5620cf8414b836edb7218674afac44bc7e580a42580d862f474a3a328f943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): fxgl-samples/src/main/java/intermediate/ai/pathfinding/RandomPathfindingSample.java:53-64 | fxgl-samples/src/main/java/sandbox/ai/pathfinding/SenseAISample.java:69-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/ai/pathfinding/RandomPathfindingSample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8aeb2b8b4db89c2d9b83c4801a98682d85dbdcb32ebe75b95cac7b5e7cc303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:169-183 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:190-204 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ad47d651d0b9508f874aefdd3c6fd84e0fe7afd5445517a7e995f49a4f4d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): fxgl-samples/src/main/java/basics/InputSample.java:32-45 | fxgl-samples/src/main/java/intermediate/InputSequenceSample.java:34-47 | fxgl-samples/src/main/java/sandbox/VirtualControllerSample.java:50-63 | fxgl-samples/src/main/java/sandbox/VirtualControllerSample.java:67-80 | fxgl-samples/src/main/java/sandbox/VirtualControllerSample.java:84-97 | fxgl-samples/src/main/java/sandbox/VirtualControllerSample.java:101-114 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/intermediate/InputSequenceSample.java:29\u0060 calls \u0060InputSequence\u0060 and \u0060fxgl-samples/src/main/java/basics/InputSample.java:27\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/basics/InputSample.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dbf9d8747d199c27b6b7156fd038f49fe0fb683e2fca3b9f43cde0090ae5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:97-110 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:93-106 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:95-108 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9812a0049cd28501b7e8ff789928625e2e91a18f34a38206caf384f1a5c0a0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:293-306 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:304-317 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac8e7da713bdac9911d79219f61189966c742d21ae79a920c087ab3b1b1726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:87-105 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:83-101 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:102\u0060 calls \u0060getPhysicsWorld\u0060, \u0060removeJoint\u0060, \u0060removeUINode\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:110\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53331c9c2f8af28f5668b20f574a996dd3c9739861880df61fe55bf4d4345e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:151-163 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:375-387 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:165-177 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:58-70 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"639b032842fd7e1b5a9748cd311ce7aea344463d0a872fbc824877cc368baeaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:753-768 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:848-863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:753\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c88cccaf8316bea341ddf017ea2892132c83371f487d2e5df9b92fec7a507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:394-406 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:191-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a5909cf327ffc74e91b6c34cfbfa7520fc9d56f4ea3714d6b6d88f72def658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:87-99 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:68-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd13e99f8ebead511994d622b0f77d9d0be2bae1cc6f4e7ba9627b5e20c951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:56-66 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:54-66 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:52\u0060 calls \u0060randomPoint\u0060, \u0060Rectangle2D\u0060, \u0060getAppWidth\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:50\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307bb958c61d6429a523344788d7ef0b22afc2c3614d017a7b2a3db44271cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fxgl-samples/src/main/java/tutorial/BreakoutApp.java:129-141 | fxgl-samples/src/main/java/tutorial/PongApp.java:97-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/tutorial/BreakoutApp.java:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/tutorial/PongApp.java:96\u0060 calls \u0060inc\u0060 and \u0060fxgl-samples/src/main/java/tutorial/BreakoutApp.java:128\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"043093b1cc3cee60474980e3546233b06264ed4dfa515dc8b285ef78dd699e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:160-171 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:384-395 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:174-185 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:67-78 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:222-233 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:186\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:173\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2ccd5c97790a73bd963dd8347a3e6c60599fee20fb1a86c627ef26ca91b20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): fxgl-samples/src/main/java/advanced/scene3d/Camera3DSample.java:37-48 | fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:42-53 | fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:51-62 | fxgl-samples/src/main/java/sandbox/test3d/SkyboxSample.java:44-55 | fxgl-samples/src/main/java/sandbox/test3d/Test3DSample.java:37-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/scene3d/Camera3DSample.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d77de76a53a68d50f4ccb6e94f9603dcd1c28b9c43e88522726f2e62367886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:142-153 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:201-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc81b96c938d868d88d3410c71c683486c0df89ee2014a9fd67947cdc482ca6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:236-247 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:241-252 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:254\u0060 calls \u0060pushVec2\u0060, \u0060pushRot\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:248\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"078dd4de0f2221b65e3fb8f61032f3b52ba0749ead6fdf81abc5ca0d4a3f9147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:255-267 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:271-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bbd544a558176a2bf140bc73eb2c123b5377779c1e76d5cfb4f713e1f82f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:303-314 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:364-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd39b92fa3f55b059db38dae5deca58a7dbfb18f32f73dddb872f08a88ae1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java:77-88 | fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java:136-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/ai/pathfinding/MapGenerationSample.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d817c642cbe9a2b5ad19638756bba0570b992ae3530273ec09403e8d5c12c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:110-119 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:116-127 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ae8cbc25202b011e4197e6250bed399c635ffa01c3981bbeb3ecdd3721d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:83-93 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:148-158 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:156-166 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:144-154 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:158-168 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:83\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f782e5b127616e8d4fd65da46ccb1b9866a40c3eadd7816e4a00596212187f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201311 lines \u00D7 5): fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:75-76 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:73-83 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:73-83 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:71-81 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:73-83 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:73\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ab80db0f88a769e404ffe98891856e873f6ad907ac07573fdcb49b03dcb3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2133-2143 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2152-2162 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2171-2181 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:2133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ray\u0060 to \u0060T[]\u0060 in one and \u0060int[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2538ead4094dc7cacb7db893ed5cf5de6b18f9bc2d6901faf42f0e895e91b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:159-169 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:215-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:159\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c781e90041957e2c27d09d42689a19fc74faddcef68197a66026b1853fb3572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:138-148 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:254-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"82add6202056fa065e6eb2f8a09ddaba0cfa53195346f837c1530ab03eefaab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:221-230 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:378-388 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47d5fc10d6afbe87dfae1e6f38c357def8badadddc736d74bbebf49b57e492a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): fxgl-samples/src/main/java/advanced/ViewportSample.java:51-59 | fxgl-samples/src/main/java/sandbox/IsoTiledMapSample.java:58-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/advanced/ViewportSample.java:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/ViewportSample.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab69426c5e38a1a34ccbb8d8a745e899ad91682223241b4eeb353869c4f693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/PlatformerSample.java:133-143 | fxgl-samples/src/main/java/sandbox/PlatformerSample.java:145-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/PlatformerSample.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b7d8414524c7e32b5e6f306bb62697188afe5e11c23fd88426f74e6510f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:101-111 | fxgl-samples/src/main/java/sandbox/test3d/ThirdPersonCamera3DSample.java:119-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/test3d/ThirdPersonCamera3DSample.java:118\u0060 calls \u0060at\u0060 and \u0060fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:100\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"788abc293942d47cdd3225916548476d81bfc5c68cdb4c3f87dfe3adc819237f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fxgl-samples/src/main/java/tutorial/BreakoutApp.java:109-124 | fxgl-samples/src/main/java/tutorial/PongApp.java:75-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/tutorial/BreakoutApp.java:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/tutorial/PongApp.java:91\u0060 calls \u0060inc\u0060 and \u0060fxgl-samples/src/main/java/tutorial/BreakoutApp.java:125\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"732e82c4e62e5c614df884809aca854a3f37de8e0292926c9b1fa7f24be085be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java:78-87 | fxgl-samples/src/main/java/sandbox/PhysicsBounceSample.java:86-95 | fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:192-201 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:143-152 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:151-160 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:139-148 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:153-162 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/RigidBodyPhysicsSample.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46327add34a6dbea550fe133fbe34e7f08fae0a808e49b9c8a26634f4db109c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:80-89 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:76-85 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:76-85 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:74-83 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:76-85 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:77\u0060 calls \u0060setScaleX\u0060, \u0060random\u0060, \u0060setScaleY\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:74\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b096346025762c3a14ac339b5909902d76685b4a17f62bd61524fac504b5203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:76-83 | fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:54-61 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:52-61 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:62\u0060 calls \u0060delay\u0060, \u0060seconds\u0060, \u0060random\u0060 and \u0060fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:84\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfa25db6f5899038742b4e3b51a515a7a5dea21318fbdc69d92a2e5c2bcbd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:955-964 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:991-1000 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:955\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"709143f2774ee717a326a61286e55d60d8ca36257f31afddc10426eb885c7bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:334-343 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:346-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa380efb8561a703c16ce04f9827a7ade502b04bf884339e3a0d46864ae2b1be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:363-369 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:395-404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec51c3e79bf04fa0d36fe6a20bcc1770b8667e271da3209c56db1952de51513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:310-319 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:272-281 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b316615a6fba3aa428567b0e4a8f450b7787ac5fa36b582d55f8ab41fd592e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-samples/src/main/java/intermediate/CustomLoadingSample.java:220-231 | fxgl-samples/src/main/java/intermediate/CustomLoadingSample.java:247-256 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/CustomLoadingSample.java:220\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/CustomLoadingSample.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2ac812dc4a452bdce52bce5a9b6f25ef431ac2b6e8eb29b8a191c7c61232ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java:57-66 | fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:171-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac445772599a92f73aff9070e92bd2d272062e4cbd77cede074ca861c45e893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:147-156 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample3.java:163-171 | fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java:140-142 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample3.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:156\u0060 calls \u0060setScaleFunction\u0060, \u0060randomPoint2D\u0060, \u0060multiply\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java:142\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229135e4ba29914b58a48a078c3f4cbc2eca94eb37eb9c4953625fb8ccfa2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java:78-87 | fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:74-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/Agent3DSample.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7661b4743c25b61531078fd2e06d4a0704419e6214dbf4d35d95a0b09bb4fd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:100-109 | fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:151-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/test3d/ShapesSample.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a066245e5f86c85654bac25937d1e4702479bfba57a93a1655f2aff38352d3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:181-189 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:108-115 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:74-82 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:146-154 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:229-237 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbc929348e1d3bc53c214230fabaf01d8cded47a8f70fcc7989cfd04e1c3d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:490-498 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:540-548 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:602-610 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:626-634 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:500\u0060 calls \u0060setZero\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:635\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"880abc79cbfd417cd2fd927bd54832f453b6b79c8854951827ef6fa5f7e92b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:161-169 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:169-177 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:157-165 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:171-179 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a4715f19749436ed853aca3c4abe3b691c4d543b158eb6a604cae9e929fdf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:164-172 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:322-330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aea66ece203fc96f6568bb09533c9b51d3dd4856ba3009b6d7c3a28abd8b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:314-323 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:211-220 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:222\u0060 calls \u0060pushRot\u0060, \u0060pushVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:326\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3344ee3de19f7a48bffbf52f5dcc0d6a3607ebf6c6014c6916ca88c617d9613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:146-156 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/MotorJoint.java:221-231 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:145\u0060 calls \u0060popMat22\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/MotorJoint.java:219\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056773fbaab9e8fafc75bd9b3acc5abb06a1db0b0f07bb6c5575897d9a60035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:666-674 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:327-334 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"265b2415116e0693212ea834b519f0784d7cb8faf37b5335e39d3869e774c49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:404-412 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:357-365 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b17add52ef5090236935e3015053e769c1d70104708d5bccbecebc9a1f9afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:801-809 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1012-1020 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3023795eab8cbc41b511697b7f704729c8c8cb5197f3b92461958c2c5385178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:167-175 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:185-193 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd91d3b7635e932f42fa7d29d94390841b2c14e7f5f99f8fd7f372c44a5739f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:70-78 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:129-137 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:69\u0060 calls \u0060filter\u0060, \u0060getColor\u0060, \u0060equals\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:127\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"267af3a55f8367d442e76b441d83504f2e2c9c3663a62fe7a2fa49b626a40c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:146-154 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:168-175 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:144\u0060 calls \u0060sort\u0060, \u0060comparingDouble\u0060, \u0060getLayoutX\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:166\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb0ae03bf588cdc2a3211ce5478eeb92034699d44e80205819b84e78bc9966f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:104-111 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:92-99 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:130-137 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:210-217 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af20958ff0d5e04152768730d7d1f7b88a99f0e9ed7531db6d624e59f167b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:113-119 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/GearJoint.java:231-238 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:102-109 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:140-147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java:122\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:110\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/FrictionJoint.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9201abe55f8da589082ebab11e76733b95bc11182b9429a89ce2a40cb285f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:186-193 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:317-323 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:417-424 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:196\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:327\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23bbd5b629ce6d6a88e054736c383c5346e095dc11648df647ca348c6eae4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): fxgl-samples/src/main/java/intermediate/CustomGameMenuSample.java:61-68 | fxgl-samples/src/main/java/intermediate/CustomGameMenuSample.java:72-79 | fxgl-samples/src/main/java/intermediate/CustomGameMenuSample.java:83-90 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/CustomGameMenuSample.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e33d41f88a5b5c8c0dfdbabbcc159398565519d6c75b93876de0a06b6248c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:54-61 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:71-78 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:87-94 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aafeabb86190bcc6c65e65f9654e7c46f55d3b6bec6bc7fc63e1a265cb7f13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:904-911 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:921-928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:904\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e6eecf644e42633796a1b7c3ed993a36c638542816eaf7372162b13553bcb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:127-134 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:189-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java:127\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/SeparationFunction.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd6a52b9a17282e36c4b8a65d39352f5c82e488ed79c3ba04ecf7fce7056f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:515-522 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:561-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:515\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b957c9ff790098b9b8baae2e2ee920d7255035355123d06b85b47cbf26a9f8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:516-523 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:245-252 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb80d1918f2cc263068fb500f162c30895607abff62d3cd754269ff00b7badd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:287-295 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:296-304 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913de969ff5f8992f0747bb710b7bdead5efe3ccb4046057213abbe38ea2b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:323-330 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:456-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c77ad46156d4bd5fcd4299691e8396ee098ac29fcc22f88c9bd2dbc5b3ce75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:367-374 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:401-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:367\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4be43457f1b58e20edfe158657a21963179d878ef498f0be15d1099081cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/advanced/scene3d/Basic3DSample.java:48-55 | fxgl-samples/src/main/java/sandbox/EntitiesScenesSample.java:53-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/scene3d/Basic3DSample.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6ce801b317dd21450576222b961c8f8d903a474b371311b09fba04effb4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:123-130 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:134-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:121\u0060 calls \u0060FixtureDef\u0060, \u0060setDensity\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:133\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d0962e4a2496ae243057dff843e7b041bcdba24a6ac6ea1dcb0fca2672143b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:123-130 | fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:186-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"57322d1c298ba56830503e76b94260f3a6bc83ecfd7ffc8efc807ff40aaa12f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:156-163 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:177-184 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ad81ae6ebcb733001ab89a5ece81713016f2ed5f87581a00ebeaa78a1a452e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:172-179 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:296-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"150cf6f6eaaceec400def552a9d93fe4d6f474df2b77301104587d313e1ee031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:390-396 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:180-186 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:107-112 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:73-79 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:145-151 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:228-234 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:397\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:188\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7cd2fdc4628f4756c92db13086d18d4529435df1321a53ca36351c8ac66561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:297-303 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:661-667 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:308-314 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:336-342 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:293\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:335\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08706b96d4826a39555bff45b216f05aef93e214658b8a4858c4c54d7ab9ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:897-903 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:931-937 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:1003-1009 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:897\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f37f0c2c3dd56baac53787b92d5fdf7ac1a36075953604597d120b0d9213331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:914-920 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:948-954 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:1020-1026 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:914\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c12fe9b6e46b6f21a52db5fe776158b6ccf917bd325289a40b62bc19a68871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:967-973 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:984-990 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:1038-1044 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:967\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8199ff3081ac8d57b7903f22230e9c69c975b13d81d34136abe88d231bbf2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:252-258 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:260-266 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WheelJoint.java:348-354 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:267\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:261\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eecd65e5811367e4c2d2ac774e48303d0255031d361e49501df9fe473b5edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:515-521 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:209-215 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java:244-250 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f643a3e794f396d11cd397e9c9e041ec76c86890130452b24b41ce261bb4a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:161-167 | fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:191-197 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:64-70 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:157\u0060 calls \u0060getProperties\u0060, \u0060get\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:190\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d46cbee838859032104cf39393b56c76b0853bf79987a5b1d1860ad785aacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:502-508 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:511-517 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7ff36f72512a2f7abb043f76ad7cf0c0cd3052a1d912ef6234dca46e9469b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:548-554 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:557-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1e897e1f5e519612206a4f48434577cb93d9247cabbfddd017f791eb532f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java:166-172 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java:195-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/shapes/ChainShape.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef660ed5d9582155f4b9cd2b45c0f499341b899d73499301d36d9d9488d6864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:257-264 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:267-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:265\u0060 calls \u0060popVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:255\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"12db1b3707a289319847c84474606cf0a266ee1b209cd763cd0568e8376da0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:270-276 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:169-174 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:178\u0060 calls \u0060pushVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:280\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ac59ea1a8873a5d252d2a8a92afad2c9e9734a95a798dc52c6da56f5e4deb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:649-655 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:298-304 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:659\u0060 calls \u0060popVec3\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:308\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"068e89c26c5b40cc05dc47f47650a67df206d8567b9479c215169cb78528eed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:813-819 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1639-1645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:813\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdf01220de1e55e98629584d08b8f6127ee69feb47428555c9c96f838abebde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:947-953 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:967-973 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:947\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8877de93c400406432cbb6c20815463e319933edad1bba38529bc2664ed5b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:123-129 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:150-156 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:122\u0060 calls \u0060filter\u0060, \u0060getColor\u0060, \u0060equals\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:148\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99f4612dc62c98139d66d55e2d545d43cb4c1fff53d92d7c7491de8e432af1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:394-399 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:649-654 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:298-303 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:191-196 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"584bf7594b96d19469686bff33222a18d879fc6191b452e66b30b57133d2317a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:59-64 | fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:120-125 | fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:67-72 | fxgl-samples/src/main/java/sandbox/particles/ParticleIntroApp.java:85-88 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java:67\u0060 calls \u0060addUINode\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:127\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/ImageToParticlesAnimationSample.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"494e46bfbe5d56baa0c164aa6187ca09aca285be8fa0211f4303bd881745e7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1780-1794 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1838-1852 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:1780\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea9648657c8149d4d49482a62dc46d33917b239a21b861ec44ea627dbe416ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/TradeSample.java:53-58 | fxgl-samples/src/main/java/sandbox/TradeSample2.java:76-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/TradeSample.java:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/TradeSample.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297cacfa7fed05256d3f522e3ef706da0ceb82b024c8610c3d4a9ba9fece14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:81-86 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:79-84 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174450e03c4083d0f9150ce54b4375011bc56acb6afd300e92042f1852bc130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:127-132 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:148-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:133\u0060 calls \u0060setScaleX\u0060, \u0060setScaleY\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:154\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c569ada275891a75f16e3102913dabdb0886496655879123787d2badfff8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:87-91 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:83-87 | fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java:133-137 | fxgl-samples/src/main/java/sandbox/joints/RevoluteJointSample.java:83-87 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample.java:81-85 | fxgl-samples/src/main/java/sandbox/joints/RopeJointSample2.java:83-87 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/joints/PrismaticJointSample.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/joints/DistanceJointSample.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd5cbab4a0112c9dae75e3accf6c054ea6eb20caebfbac11031c260c62b218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:504-508 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:513-517 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:550-554 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:559-563 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab877efb2531f2c7c93fcd046d305150edeacf54b313ff84151158c1dc3bab5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 5): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:302-306 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:401-406 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:313-317 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:390-391 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:198-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b0e1ee6da7a16d11dc51f275a69b013716025301d58cba36e47cdc02c8de34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:81-85 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:118-122 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java:170-174 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/WorldManifold.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"774948bb06ccab4b85140130900ececc73fb46e6ca0cc8e52992e3fabb970efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:273-277 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:124-129 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:171-175 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:178\u0060 calls \u0060pushVec2\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:280\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a070ab6a9f619a237fe3cc3ae2699ba998a68a002e0301a36c6eaef17d4ec39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java:49-53 | fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:158-162 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:172-179 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:164\u0060 calls \u0060setInterpolator\u0060, \u0060EASE_OUT\u0060, \u0060setAccelerationFunction\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:185\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/particles/FireworksSample.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec543a132c0adc3529c879b92e677d597bb79a315a4dd8aaf477d6d0914f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java:245-250 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java:453-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/Island.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7fd82a3e95a45dc57cba283d9797fb00c7594f3bd1f58bf09187d19eb88517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:979-984 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:1007-1012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"431765d462a54555826b1eb4fd6e163db35e6a9d72456bf39c020b51eb3105e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:164-172 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:200-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/ConstantVolumeJoint.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cbd4e149d276734c2cec0f779c01c1affde10b04f9df12b4e977a693e604fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java:193-198 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java:112-116 \u2014 before extracting anything, compare \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java\u0060 and \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RopeJoint.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/DistanceJoint.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e46f7272d24a59a10c4c182d5ab218b1f2d1148ec62e9e8789854ecca956c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/GearJoint.java:283-288 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/GearJoint.java:453-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/GearJoint.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c178ba7c35e03be5c2ccfd753b2e1c9439d7cbac980c71a1d23435b4dbc4162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:238-243 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java:281-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PulleyJoint.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca077c97f81af254a484c2cb73c3471f463b6ac9c185e63b16777454ef747c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:439-444 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:458-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java:439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/ParticleSystem.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"91910374f957de9446f9a33df4ef4c6395d99be611e18a2f8a9e002029755f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java:133-145 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java:190-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/particle/VoronoiDiagram.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"093fd05552da73febc2907257649ac4397d76ef46a2f47b74bfc024443509836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): fxgl-samples/src/main/java/advanced/scene3d/Camera3DFollowSample.java:39-49 | fxgl-samples/src/main/java/sandbox/test3d/Collision3DSample.java:47-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/scene3d/Camera3DFollowSample.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"134a98e57e3b6344f0f81d42ca51e06be44ed47f94515ed34ec6eacc7ecca978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java:83-87 | fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java:99-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/animation/AnimatedTextureSample.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03f28fa30057acfb423678755a26288b61cd57a107416ed51ff9d5e7f0f8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java:216-220 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphSample.java:231-235 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/FireworksSample2.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f6a6a202047b635ddfbebe0463ef727ce7f09f629ee77908c786420e7c353b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java:256-263 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java:509-516 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/PrismaticJoint.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a095d191a6ce6ae48fd74a2dd5268e507da301965e6a91c48d0010ed53c634cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJointDef.java:96-103 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJointDef.java:44-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJointDef.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c204eccfe51c03a31be902bb250ad77bcb854d96fa64e8650908460634dbd3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/IsoTiledMapSample.java:42-47 | fxgl-samples/src/main/java/sandbox/TiledMapSample.java:42-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/IsoTiledMapSample.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"600eabfb41867b708d1df611f7d31ad5b926a5e04fc3df52bf248a2af719e84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): fxgl-samples/src/main/java/sandbox/PlatformerSample.java:44-49 | fxgl-samples/src/main/java/sandbox/TiledFlippingSample.java:27-32 | fxgl-samples/src/main/java/sandbox/TiledMapSample.java:34-39 | fxgl-samples/src/main/java/sandbox/anim/AnimSample.java:37-42 | fxgl-samples/src/main/java/sandbox/trade/ShopSample.java:37-42 | fxgl-samples/src/main/java/sandbox/uno/UnoSample.java:55-60 | fxgl-samples/src/main/java/tutorial/BasicGameApp.java:27-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/PlatformerSample.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a815051caa91b26e78778249ec9d52aadfcbd2defeb3042040a47fc4334748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java:141-155 | fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java:210-248 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample.java:200-217 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample2.java:345-362 | fxgl-samples/src/main/java/sandbox/particles/ParticleShowcaseSample3.java:242-259 \u2014 before extracting anything, compare \u0060fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java\u0060 and \u0060fxgl-samples/src/main/java/sandbox/particles/ParticleMorphApp.java\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/CrystalApp2.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3879de39eaa1596a983912f79458b2754a44841d5f59d28f51b3b61246e288d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-samples/src/main/java/sandbox/trade/ArcadeShopSample.java:37-44 | fxgl-samples/src/main/java/sandbox/trade/ShopSample.java:47-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/trade/ArcadeShopSample.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a46a45d319809c1f40db1ecd77b095cda3a14c0a3a04b3f400c0086b3c504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fxgl-io/src/main/java/com/almasb/fxgl/net/Client.java:18-22 | fxgl-io/src/main/java/com/almasb/fxgl/net/Server.java:41-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/java/com/almasb/fxgl/net/Client.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c368d79381b7663871d421d178706a9598f215afabc6eeac2062e2c2da6fa96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:368-375 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:378-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e226ad1b4041b42e3ea3a98e670748caa16eb3c2a3439c39c50cb71decfc3429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:1110-1114 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java:1116-1120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/Collision.java"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ce52294816cc4c589235ee166233001093b7a57218f5b35ce94169aa18fbae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:191-196 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java:247-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/DynamicTree.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df01191548381153af915bcda7d66a95934bfe37247dc4a66ef77877f6ca857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:971-976 | fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java:999-1004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/contacts/ContactSolver.java"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d00d0bd0da3981170b542223ae67ccc455e11b0098510fc18586e4fa073e60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java:59-63 | fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java:75-79 | fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java:91-95 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/particles/PolynomialFunctionSample.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"005c9a9f311c4c160e7615e97107130cae871c516ed5ed06ed6b480237067119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TMXLevelLoader.kt:447-477 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TMXLevelLoader.kt:488-518 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TMXLevelLoader.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7555d6b2bb0254cb6ed7a83cb62a70deaf0a85305e51147cad19f85e39a599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:439-464 | fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:661-684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:439\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"017d977af2fbfa58d88b74a81f1f41722489123dded0eeac7c32e8c24632290d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:114-138 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:340-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df823fdc039987a4a963b89c01d3fcf2f2651929b5550cb01710a7523b8ada69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/intelligence/gesturerecog/HandTrackingFromImageService.kt:47-71 | fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/intelligence/gesturerecog/HandTrackingService.kt:66-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/intelligence/gesturerecog/HandTrackingFromImageService.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e8001fa12e77149a1531ee4e9cf15055af4bfcc7cb311323de5489743b0d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:346-365 | fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:605-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:367\u0060 calls \u0060Scene\u0060 and \u0060fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt:626\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/MainWindow.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c4d74b70d8c7497919f706133c1c110c87da111a394f28faae276d3a2dcd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt:128-145 | fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt:148-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc8b827fca34ab46d0d5dfa55437c9106415b45fed5cfe73afbb5d695f8359d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:199-214 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:335-350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:199\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"087aaa8232065dff382797d5f6853309200890bff3f6c9d288aa37ebcea2526e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): fxgl/src/main/kotlin/com/almasb/fxgl/dev/DevPane.kt:264-278 | fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt:180-195 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl/src/main/kotlin/com/almasb/fxgl/dev/DevPane.kt:264\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dev/DevPane.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc69f0b94fea6eaea72a10d443e4b4e9e7aac005d1e4cd17b48bb67ddc11ca84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/FXGLDefaultMenu.kt:258-272 | fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/FXGLDefaultMenu.kt:303-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/FXGLDefaultMenu.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e63ae52100d1305c689283f8b50015accb51ca952b69b966a9a3b3aea9dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:58-69 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:233-245 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:366-379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:56\u0060 calls \u0060loadImage\u0060 and \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:231\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e566c6d79991fa8090ef76c71b83f8293555903ed920afe8afd86bda5bb50871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:442-455 | fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:465-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:442\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:463\u0060 calls \u0060toExternalForm\u0060 and \u0060fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt:441\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a3e4f690872c1d4226b83566f5bef5e30c096bc6d341cb1f372b13cd5d409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt:63-74 | fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt:109-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/physics/BoundingShape.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a3d95e1de19453f03d8dfb31c2b24c260671f9528d7fb194b32b97ad8d6161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt:59-70 | fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt:84-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a929e2e5aff2fd3ab49c6e85a2c0fcf82587c1dee70f46e7b341f82cf8afb7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/FXGLDialogFactoryServiceProvider.kt:181-190 | fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/FXGLDialogFactoryServiceProvider.kt:205-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/FXGLDialogFactoryServiceProvider.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d348e6a06d9106e7e6a1882eb9958dec49a665102c0cac39cd9ce84687b0dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:133-141 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:226-234 | fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:359-367 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/level/tiled/TilesetLoader.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3fb2c8e3860aaaeb2581c4d415fdca93581b350d3c582786e8c79e8d3ede15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt:111-116 | fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt:145-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/Texture.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a0d50eefd73209100002d9018e069966c3e3f4f3ee22c4a7732072f661fe28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt:78-83 | fxgl/src/main/kotlin/com/almasb/fxgl/dev/DevPane.kt:268-272 | fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt:184-188 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt:69\u0060 calls \u0060Insets\u0060, \u0060Text\u0060 and \u0060fxgl/src/main/kotlin/com/almasb/fxgl/dev/DevPane.kt:266\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8def616836a2d4adbb0b7bd7e21abd2c152c8513aba1b4f8b399c35dd0d17e8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: fxgl-core: fxgl-core: abstractness 0.18, instability 0.00, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6aa257ad5806b6213df7c267af6e07843fc69bdc0754026116410a9eff7aebfe"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UINineSliceSample (LCOM4 4): UINineSliceSample\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/advanced/UINineSliceSample.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d494ca4eb0584bd485baf5354987498d15ff59cc52d6257282c7cc6eb283016"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPoolNonPoolable: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/test/java/com/almasb/fxgl/core/pool/PoolerTest.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c33f46619ec131d65ea65bf76f1e2f030cdf8dc8997d2e0e0a38858aaaef8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // * TODO: node text editing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/EditorActions.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c7a0d1c724ca8a1c1b89208940bb194a27f770c79c333a9541bb3c98f3c161"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow resize only in a single direction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/MainUI.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"090721d632c56c405c43350c2a553f94e4e824a433b143ed63707d094ed7e633"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: configure as appropriate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/NodeView.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f8ad3e42510b4f1f8a840d2db4cfb80c6c0b30a1301ef7be413bd28a7ae53b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: a generic inspector view \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cad179162b7629d6912e8a3adff0a533aa394e5c2d4e834bb7f0c939420e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if NodeView of node changed, then regenerate UI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"07df4b8dc5b8cec042cfd52e18d706d04f3b1d9d20f15082de048ba387a64d32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: turn into generic inspector view API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7708bf47de8fc3d6be57a0d40f4805bea700832e2530b2fd6fd286c79b95fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: duplicated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/ui/NodeInspectorPane.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feeb72a86885834044bc02b2e7642b8a0469194ce968ee28ec08633fe4d9532"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow notifying when FXGL is ready? so we can build UI for example \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/java/com/almasb/fxgl/tools/editor/EditorApp.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adaf8d4b564ab9c9d9408d933f625a8a469c402baa2e968a513535bbf952eb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use service? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/java/com/almasb/fxgl/tools/editor/EditorGameApplication.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d47c90849118c449539884dd0fe3115e302d91783db6a0cf9021be55d6edc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: any other way to check if read-only? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/property/PropertyViews.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4390cc3ceb0ae7c6d0510b83161347eb7703eb13a2233eed54ee16d6d2657f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: read only version \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/property/PropertyViews.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"324e464809de36a01ab6eb8f771ff43deff65c0d2dcb9a8c950dc00a1dbce4ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle read-only version \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/kotlin/com/almasb/fxgl/ui/property/PropertyViews.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad4091cc8d201c82f3a6084a5d4fab5b37eeaa7c9d3bd8267df9821ad246837"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: read-only version? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Point2DPropertyViewFactory.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1226250e56a6a619b668e8d4e3104fb6b545122a77b5954e9008d488cf18fcb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: read-only version? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Vec2PropertyViewFactory.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ff722c999fef6c6438067da7ccdadc8dc5b60ce9266bb44ab95a2a57ef89a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: empty String check when view is updated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-scene/src/main/java/com/almasb/fxgl/ui/property/Vec2PropertyViewFactory.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f791a36295068e1c8bed1a08929d834f748c0eb295d44f1f0f74c54acc06caa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have only server init and only client init code to override \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/net/MultiplayerSample.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f2a5a1586d64fb70c126423c4a0bdce0790433f20daecfd101ef05817281bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: based on anim \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/beatemup/BeatEmUpFactory.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"386068d4a6dd32761a3e484d16da6f0d20db76867934eda5a6640ce9d7ef75cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: spawn, on animation finish? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/beatemup/BeatEmUpSample.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f25aca2e1da082060bc9905b790df53746f356f0f4aab2e8b1b8aa5f8012f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate why client.connectTask().run(), which is synchronous, blocks server... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/test/kotlin/com/almasb/fxgl/net/NetServiceTest.kt"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc478d39956fd0782b2328ebc0fde0de6f7a25b7822755e595904ce05b9bcbdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: exception handling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/kotlin/com/almasb/fxgl/net/udp/UDPClient.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec0b9c8eeb2a7b3f9b618b324aa01a51c8325faab9ccfe1e2513da5ff3e7496"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract into common between UDPServer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/kotlin/com/almasb/fxgl/net/udp/UDPClient.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be8d9c16b0eab57e470345216a6615d5d160ff881ad539e7cdba08af31dd570"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check logic here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/kotlin/com/almasb/fxgl/net/udp/UDPServer.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"002c3c1b6e069a36d4e9254845ff7d8f5b41379f25629ba751befc20c986d293"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check logic here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/java/com/almasb/fxgl/net/tcp/TCPServer.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d22833aa5462ab58f36d21debb02f6240723c7a4defe6eb7c374e16308f68a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract into common between TCPServer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-io/src/main/kotlin/com/almasb/fxgl/net/udp/UDPServer.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"42889504b1844e4a65c3d47f4b6fc78f92c7a68706b25face28f58a987ef706f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/net/ws/RPCService.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e7a1f9df887a62f6dfa4e8e645e939eef5c30225355c1bf94668dd0235f07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/net/ws/RPCService.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a23d176fde953f5f9de42e0abf901868c4bc1fa2e189865c6ff233aaa68d63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapPlanner.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0577d0172c51d20d9c15addabd95fb68c82a2d86a36eba8dcac5422616d0b587"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapPlanner.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bc31ad1a677c972f26e4984cab8cfe57e8a5b0343f5acfe095227676c29cb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce2bec5099dd658eab427d5799ed2cb06911dd67dab6379ba9bbee8037accd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueScene.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0f6ea61f67ab996fbc1eef681df899ae6ec811fa3cefc5d6b04fff133c5924"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this isn\u0027t quite right because accept() is only called when there is data available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/kotlin/com/almasb/fxgl/intelligence/gesturerecog/HandLandmarksView.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b7010461766d6edda45283a62e5954b12304e9e1e2af31cfd3fa6d6b6d77fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: github URLs, e.g. https://raw.githubusercontent.com/AlmasB/FXGL/dev/fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/rpc-common.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/java/com/almasb/fxgl/intelligence/WebAPI.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62328c36df41bfae57ce6585888148d41b7acbf7e52fb01db35093f4c1a034a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unclear why it fails on macOS and linux \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/test/kotlin/com/almasb/fxgl/audio/impl/AudioLoaderTest.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fc7cf5ec49766c490a32d6bf7c3cc8ad332d250d39e746d133a2ebede352f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: other platforms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"917783d26156f4bb58aeae0b0baa0f6e88c13a46b4d4d48a974ef6264e1312d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove hardcoded values \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"788341ae142eec06b3630abb25584c85b908ed3a0aeb4fc38738e56d84f10c77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check before final impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a675b204b0c84cf77592fa04b74f4d653297b434e08ad6f53d8fc270a4e2e9f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uniform vec2 mouse; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51c0cfe7255947d67b9fedbfb32a860e26737b72c85289a41f88e6cb6719878"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expose API, so we know when compiled? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"531373ba8c5437eb4a827266cac322a34a49e1d9e7b11fe9f59f0bb7129c1474"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when added is a UI node, update is never called \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af7fda17205d45486a800e82aa12264836f4674a846205bb25283851f302177"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract FDs from below? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1615ac2090e9f55ef7d4cf20d17d176dcfb7f8a86bcc3132e7b5d1348314504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add int, vec3, vec4, Color? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62ae89ebf08234dfa8ce7e43b62a42bc5562efef5900b91673603dd6f5a73d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: arbitrary value of 10 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6998bedcf829c2feb6a82ee8bf37d1c3b285929c2aa8fbd4f555b1d98a52bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"472ff3db5e41f95799a9ccd8e13b154a746c440c94c8fea372ff71823390ddf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not per GLImageView, but per FXGL lifecycle, so probably managed by Service \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/texture/GLImageView.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ba4988557da9c7629afa1e3dfe03b2ad16ddb4a2adcf5fde37792a0dd588e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: target not .... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/pathfinding/dfs/DFSPathfinder.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ca066f03fd678cf0a125ffaf52e9ca7fbb3f334ac95a4ef4b393bfd843f037"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: other transform properties \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/EntityHelper.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb0e09187a8f38dc956d954db10bfef3b89a5301ebdb95da6499879b6956a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement proper copy(), what to do if a Component is not copyable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/entity/EntityHelper.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1916bde040a9b09f99e21bf88c501ecefb534f19d1c60d2a7b61cfb9e6a7726c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to ensure that points[0] is not (0, 0) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/animation/AnimatedValue.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"02971e9c207d424350d332901a498e4d2aed6bfa3c13e0b5570b8058b0d7b23f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     * TODO: is available, rather than can run. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapAction.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6af70c5c2518e469b1c5611cf8a8541321074f4d274496b476642a208469fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //        // TODO: perform(tpf) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapAction.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76263bb2d886e5b865967ffbeea2a3233e059a9de16a87e6eb6320f21340fb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently only supports boolean values \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/kotlin/com/almasb/fxgl/ai/goap/GoapPlanner.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f12ed2b13fd30159414f152f1ab0ae0f9a8e07286c99e0496bc29726e976bfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wait until libs are loaded and loop entered \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/reflect/ForeignFunctionCaller.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ab55611f934eeba9fcce253e64a86930bf247770029cc4d8d5a09855ed55f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: isLoaded = false? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/reflect/ForeignFunctionCaller.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093dfd6c82f057178f18ab9b3f30f49d6ab702677fe5f2a885d4ac5d0f3a4f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if not loaded ignore? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/core/reflect/ForeignFunctionCaller.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a19ca6a03c05df6ccd723d4ff3cc25eb10c99d122bf707ec4d0b883192b41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is lazy-init, so we need to update it when the mesh changes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/CustomShape3D.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"885d7d95af802b5274792a2e0df55e4f72e89cdd3bb2223cde62751d082e61d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle materials? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Model3D.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82524ff716b97df889c91b6af6b6a427c585c6aa656af704c33cf43e4381377"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once enabled, translate \u0022t\u0022 value should also be dynamically adjusted \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/scene3d/Skybox.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5507bbd710a202cddd3d02f42a3ed51d0c0d206f91a3de48d8bfc9f97352c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how to clean up when the connection dies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b571e8d354c3a24f1e2fccd98c4da0c8d8d28b35e11122cd42f30a5b7fe3f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can (should) we move this to NetworkComponent to act on a per entity basis ... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"697bc21e842834e971c4eb672cd2a86185b310f61bf929628f72d9b8a60b5c62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if no connection in map \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acc59df7b4d26a938c5c24c35f519d7a337ab976dc4cccbc2eb4646e6bd4f55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if not present? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8996edfc8423248d205dcd3a96da641d9c6d69b01caaa3a9af342471c7cb2c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if not available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbef2e15aaeec2d7e496b9a6b0c7909fb5cbe9b7eea8be9fb936c492b0f65574"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show warning if not present \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/multiplayer/MultiplayerService.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce90629dc004e84da5d43f890a9729216da176d05db26c24d5067ec30292cca1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we delegate to incrementQuantity(item, amount) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/inventory/Inventory.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c81b238dd91b577c20d222813998be7ed7363e30df10f0004c58e62c4de3b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: app.onExit() to work properly for embedded shutdown cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dsl/FXGL.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2288ce5e43369ae32b53f820dd83163b777b98799d73465dc8df679a9a3354a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: experimental \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4b5c741df07d5e1fca201a3a1fd88f2f918956f5f3b67b4c64f200ed41cb87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is just a placeholder and needs to be updated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0751c5ce77c11ed0d03e991bd09365fe169cdb590d53fece533c080a343cc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only allow void methods with 0 params for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/dev/editor/EntityInspector.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"56597bf9f027f66a6010d996341b40ac6455f08d5b75a32c0b650c6857171c81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: design key prefixes for dialogue created vars \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueScene.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dedeb7057c491202e253d483ce3dfc80a83a12d55b7416d38048696982b222"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: store audio being played, so we can stop as appropriate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueScene.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4cc572abee11b04e56637a3ca76ec60d6af1b90c69fcafcce62fca024a9fb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract 100 and 0.5? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/GameScene.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"332bf85356c3364379af918ba27f6746f554ca73303cd887c64e6cf463e2afd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract 10? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/GameScene.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d7ecfe9f5926ebb682dc826051498f17054763578cb49bdcc07b1dd6f782d6"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060fxgl-tools/pom.xml\u0060 makes this repository a deployable product (line 88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/pom.xml"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adc3468068d4c5f7780babac20cefd05092b21747abf17746dadb8f4553e92b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ContactID\u0060 spells \u0060ID\u0060 where 28 names in the project spell it \u0060Id\u0060: 28 of 29 names in project fxgl-core spell the token \u0060Id\u0060 (28 of 29; unit: names in project fxgl-core containing \u0060Id\u0060). Peers: TreeCallback.treeCallback(proxyId) (fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/callbacks/TreeCallback.java:48); TreeRayCastCallback.raycastCallback(nodeId) (fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/callbacks/TreeRayCastCallback.java:48); BroadPhase.destroyProxy(proxyId) (fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/BroadPhase.java:28); BroadPhase.moveProxy(proxyId) (fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/BroadPhase.java:34); BroadPhase.touchProxy(proxyId) (fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/broadphase/BroadPhase.java:36). Rename to \u0060ContactId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/collision/ContactID.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dabdb7ce3f522c7f8feb1e55914fd163532f182f9678e43941155102932726"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 8 project(s) overshoot their size bounds, lowering Project Cohesion to 2.5/10. The most over is \u0060fxgl-core\u0060 (38306 LoC, 459 module-visible types across 64 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11ce7b0cc97cbaa2489be536e36621f172f7ad3495702c928a24050dca929f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89245f72702f591ceee2895ac91db7f34eacd6ccadf9a844adba59725dcd7455"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"632f20885ab89946f5d9b2f209c103381d6b2b827b8f0b904d68f17fd7966d66"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"272c87def7095724e5570119a1460c773ed95feb0ca3a4458ccf9b4d733650aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9b14ba2b3cb7f98a623d5810b1fc0362932b9f62485d418c2be0509e703d653"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b278d81316b69ea29b3f868c190a86c55fb5a101c078adc02c2c8d5d5211a03"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b5d48a857375a4314c1074d528cf2265346ca9e5d2a1e7e742ad13473134c89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41ebed28c47e644abe79ca0933be261399ba14849066fa14454201659118e986"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"794d7c7892a3f17453c9965688862039ceeb53dbe03a25e59ac16fe6e3bdbac1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8babd13034a839e8c651246757e70e6701f74578a7bebfb1f1d70061410f9c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb454bb3f3b1c308b1569da319c5eccbb680e900a42ff9d2cbf8a45aa6888887"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c244b817648516eba2794d2d1e0f397e49955ac27bd7f974ef8eb40a2e31dc5d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c0a07683a7e4312b8c053e5db87bce5b847f5cc62b3281139278dedd01180d0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"927db2f0c7d8f55b51ac1e67149541aaba948a40d0c16dfe671af2de1f49fd38"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6a3a577f5416ae8061ca572db321cced0c615b277e8389461f747debeb72bc5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe8221462fb636569ca9afc25330b68bf65cc7bee1b32ec4b57c55cfa928be1c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6887b3b64a6a3d32a9d4a75b0d8bfd28f293a1ee938a9a0c141e1daff2b42f7e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f8b45fdac4f5447d5e67d797acd67fe20058797d4f2991c7eced6ebebd0d3a1"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1c98913a19cfbe084d40acc8e0e48435c8d11ae4a315acc135a5cf64145f05a"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed6a0088d0ea286a3a38e574a65e212cdf36f2fb18f113fb4e40477d11d8d380"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cb2314dbdba7ec681865f5845a7b8499b1df608ef2db48570d10622520e3929"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa50a14f945608123d6dc39b9dd86424f30861406ec55d46b43a08df0718d1d5"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 349 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 349 of the 743 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: fxgl-samples/src/main/java/sandbox/benchmark/TiledBenchmarkSample.java, fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt, fxgl-samples/src/main/kotlin/sandbox/view/DevVarSample.kt. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/benchmark/TiledBenchmarkSample.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6562f9c64d037b4429e32c1a18ae628d82c788c6d2832815434f50a241693b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/anim/ScaleAndRotateSample.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb66dc3125f5e04044ba1d29d3a91c3d7f74f73a3f4a584f7e087c59c4388ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/kotlin/sandbox/view/DevVarSample.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78864ec47b47d89af8c56d65d75a93d82ae30a75c2f849e7ff8805b10684a41"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd8cb1512612e97d2e7af8a6688d19c24ff385d3e0b82a895484977f00166d06"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ce77019fa1e0f4ee7f6f640779b8d48aa5d765391c36a86c1f6ddd2fcc84fec"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"751063e6281f6b3a05f8288d6f17996aa75d1310492d93a25a336735471d5ba2"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/tts/index.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaa633ab4371e6fae73c2e5fccf58d77fd75b40371db8b85b5385ce82c9f4b3"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba6bede7e33ae1a31749aebedcfce0b08d118cf681e15fb1a1da392fe1f9a8f"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6afe82d037a75dc6bd5552aa631227a529482d4bb2a32688e1c55a9e6c6c5da"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8635ca1940e01dee96ebf6731b254f1027c557500f6a4d7086d4976fee097f"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e221174da3fce3dba2e0b7d5a28889af0441c542b0deb9272464285eda83ad"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5848f231f1afcb60f8583ecd7350dc6b436150179b027fcb8891018ddc7bed"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc6a10dedc199e276cc0081183f7baca717d606dbea89ee4675518c137614c"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc2d39a8c22d64430565afaa532f7fceeabc3c7841bcc1185e50eeee527394b"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba8be4aa9b822ccca828bf3914502515e7a22026211dc6c3b718e48e6a86215"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/index.html"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c444b3be8a96c0be529e954f999df01b470c456d54a3328fad4acbbaefa3fe1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/tts/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6d44aaa5ec5659515c42fa5468e11832dd6ae7f61378f185ad5aac91eb14d3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IWorldPool (24 abstract methods): \u0060IWorldPool\u0060 declares 24 abstract methods: \u0060getChainCircleContactStack\u0060, \u0060getChainPolyContactStack\u0060, \u0060getCircleContactStack\u0060, \u0060getCollision\u0060, \u0060getDistance\u0060, \u0060getEdgeCircleContactStack\u0060, \u0060getEdgePolyContactStack\u0060, \u0060getPolyCircleContactStack\u0060, \u0060getPolyContactStack\u0060, \u0060getTimeOfImpact\u0060, \u0060getVec2Array\u0060, \u0060popMat22\u0060, \u0060popMat22\u0060, \u0060popMat33\u0060, \u0060popRot\u0060, \u0060popVec2\u0060, \u0060popVec2\u0060, \u0060popVec3\u0060, \u0060popVec3\u0060, \u0060pushMat22\u0060, \u0060pushMat33\u0060, \u0060pushRot\u0060, \u0060pushVec2\u0060, \u0060pushVec3\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 24 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/pooling/IWorldPool.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4ec8d47eca1ce12463be6460349f90bc3e2fe8e69e43e4fc7d6ff2b4e283b4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/latest_jdk.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 14 plain JS \u2014 the untyped files are fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js, fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js, fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js, fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/rpc-common.js, fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/speechrecog/script.js, fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/tts/script.js (\u002B8 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js:20 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 333 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"675e56e43041373f6247dc561cf07562e16588f40efb74ab5089e3aa1bc640f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js:24 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 233 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2c5f83256b4888efb0b0551292e1a48631533f55c8ba0df40349cb0740ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js:96 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js:163 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js:101 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/rpc-common.js:1 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff16fd67b80c74999a5b002d5238326d329ad7c0836f368f61ece38c4829b85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js:29 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js:28 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js:29 \u00B7 fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/tts/script.js:22 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf5dc692eca002a44454f81358884a63a1ef822e17b51d4f030c982a8de1353"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027FUNCTION_RETURN_TAG\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb801408a160e8f11e373f51b54de0aec0b81df1b1c507eef4b653251b22b439"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027rpcReturn\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/script.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"293e92e0207dde8dc38abc523d276d81c24027f6d37b2eccb5fbd96460c13040"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027FUNCTION_RETURN_TAG\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c685b2db0c0caf2b7c799ebb03d66d538f68ed646c0f06a194d18438d279c6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027rpcReturn\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f414d4816dc19c182a18c55bca4a3c64134b590a579cbf2e19be38f8eaf2bca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027FUNCTION_RETURN_TAG\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"41929e0cde936e310110c02d6dbaefd2db3bf4e216c21e0255b6f88b2661cbd1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027rpcReturn\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/handtracking/script.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17992b7e0931e7be4c7331e90cd4661872924c8e35c14347979bb49f93f37c8"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 6 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/facedetect/index.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7691b200d8f541a7f129efc3185adf5cb7214871e2b6e93fa252e0c9a81243"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ball.getRightX() == paddle2.getX() \u0026\u0026 ball.getY() \u003C paddle2.getBottomY() \u0026\u0026 ball.getBottomY() \u003E paddle2.getY()\u0060 appears character-identically in 2 files \u2014 fxgl-samples/src/main/java/tutorial/BreakoutApp.java, fxgl-samples/src/main/java/tutorial/PongApp.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf5efe2d2b672464d9a9f3173d64e566aec0395d63f377e17549dc2097d2480"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ball.getX() == paddle1.getRightX() \u0026\u0026 ball.getY() \u003C paddle1.getBottomY() \u0026\u0026 ball.getBottomY() \u003E paddle1.getY()\u0060 appears character-identically in 2 files \u2014 fxgl-samples/src/main/java/tutorial/BreakoutApp.java, fxgl-samples/src/main/java/tutorial/PongApp.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/tutorial/BreakoutApp.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"00426be332e4159d5291111ceeab9fc645537fe53bdd6c7b28261006c672137b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060positionError \u003C= JBoxSettings.linearSlop \u0026\u0026 angularError \u003C= JBoxSettings.angularSlop\u0060 appears character-identically in 2 files \u2014 fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java, fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/WeldJoint.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-core/src/main/java/com/almasb/fxgl/physics/box2d/dynamics/joints/RevoluteJoint.java"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab9745e465546f2bf5155df2213b0636ec5f7a330069a8874cf1d113de9e8f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.source === node || it.target === node\u0060 appears character-identically in 2 files \u2014 fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/EditorActions.kt, fxgl/src/main/kotlin/com/almasb/fxgl/cutscene/dialogue/DialogueGraph.kt. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-tools/src/main/kotlin/com/almasb/fxgl/tools/dialogues/EditorActions.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49187b8d4979a6068b7f142b15a81bac1bfab6b7eeda824b02442f627500115"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/sandbox/ColoringSample.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59639498795204e621adaca5c9374d472f1e9f55abfbbda6c19fa3a7dce311c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/PhysicsPlaygroundSample.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4ac0fa16c9c7c8d38c66a7e04a231f4dfc39c257d889012613de86f27555fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch((err) =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-intelligence/src/main/resources/com/almasb/fxgl/intelligence/gesturerecog/script.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7786b58c044bca27bb503693bff9be90577162a1ff8a36e8b8d6f97494881bca"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/75 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060getItemQuantity\u0060 answers \u00600\u0060 when \u0060IllegalArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl/src/main/kotlin/com/almasb/fxgl/inventory/Inventory.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0465384d8c3a7b13fa2226d9e8e2fb41595f81b5e951d1593fec09fcfed1f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getFloat\u0060 swallows every exception into \u0060return 0.2f\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fxgl-samples/src/main/java/intermediate/PhysicsPlaygroundSample.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3b3e9f85a2346e9f67b3328344fe54cb736b0bbfc71e1098d5d727046d2423"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":30,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}