{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"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":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"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":"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":"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":"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":"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":"Pixels3dHook.mounted (cyclomatic 38): Pixels3dHook.mounted has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 209, a function literal at line 233, a function literal at line 723, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec7a8e1d2cfef6e3ae47b7377d59ccea808a8dec61aa050e7aae1cab0087886"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallationConsoleComponent.assign_transport_view (cyclomatic 30): InstallationConsoleComponent.assign_transport_view has cyclomatic complexity 30 (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":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6add10f4ed061c0e0b874921b1bb4b34c4b1838b7f0cd74e83abcb410ac974"}},{"ruleId":"D1","level":"warning","message":{"text":"Sphere.build_motion_params (cyclomatic 24): Sphere.build_motion_params has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun/transform/sphere.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9c8f452ae855ac7dec3049ef97c780a4413703b62e891fe0f2c1714819b6f6"}},{"ruleId":"D1","level":"warning","message":{"text":"mounted (cyclomatic 22): mounted has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (_onPointerDown, a function literal at line 290, restoreSize, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/index.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"268c068f46b834e2c3cbf939021cca09b89181f1ec2a82abd1cbc4712ae725bc"}},{"ruleId":"D1","level":"warning","message":{"text":"PixelsHook.mounted (cyclomatic 20): PixelsHook.mounted has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (draw, onPointerMove, scheduleDraw, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"951019cff7ba404f43d9dca590909971d175b9d233e464f587217fc199e3384c"}},{"ruleId":"D1","level":"warning","message":{"text":"NationHook.mounted (cyclomatic 20): NationHook.mounted has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 303, draw, a function literal at line 364, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af70a9e0117234f394dd61a8d3b1f3c67573c68ec7e5b72a5425eaa3ff88f73"}},{"ruleId":"D1","level":"warning","message":{"text":"humanComponents.registerHumanComponents (cyclomatic 20): humanComponents.registerHumanComponents has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 44, 85, 154, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/humanComponents.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b300dfa154b6068a9fb1ff9bf995cf51dd6ade2b8b55cbf4e0636dedfa21fb1"}},{"ruleId":"D1","level":"warning","message":{"text":"PixelFun.summary_for_preset (cyclomatic 18): PixelFun.summary_for_preset has cyclomatic complexity 18 (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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9234b66155c532fdabbbc50b6012877c8d8bbfe2dbd5370af3b16887cdb80506"}},{"ruleId":"D1","level":"warning","message":{"text":"Mixer.build_display_info (cyclomatic 16): Mixer.build_display_info has cyclomatic complexity 16 (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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"222f03a1cda558a2dad00d896c9678ed305d454480c2a546bc2de1983fb827c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Glowworms.handle_worm_phase (cognitive 35): Glowworms.handle_worm_phase has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective/animations/glowworms.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0705ae4450eabce99996926a6a16119eb933eed5ea91108c8b2b5f2cf047a458"}},{"ruleId":"D2","level":"warning","message":{"text":"Pixels3dHook.mounted (cognitive 31): Pixels3dHook.mounted has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 8 (10 pts), match/switch 2, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 6 function items inside it that branch (animate, a function literal at line 723, updateMeshes, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c148489da34c1a5644a686abbd2e8a5e286dfe81c054453ababc7107eb6d7d54"}},{"ruleId":"D2","level":"warning","message":{"text":"mounted (cognitive 29): mounted has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 7, ternaries 2 (nesting depth added 5). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 290, _onPointerDown, restoreSize, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/index.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1127a4806dd3d07523e897ce932030093da07ac72a75814d450eec757317ecad"}},{"ruleId":"D2","level":"warning","message":{"text":"PixelFun.summary_for_preset (cognitive 28): PixelFun.summary_for_preset has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (21 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 6). 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a6b91e73d0593c43312b9340d11bf5f2616181cf85cf880874997c99e5138d"}},{"ruleId":"D2","level":"warning","message":{"text":"Sphere.build_motion_params (cognitive 27): Sphere.build_motion_params has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 20, if/else 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun/transform/sphere.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dbfd84d7f2b49e597df40db3feae030ee03845ff2dc2f2522450a103d6919d"}},{"ruleId":"D2","level":"warning","message":{"text":"Glowworms.check_gravity (cognitive 25): Glowworms.check_gravity has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (4 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":"octopus/lib/octopus/apps/collective/animations/glowworms.ex"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a260a53be0fbca03af3e0974e3c2420f7e2fc9d56f67db058420bda2388f50"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallationConsoleComponent.assign_transport_view (cognitive 22): InstallationConsoleComponent.assign_transport_view has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 8, match/switch 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":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe38ef4f4d69467044abf1f43f6cf5dcaab49da65832539e87b8942b69194bc"}},{"ruleId":"D2","level":"warning","message":{"text":"PixelFun.effective_transform_values (cognitive 21): PixelFun.effective_transform_values has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, match/switch 2 (4 pts) (nesting depth added 4). 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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a7c6affe9e8478e534eacc43c8f60bad31abd2365c4232347867c3a26821d"}},{"ruleId":"D2","level":"warning","message":{"text":"NationHook.mounted (cognitive 21): NationHook.mounted has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 303, a function literal at line 364, draw, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1da58773fb8dc64f3e1895e79d179e71e0be38dc29831623f01880e72d7b55"}},{"ruleId":"D2","level":"warning","message":{"text":"humanComponents.registerHumanComponents (cognitive 21): humanComponents.registerHumanComponents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (6 pts), loops 4, boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 44, 85, 154, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/humanComponents.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bd692144ff23fcca3a125b207132650e508098bbb44437628460190b6765bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Sim.move_grain (cognitive 19): Sim.move_grain has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 5 (6 pts) (nesting depth added 10). 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. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/sand/sim.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32238809955774fb12fbeba4846096b652adb8904d081b90bbeadbc2b06ee55"}},{"ruleId":"D2","level":"warning","message":{"text":"PixelsHook.mounted (cognitive 19): PixelsHook.mounted has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 5, loops 1 (2 pts), ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function items inside it that branch (draw, onPointerMove, scheduleDraw, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b93350eec17d6697fdc0b2de67396b6c49bf2501cde844f104f478d268d582d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/pixel_fun.ex: FileTooLong \u2014 2476 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 143 functions. The bar is 500 significant lines; this is 1976 over it, 4.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54940aa91abce21af2025c73cca7e2687ba94eb7c20fee8e502b9cf9806b424b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/radar_live.ex: FileTooLong \u2014 2292 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 113 functions. The bar is 500 significant lines; this is 1792 over it, 4.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/radar_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f11cb171a82d60a70aad66b5faf77acb933c20c966edbd8b9c2d4bcbac3196"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Pixels3dHook.mounted: MethodTooLong \u2014 mounted runs 452 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 352 over it, 4.52\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":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a0c0630fef0d0c7acfe56dc2c5d6d39ec2224255045d70fe466bc129ec0806"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/console_components.ex: FileTooLong \u2014 1560 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 66 functions. The bar is 500 significant lines; this is 1060 over it, 3.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd72c7d4cc40d271dd91203ae214eb9b2919a58304b58ee9a6a150d4f49dffbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: font/blinkenlights_regular.ex: FileTooLong \u2014 1501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1001 over it, 3.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/font/blinkenlights_regular.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48601346fb5c5328e3f7a09cf76bb12298f1932adf452dd47a1dd2f5fa0bf009"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: font/blinkenlights_bold.ex: FileTooLong \u2014 1493 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 993 over it, 2.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/font/blinkenlights_bold.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d368b82909775382fa322fdd2224795927a7f7c8816923cf1de16e5b86c30e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/pixels3daframe.ts: FileTooLong \u2014 1320 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: Pixels3dAframeHook (680-1824). The bar is 500 significant lines; this is 820 over it, 2.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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8812226cd0ef9cae1e55a9d5c4dc1f979b249e78db62ad712595b2166add9f09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/collective.ex: FileTooLong \u2014 1229 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 729 over it, 2.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"165663eb9fcf5efc0901e92e267ddeaff87e44f756365c00a24df1a81ad6d8e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/installation_console_component.ex: FileTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 575 over it, 2.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52e9c798830bb2a17be3bda49a5fc5e0fcb5bdc58d38251d8337ac33f6b5df1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: octopus/installation_transport.ex: FileTooLong \u2014 1058 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 116 functions. The bar is 500 significant lines; this is 558 over it, 2.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50de53695e18ab93335e496430d108e343ff032a85c19038391eb3b8e0b9b66f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pixels3dAframeHook: ClassTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 432 over it, 2.08\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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1163984ee0c3edf05923977c9d949c6c22484b46dccbd826f7b54c2633125aca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: octopus/radar.ex: FileTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 126 functions. The bar is 500 significant lines; this is 506 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"089e8f23df75c532e749352608de58a91f6a9f588a4dccf23f98369a8cbc88af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/sand.ex: FileTooLong \u2014 923 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 47 functions. The bar is 500 significant lines; this is 423 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/sand.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"758ff3003064a499ea55a9dfcd6054fc82f3a846411102d5c23d3f4a629a47ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NationHook.mounted: MethodTooLong \u2014 mounted runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ff00eacc07fa9d02a2da722c228a4e3b9828017595714f61b9939a81852784"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: octopus/mixer.ex: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 41 functions. The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df430ca770289e2005506a5033b4ac66227917f2360835bcc1d2486999679aea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Storm: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective/animations/storm.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75576b6f906e19946d0737749df34b80ae1a6c7b2177586e89bee2b0492ca3a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: octopus/installation.ex: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 231 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b3fa77e91d72596321f49a0f4a4da04c3aa6cdf6fd2821e76d585a3bdca7c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: radar/sensor.ex: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 48 functions. The bar is 500 significant lines; this is 226 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/sensor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d855608f0c785502798be191e8c3e27b0546ab59ed6b21c50cd229d43b7f1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/wood.ex: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/wood.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061968c3e87c78868e51f056ab10cf17ffbfcd007014ce1773962af73a9bcc0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: humanComponents.registerHumanComponents: FunctionTooLong \u2014 registerHumanComponents runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"octopus/assets/js/hooks/humanComponents.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d15305b8ad03a6624dabb3fddd397e516b0578f707e3f011a37447682e5e6be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PixelsHook.mounted: MethodTooLong \u2014 mounted runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ba15f05be7da20f5ddaa111af51486a3bc308b978b02e6982aab88257008ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Sim: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/sand/sim.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93148c27cb4773baa5545ce50c24cc8c1c69e3b6c791edb3152c202ec0af8357"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: octopus/canvas.ex: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 37 functions. The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"007ecbbb4299912f95d4dcef4d7a6ad083b9957a1fec6c77046e43b3433e3e48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/matrix.ex: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/matrix.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa63b20b3fa4049bd1ffea0dee1e5ede65fb8f9e9c681ea6d95cb946587f5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Fire: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/fire.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4750b81c657a5c2082deedccb04ff06205fce21462c0a7b294cd7b8ff77168c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mock/world.ex: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 58 functions. The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/mock/world.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e2e7722a999e66b5fe03b31dbe1d76ee798b0fa2b9dd8190c4f530cd565967"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/pixie_debug.ex: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 40 functions. The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixie_debug.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb85adfcb68888f55a99b161021681931446863e05305b5bc4adb4e64c4ade72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/radar_debug_live.ex: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 31 functions. The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/radar_debug_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3765fc348dd0d0a9df637d0794b3c12d821c1bf512210bd5dffbb52591ebfaec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AppModePresets: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/app_mode_presets.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f20e6ffa5698227972202e9bd3c6fc1a79b6665675b7d139af6722f53f663e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Breath: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cdc58a1b4711658263630f05ea0fdfe2fa17bf60530b3fae68dea7d1369913"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Pixels3dHook: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 53 over it, 1.13\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":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36e96b96615636dc8365751d897ce4eb7be55fa68df2833a48b726819842cde"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Broadcaster: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/broadcaster.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ead2bff6775ed9f0c6fdc02f339d65318954606b6d7e99d8d68ca3d80ab132b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: live/pixels_live.ex: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/pixels_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61ff5d2028ebcb5e524aaf8822aa2f4e90fe698e163036a9261daf2d76cf899"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: SparkleMist: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/sparkle_mist.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fb788063f0e0b44164c97e66df4c3b2acd0d3f030b0ce583536638e897ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/pixels3d.ts: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Pixels3dHook (127-769). The bar is 500 significant lines; this is 33 over it, 1.07\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":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"870403e2cbbc298982db3718ca38706dda9e988fb94bef30206dbc78a0cc43bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apps/world_cup_final.ex: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 51 functions. The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/world_cup_final.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e502b741606b08287f9c03703766f9c60fa4c6209ed899b9027130bb99774330"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Pixels3dAframeHook.registerComponents: MethodTooLong \u2014 registerComponents 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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f80fe261e20e3b51398a5bb90386eb92da27df403639aab276ab01095c19ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 234 shared lines): octopus/lib/octopus/apps/supermario/level.ex:343-1326 | octopus/lib/octopus/apps/supermario/level.ex:1330-2315 | octopus/lib/octopus/apps/supermario/level.ex:2319-3304 | octopus/lib/octopus/apps/supermario/level.ex:3308-4293 \u2014 These 4 members are variants of one another: a block of 234 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf7cb2f651b3ae317abf793c0fa4d35c2660f7d0dec2edf25111ed9c905eebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:341-348 | octopus/lib/octopus/apps/pixel_fun/gradient_palettes.ex:114-121 \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":"octopus/lib/octopus/apps/collective/animations/lava_lamp.ex"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9212eb3ff483edf57ed1778d6c46a0b9663b423f4e95a11cc7dddd3b077467"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): octopus/lib/octopus/apps/collective/animations/breath.ex:294-306 | octopus/lib/octopus/apps/collective/animations/dots.ex:191-203 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:56-78 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:124-135 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:177-189 | octopus/lib/octopus/apps/collective/animations/storm.ex:431-443 \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":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4938026b8eef15141c035f37c9e21efce31af913644642683baa6f3da2628446"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): octopus/lib/octopus/mixer.ex:573-597 | octopus/lib/octopus/mixer.ex:602-630 | octopus/lib/octopus/mixer.ex:646-693 | octopus/lib/octopus/mixer.ex:706-739 \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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee6cc4a2f60c12571a98834512ce5519e79fcf3850dcf10fb315d7e0d27ef5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): octopus/lib/octopus_web/components/app_config_component.ex:99-147 | octopus/lib/octopus_web/components/global_params_component.ex:129-142 | octopus/lib/octopus_web/components/sim3d_params_component.ex:79-103 | octopus/lib/octopus_web/components/wood_config_component.ex:87-125 \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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6eb09ad2c6385e5e978bbf8873084bd0a6c8beaec54ad1c5d667961d7a3ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): octopus/lib/octopus/apps/triple_tla.ex:344-399 | octopus/lib/octopus/apps/triple_tla.ex:403-462 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"octopus/lib/octopus/apps/triple_tla.ex"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63343dc5bbe60bbc4e7b24aab9b5edbd8f39b9a37ee04290f3f673021d93576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): octopus/lib/octopus/apps/pixel_fun.ex:2227-2278 | octopus/lib/octopus/apps/pixel_fun.ex:2283-2331 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c5ebfee960ec1b13e4bbe15c546691e504e6768c7b85f2e1fc0726183ecb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): octopus/lib/octopus/hardware/untangle.ex:32-72 | octopus/lib/octopus/hardware/untangle.ex:80-119 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"octopus/lib/octopus/hardware/untangle.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af0b974b22b17b10ec8d8c2dfe4bb00b7e25eb6a828a1d522c8e1b90bcf24b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): octopus/lib/octopus_web/live/nation_live.ex:261-280 | octopus/lib/octopus_web/live/radar_live.ex:2080-2098 \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":"octopus/lib/octopus_web/live/nation_live.ex"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ae96e47c51050d0b69386f88d3c2261512c146c7b87f76f5e5a0fab7d17cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): octopus/lib/octopus/apps/matrix.ex:454-513 | octopus/lib/octopus/apps/shape_shifter.ex:58-117 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"octopus/lib/octopus/apps/matrix.ex"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9665ad71bdf28aaa79430bbe9430483a8760543cdb613264cfdbae5aa63d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): octopus/lib/octopus/radar/track_merge.ex:101-123 | octopus/lib/octopus_web/live/radar_live.ex:2244-2264 \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":"octopus/lib/octopus/radar/track_merge.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605c7f81640586a220ceab936265eb55f5a54bbf217ff979711a7c7b5a1708f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): octopus/lib/octopus/apps/collective/animations/glowworms.ex:130-159 | octopus/lib/octopus/apps/collective/animations/glowworms.ex:206-230 \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":"octopus/lib/octopus/apps/collective/animations/glowworms.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce3974cf394dc4da3b548e84e736c0edc25c1f4bc8d4283b58321cc352fc4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): octopus/lib/octopus/apps/fire.ex:141-196 | octopus/lib/octopus/apps/world_cup_final.ex:128-176 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"octopus/lib/octopus/apps/fire.ex"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cba55d3f62480cfd8c3692f962b6310d74583281f8c42ef0b77bfa5b2f1824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/apps/fire.ex:214-221 | octopus/lib/octopus/apps/perlin_noise.ex:133-140 \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":"octopus/lib/octopus/apps/fire.ex"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365c2d40df2d0819aa891cdb93126457d6e57b2825fca1c1bfc8210d9133619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): octopus/lib/octopus/apps/supermario/game.ex:404-423 | octopus/lib/octopus/apps/webpanimation.ex:125-151 \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":"octopus/lib/octopus/apps/supermario/game.ex"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"648d49c8ddf9aaf90a66dc79f8840c5bfdb45022eac5421e8b8a655f071e9dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): octopus/lib/octopus/canvas.ex:824-843 | octopus/lib/octopus/canvas.ex:847-866 \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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"3478edf02eb7911fde6b07f7b3fa5f8311b6c503671313baa4b93632ddd44d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): octopus/lib/octopus/apps/supermario/animation/completed.ex:17-32 | octopus/lib/octopus/apps/supermario/animation/game_over.ex:17-32 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"octopus/lib/octopus/apps/supermario/animation/completed.ex"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d542bc424cc263e2f89f2e94dc6faccbc3fa7a42d8cff45cc489d551af331e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): octopus/lib/octopus/apps/whackamole/game.ex:558-583 | octopus/lib/octopus/apps/whackamole/game.ex:588-605 \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":"octopus/lib/octopus/apps/whackamole/game.ex"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"811ca16b7cf1c2aefbb56bda271214f22cabf86a9ff5911b8416b1b6a35284ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): octopus/lib/octopus/apps/whackamole.ex:139-161 | octopus/lib/octopus/apps/whackamole.ex:166-190 | octopus/lib/octopus/apps/whackamole/game.ex:64-86 | octopus/lib/octopus/apps/whackamole/game.ex:609-628 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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":"octopus/lib/octopus/apps/whackamole.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"df906346ea00979f223ace11e36cc7769ba17af30c02463986b3fe51660c198e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): octopus/lib/octopus/radar/sensor.ex:732-754 | octopus/lib/octopus/radar/sensor.ex:812-838 \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":"octopus/lib/octopus/radar/sensor.ex"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fae894cd49951b261a00962af82c79cf32f09dcd5d8d7a411a010ef12f728ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): octopus/lib/octopus/apps/ten_letters.ex:217-249 | octopus/lib/octopus/apps/triple_tla.ex:301-335 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94cbef373c9b5bd662ab99d524b7da3db03ad42c26e70595b21ba911371a951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): octopus/lib/octopus/apps/ocean.ex:366-397 | octopus/lib/octopus/apps/ocean.ex:404-434 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"octopus/lib/octopus/apps/ocean.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0578a0b2a68212d4ca8385012ee176496d47d843997479dd0561fe15494c840f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/apps/fire.ex:68-75 | octopus/lib/octopus/apps/world_cup_final.ex:89-96 \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":"octopus/lib/octopus/apps/fire.ex"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8038a2cd6cf93f386fc560619d48f2bfcd203ffc232b4bffe7e4509e926dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): octopus/lib/octopus/apps/pixel_fun.ex:2877-2899 | octopus/lib/octopus/apps/pixel_fun.ex:2903-2922 \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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c02cf83b3675cc5d22578da02ae68062dab27f4a8bcd949e4b8b96c219e6237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): octopus/lib/octopus/apps/whackamole/game.ex:158-187 | octopus/lib/octopus/apps/whackamole/game.ex:208-243 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"octopus/lib/octopus/apps/whackamole/game.ex"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8132d17534a5396101fc0b32bc9e9349b3e84c798ed6b10ebdc9c8e611a5d8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): octopus/lib/octopus/apps/collective/animations/breath.ex:384-394 | octopus/lib/octopus/apps/collective/animations/dots.ex:315-325 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:145-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b198aa55abe0f992e147262df8b418d83777f40ba71a72724cb79e39527583d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): octopus/lib/octopus/apps/collective.ex:61-96 | octopus/lib/octopus/apps/ocean.ex:77-105 | octopus/lib/octopus/apps/perlin_noise.ex:29-66 | octopus/lib/octopus/apps/sparkle_mist.ex:45-82 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a9d1367d036fb8cc0dd43dde567ce3409f9cea4941e4dd65e2c657cb112062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): octopus/lib/octopus_web/components/app_config_component.ex:151-163 | octopus/lib/octopus_web/components/pixel_fun_config_component.ex:345-354 | octopus/lib/octopus_web/components/wood_config_component.ex:129-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb17b3a0eac6a839b9a0ac3cfa92f0f7bca338982b61008ecf72bd0ac289dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): octopus/lib/octopus/mixer.ex:1005-1025 | octopus/lib/octopus/mixer.ex:1035-1056 \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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f207fadef959d42a630d18816d162b32960470500e3549164e28450d5c19f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): octopus/lib/octopus/radar/stats.ex:81-101 | octopus/lib/octopus/radar/status_history.ex:54-69 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"octopus/lib/octopus/radar/stats.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58552fac75d8d8193b4a4aba1f49783d23fa035418fc5d1cbe46155b0f720ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): octopus/lib/octopus/playlist_scheduler.ex:118-137 | octopus/lib/octopus/playlist_scheduler.ex:141-158 \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":"octopus/lib/octopus/playlist_scheduler.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d49746dfbbfd1fb22744069cb0505fd918d42ddb1808d2cd6c3c8c44fef5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): octopus/lib/octopus/apps/circular_clock.ex:432-441 | octopus/lib/octopus/apps/circular_clock.ex:446-459 \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":"octopus/lib/octopus/apps/circular_clock.ex"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1ffee4b5bfe0d17fcf8df5edbdfeec30cd1b25fa53ad48160f12484750ed8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): octopus/lib/octopus/canvas.ex:451-478 | octopus/lib/octopus/canvas.ex:482-509 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2325ceb0c382e25197df3f0db6c2f5cf371446a619d320697e5705924b78408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/radar/mock/world.ex:716-723 | octopus/lib/octopus/radar/mock/world.ex:731-738 \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":"octopus/lib/octopus/radar/mock/world.ex"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c422544f4176e9f7dd9b108275c030c4c6ddac5d85e7330d2dafde8d99e6a658"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): octopus/lib/octopus/apps/pixie_debug.ex:706-709 | octopus/lib/octopus/apps/wood.ex:759-762 \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":"octopus/lib/octopus/apps/pixie_debug.ex"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b8939302274f5e2f659c4bb5610304aecf2621ebb7741fa5932b5ffddd961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): octopus/lib/octopus/radar/mock/world.ex:441-451 | octopus/lib/octopus/radar/mock/world.ex:458-471 \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":"octopus/lib/octopus/radar/mock/world.ex"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b21bc0efac1a7711893bf1deffa793a7d8b4cba859d24b769bc80f0ca97050"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): octopus/lib/octopus/radar/sensor.ex:357-374 | octopus/lib/octopus/radar/sensor.ex:378-389 \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":"octopus/lib/octopus/radar/sensor.ex"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a126844e3dc374f56c509ed8253c7c63e7e42d01460a1fc39406ff89db05e9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): octopus/lib/octopus/apps/pixel_fun.ex:1535-1547 | octopus/lib/octopus/apps/pixel_fun.ex:1581-1593 \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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db5a49ad6b1c53f5f0e9ee3e619b763ee3c56c8bf3e0873df05b2a1b9fb68bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): octopus/lib/octopus/canvas.ex:64-70 | octopus/lib/octopus/canvas.ex:74-80 \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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59408c454354dfa87bb4f1188b8bac2ee003ec3c26e685d5433ee339984b5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus_web/components/console_components.ex:1479-1488 | octopus/lib/octopus_web/components/pixel_fun_config_component.ex:400-407 \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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd06446cf3a122c1facde4d3e832b6fd3a67d291db44ab77ddef7dcf0ffee30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): octopus/lib/octopus/apps/pixel_fun.ex:1551-1563 | octopus/lib/octopus/apps/pixel_fun.ex:1597-1609 \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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5738a6cc001da58ffa10ed10a1f56f96995ead7ea2058f413a3459fe8cc9e504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): octopus/lib/octopus/canvas.ex:212-222 | octopus/lib/octopus/canvas.ex:226-234 | octopus/lib/octopus/canvas.ex:242-250 | octopus/lib/octopus/canvas.ex:254-262 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ac9f59aab6ecd61929828f21612edb58d723667f3fc7b2ad07503364524ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): octopus/lib/octopus/mixer.ex:191-211 | octopus/lib/octopus/mixer.ex:219-239 \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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c613593787245fecb1db922cc5f0b86406caf984c770e94425d5bc7183d6582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): octopus/lib/octopus_web/live/radar_debug_live.ex:159-174 | octopus/lib/octopus_web/live/radar_live.ex:414-430 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"octopus/lib/octopus_web/live/radar_debug_live.ex"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab717f1cd1b4e424f071ff38b2e4dd5e9a9e0cd88224df051979f2e480c344"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): octopus/lib/octopus/apps/whackamole.ex:311-332 | octopus/lib/octopus/apps/whackamole.ex:337-358 | octopus/lib/octopus/apps/whackamole.ex:430-453 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"octopus/lib/octopus/apps/whackamole.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c200a6ca0ceaa252f4fc96eee23c76ead83da6e38626cbdfdaa1f8d52ae5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/radar/read_response.ex:130-137 | octopus/lib/octopus/radar/read_response.ex:141-149 \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":"octopus/lib/octopus/radar/read_response.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a975d484eb3f5901250606e891ad95160e7e16068d48557bc910cee0db6a917"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): octopus/lib/octopus/radar.ex:1117-1131 | octopus/lib/octopus/radar.ex:1142-1153 \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":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f224c9ea4e6119a72dceed8926b1efe069c831383406fa459590f850fc79dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): octopus/lib/octopus/radar/sensor_transition.ex:57-63 | octopus/lib/octopus/radar/sensor_transition.ex:72-80 \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":"octopus/lib/octopus/radar/sensor_transition.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddab99b5b2f8623f2d827fb2595f9e4dbac00d1b0cc2b734e0139807974145a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): octopus/lib/octopus/apps/collective.ex:134-153 | octopus/lib/octopus/apps/collective.ex:375-394 \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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a93f82e8b068098356980a32b9a4bc00f6a3707d3cc4eba18bfe2861c04e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): octopus/lib/octopus/font.ex:16-19 | octopus/lib/octopus/image.ex:8-11 | octopus/lib/octopus/sprite.ex:8-11 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"octopus/lib/octopus/font.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcd12c8f14ed4200f88cfbe8eda2fd28980a980a655cae4182aa0351bf7ba32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): octopus/lib/octopus/apps/collective.ex:618-627 | octopus/lib/octopus/radar/panel_activity.ex:86-94 \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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1674804037ea36a4c04a532f245eeea2666fbe9bc0c1acf76334b885421bf8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/canvas.ex:641-649 | octopus/lib/octopus/canvas.ex:659-666 \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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6670c6a947aaa9de61f5151561a738e30675e9c22697c0eaad4202e9d69a270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): octopus/lib/octopus/apps/sand/sim.ex:244-253 | octopus/lib/octopus/apps/sand/sim.ex:257-269 \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":"octopus/lib/octopus/apps/sand/sim.ex"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bff07f4c6b1783b44450709b55702f7a94a2954b90485bb8e495f5988d9528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): octopus/lib/octopus/radar/sensor.ex:647-660 | octopus/lib/octopus/radar/sensor.ex:664-680 \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":"octopus/lib/octopus/radar/sensor.ex"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9428470d19b2fa520f77c4d10f3313b7263fbda790f2562afc25065f98a8d12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): octopus/lib/octopus/apps/circular_clock.ex:350-361 | octopus/lib/octopus/apps/one_word.ex:95-106 \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":"octopus/lib/octopus/apps/circular_clock.ex"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acac2a557e2788fee6e22802c06830930c120f7371904c66928612cd154ee3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): octopus/lib/octopus/radar/status_history.ex:96-99 | octopus/lib/octopus_web/live/radar_debug_live.ex:612-615 \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":"octopus/lib/octopus/radar/status_history.ex"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d7903c8580cb9fb4576fad83ce39c40e055243defe8d28ced46c70e591970f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): octopus/lib/octopus/apps/collective.ex:1386-1388 | octopus/lib/octopus/apps/rain.ex:188-190 | octopus/lib/octopus/apps/sparkle_mist.ex:267-269 | octopus/lib/octopus/radar/panel_activity.ex:176-178 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"da095402e49e8b774a9ae80119d3f4541eedd064cc1382f4feb1034ef6853565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): octopus/lib/octopus/apps/running_lights.ex:152-157 | octopus/lib/octopus/apps/senso.ex:248-252 \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":"octopus/lib/octopus/apps/running_lights.ex"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a87d97ac171f772c13c2f2364a1ef294c5e7fb172f4eb8c3da5363e8a0c12d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): octopus/lib/octopus/radar/clutter_filter.ex:234-238 | octopus/lib/octopus_web/live/radar_live.ex:2800-2804 \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":"octopus/lib/octopus/radar/clutter_filter.ex"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5bb66bb61dc9a48d1c30504c7605207d10506efdc60ac704fef34716d9aa15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): octopus/lib/octopus/apps/collective/animations/storm.ex:193-194 | octopus/lib/octopus/radar/panel_mapping.ex:43-44 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"octopus/lib/octopus/apps/collective/animations/storm.ex"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"440febb37c29e0d230375fa671be7f811aac9cdd6a0ab112ee49033917c3bf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 3\u002B corresponding lines): octopus/lib/octopus/app_mode_presets.ex:293-295 | octopus/lib/octopus/app_mode_presets/loader_support.ex:63-65 | octopus/lib/octopus/apps/matrix.ex:725-727 | octopus/lib/octopus/apps/sparkle_mist.ex:481-483 | octopus/lib/octopus/apps/wood.ex:814-816 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 3 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/app_mode_presets.ex"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95cf397173ac1706463cac4a9667fba8fa12ee37e5e2117aa1343477de6d077"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): octopus/lib/octopus/apps/collective/animations/dots.ex:343-343 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:171-171 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"octopus/lib/octopus/apps/collective/animations/dots.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b556f2312deeb77c51bc3063199bcd5605d23818b68a2a7b504459f31b586573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): octopus/lib/octopus/apps/circular_clock.ex:145-151 | octopus/lib/octopus/apps/slot_machine.ex:152-155 \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":"octopus/lib/octopus/apps/circular_clock.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"406248f2471d57bf03ac2856d9d08b7ea3e8b662d9e98f3a948f438ce1cff4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): octopus/lib/octopus/apps/collective/animations/fireflies.ex:349-350 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:319-320 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffadc0dde845cd1e162864fa0abe151211e4a7a45b645659247555710f44615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): octopus/lib/octopus/radar/track_merge.ex:138-140 | octopus/lib/octopus_web/live/radar_live.ex:2279-2281 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"octopus/lib/octopus/radar/track_merge.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab43e30feb313c79d3648c1a9225586433f0bb70d89a601e4efa1d41244baf99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): octopus/lib/octopus/apps/pixel_fun/merlin_zoom.ex:59-59 | octopus/lib/octopus/sphere.ex:244-244 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"octopus/lib/octopus/apps/pixel_fun/merlin_zoom.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb8079c068289b2f943617c21fef8b2d422ac4ded7c0bc3cf0d253a3d69e421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): octopus/lib/octopus/apps/collective/animations/fireflies.ex:301-302 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:298-299 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe5223d118df2980885d0e452c660247babc8ce9bf0df4570646cfaf0a43b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): octopus/lib/octopus/radar.ex:1532-1539 | octopus/lib/octopus/radar/view_settings.ex:127-134 \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":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6068d19b98cd3d0f14914e2acf5e6b55e1c1d836c09eaa36da0d0868fe2d096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): octopus/lib/octopus/apps/collective/animations/fireflies.ex:366-366 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:360-360 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dd351508931ea0af4ff7131c92a63cd8b0039688ef2b004491cf1b74ad9fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): octopus/lib/octopus_web/components/pixel_fun_config_component.ex:370-370 | octopus/lib/octopus_web/components/wood_config_component.ex:298-298 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"octopus/lib/octopus_web/components/pixel_fun_config_component.ex"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"37be214e5dad293cae612679d8c5b56a0573758380a80974a29c63a922f4b2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201359 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1190-1243 | octopus/lib/octopus/apps/supermario/level.ex:2181-2239 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:1190\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca3b6e7cef75489a8892bfac98c345d12651daae98f55b25ea31edbdf1b81b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201346 lines \u00D7 2): octopus/lib/octopus/apps/whackamole/game.ex:387-426 | octopus/lib/octopus/apps/whackamole/game.ex:437-482 \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 \u0060octopus/lib/octopus/apps/whackamole/game.ex:387\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":"octopus/lib/octopus/apps/whackamole/game.ex"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5b6fe4cc7dc7f20077636c76b07343e551dd435e67df10042bcac4f0ca743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:615-659 | octopus/lib/octopus/apps/supermario/level.ex:2568-2612 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aea622835dac7c9004c1ab8397c063fc64007179b84273237e22df25ac4a16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:974-1012 | octopus/lib/octopus/apps/supermario/level.ex:1097-1135 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e6953165437bcf16223c97d5d3bbea6513a31c3fd306af066df902c109c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 18): octopus/lib/octopus/apps/supermario/level.ex:437-474 | octopus/lib/octopus/apps/supermario/level.ex:559-596 | octopus/lib/octopus/apps/supermario/level.ex:681-718 | octopus/lib/octopus/apps/supermario/level.ex:1425-1462 | octopus/lib/octopus/apps/supermario/level.ex:1548-1585 | octopus/lib/octopus/apps/supermario/level.ex:2414-2451 | octopus/lib/octopus/apps/supermario/level.ex:2537-2574 | octopus/lib/octopus/apps/supermario/level.ex:2660-2697 | octopus/lib/octopus/apps/supermario/level.ex:2783-2820 | octopus/lib/octopus/apps/supermario/level.ex:2906-2943 | octopus/lib/octopus/apps/supermario/level.ex:3029-3066 | octopus/lib/octopus/apps/supermario/level.ex:3403-3440 | octopus/lib/octopus/apps/supermario/level.ex:3526-3563 | octopus/lib/octopus/apps/supermario/level.ex:3649-3686 | octopus/lib/octopus/apps/supermario/level.ex:3772-3809 | octopus/lib/octopus/apps/supermario/level.ex:3895-3932 | octopus/lib/octopus/apps/supermario/level.ex:4018-4055 | octopus/lib/octopus/apps/supermario/level.ex:4141-4178 \u2014 all 18 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:437\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d1960531487e1dee14b6ad4efdc18d41cf8fd6fd9c8e3964835c6695ec005c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1244-1281 | octopus/lib/octopus/apps/supermario/level.ex:1282-1319 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa57c497d9fcdd3fbde7e1875eb39eb3ef02ae56886e51f97695d03d8fc669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1965-2001 | octopus/lib/octopus/apps/supermario/level.ex:2758-2794 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"760a351b764dd1c4b6f23b568b5c45f52b4dc9ef0691eb3b2ce484862ced68c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): octopus/lib/octopus/apps/ten_letters.ex:16-52 | octopus/lib/octopus/apps/triple_tla.ex:17-53 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/ten_letters.ex\u0060 and \u0060octopus/lib/octopus/apps/triple_tla.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2edc3b91663ffa1d057809b49c946d7fff4882c45a8a7935851c89135f4ae63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:873-908 | octopus/lib/octopus/apps/supermario/level.ex:3009-3044 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd09fe983d17c9658aff6e542d16ef42214f7ba7dcef37b6494783ec22dc9f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): octopus/lib/octopus/apps/supermario/level.ex:654-688 | octopus/lib/octopus/apps/supermario/level.ex:2585-2619 | octopus/lib/octopus/apps/supermario/level.ex:2728-2762 | octopus/lib/octopus/apps/supermario/level.ex:3132-3166 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"690054f3ac090c289fee1c03f61fdaf5a71369fdd80f43e3acec66ff544c1c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 19): octopus/lib/octopus/apps/supermario/level.ex:447-480 | octopus/lib/octopus/apps/supermario/level.ex:569-602 | octopus/lib/octopus/apps/supermario/level.ex:691-724 | octopus/lib/octopus/apps/supermario/level.ex:1435-1468 | octopus/lib/octopus/apps/supermario/level.ex:1558-1591 | octopus/lib/octopus/apps/supermario/level.ex:1681-1714 | octopus/lib/octopus/apps/supermario/level.ex:1927-1960 | octopus/lib/octopus/apps/supermario/level.ex:2424-2457 | octopus/lib/octopus/apps/supermario/level.ex:2547-2580 | octopus/lib/octopus/apps/supermario/level.ex:2670-2703 | octopus/lib/octopus/apps/supermario/level.ex:2793-2826 | octopus/lib/octopus/apps/supermario/level.ex:2916-2949 | octopus/lib/octopus/apps/supermario/level.ex:3413-3446 | octopus/lib/octopus/apps/supermario/level.ex:3536-3569 | octopus/lib/octopus/apps/supermario/level.ex:3659-3692 | octopus/lib/octopus/apps/supermario/level.ex:3782-3815 | octopus/lib/octopus/apps/supermario/level.ex:3905-3938 | octopus/lib/octopus/apps/supermario/level.ex:4028-4061 | octopus/lib/octopus/apps/supermario/level.ex:4151-4184 \u2014 all 19 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:447\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea594ad29a367108d73fd631285be121c9284adb3a736cddc3deea75051347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 16): octopus/lib/octopus/apps/supermario/level.ex:455-488 | octopus/lib/octopus/apps/supermario/level.ex:577-610 | octopus/lib/octopus/apps/supermario/level.ex:699-732 | octopus/lib/octopus/apps/supermario/level.ex:944-977 | octopus/lib/octopus/apps/supermario/level.ex:1443-1476 | octopus/lib/octopus/apps/supermario/level.ex:1566-1599 | octopus/lib/octopus/apps/supermario/level.ex:1689-1722 | octopus/lib/octopus/apps/supermario/level.ex:2432-2465 | octopus/lib/octopus/apps/supermario/level.ex:2555-2588 | octopus/lib/octopus/apps/supermario/level.ex:3421-3454 | octopus/lib/octopus/apps/supermario/level.ex:3544-3577 | octopus/lib/octopus/apps/supermario/level.ex:3667-3700 | octopus/lib/octopus/apps/supermario/level.ex:3790-3823 | octopus/lib/octopus/apps/supermario/level.ex:3913-3946 | octopus/lib/octopus/apps/supermario/level.ex:4036-4069 | octopus/lib/octopus/apps/supermario/level.ex:4159-4192 \u2014 all 16 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:455\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc3cab2da80cd465956eb68bb92e6b57095b49c6785b846fe461b49b90cc060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 5): octopus/lib/octopus/apps/supermario/level.ex:984-1017 | octopus/lib/octopus/apps/supermario/level.ex:1107-1140 | octopus/lib/octopus/apps/supermario/level.ex:1973-2005 | octopus/lib/octopus/apps/supermario/level.ex:2089-2121 | octopus/lib/octopus/apps/supermario/level.ex:2766-2798 \u2014 all 5 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff7c2210a03a044ebe41f2f740ede13ebd4e031340618df2d35cb2c884c992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): octopus/lib/octopus/apps/collective.ex:638-671 | octopus/lib/octopus/apps/collective.ex:1220-1253 \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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e1b1511a036c9d2884f05b9b2992b17b990fa1292ab4f81830bdfd429525a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 19): octopus/lib/octopus/apps/supermario/level.ex:444-476 | octopus/lib/octopus/apps/supermario/level.ex:566-598 | octopus/lib/octopus/apps/supermario/level.ex:688-720 | octopus/lib/octopus/apps/supermario/level.ex:1432-1464 | octopus/lib/octopus/apps/supermario/level.ex:1555-1587 | octopus/lib/octopus/apps/supermario/level.ex:1678-1710 | octopus/lib/octopus/apps/supermario/level.ex:2421-2453 | octopus/lib/octopus/apps/supermario/level.ex:2544-2576 | octopus/lib/octopus/apps/supermario/level.ex:2667-2699 | octopus/lib/octopus/apps/supermario/level.ex:2790-2822 | octopus/lib/octopus/apps/supermario/level.ex:2913-2945 | octopus/lib/octopus/apps/supermario/level.ex:3036-3068 | octopus/lib/octopus/apps/supermario/level.ex:3410-3442 | octopus/lib/octopus/apps/supermario/level.ex:3533-3565 | octopus/lib/octopus/apps/supermario/level.ex:3656-3688 | octopus/lib/octopus/apps/supermario/level.ex:3779-3811 | octopus/lib/octopus/apps/supermario/level.ex:3902-3934 | octopus/lib/octopus/apps/supermario/level.ex:4025-4057 | octopus/lib/octopus/apps/supermario/level.ex:4148-4180 \u2014 all 19 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:444\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"702e3d48542df2a35e540a0be578e0ebaf78f8995df0a72e4276d835f2701d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:834-866 | octopus/lib/octopus/apps/supermario/level.ex:869-900 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f66808c8f36da5e5c312fef9ee1f5bcd8c4549f9ebdc63fdbbb90a845f3979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1798-1830 | octopus/lib/octopus/apps/supermario/level.ex:1921-1953 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:1798\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a65f1c9d6a9d20cb8780a60e15f00cff66b4c7b34243a7943921783fa9938c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): octopus/lib/octopus/apps/triple_tla.ex:363-391 | octopus/lib/octopus/apps/triple_tla.ex:427-459 \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 \u0060octopus/lib/octopus/apps/triple_tla.ex:427\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":"octopus/lib/octopus/apps/triple_tla.ex"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"629d18349f80008d4e410cd5b2a6e357c13a76bc04e7771f4dfb785989689b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 20): octopus/lib/octopus/apps/supermario/level.ex:446-477 | octopus/lib/octopus/apps/supermario/level.ex:568-599 | octopus/lib/octopus/apps/supermario/level.ex:690-721 | octopus/lib/octopus/apps/supermario/level.ex:1434-1465 | octopus/lib/octopus/apps/supermario/level.ex:1557-1588 | octopus/lib/octopus/apps/supermario/level.ex:1680-1711 | octopus/lib/octopus/apps/supermario/level.ex:1926-1957 | octopus/lib/octopus/apps/supermario/level.ex:2423-2454 | octopus/lib/octopus/apps/supermario/level.ex:2546-2577 | octopus/lib/octopus/apps/supermario/level.ex:2669-2700 | octopus/lib/octopus/apps/supermario/level.ex:2792-2823 | octopus/lib/octopus/apps/supermario/level.ex:2915-2946 | octopus/lib/octopus/apps/supermario/level.ex:3038-3069 | octopus/lib/octopus/apps/supermario/level.ex:3412-3443 | octopus/lib/octopus/apps/supermario/level.ex:3535-3566 | octopus/lib/octopus/apps/supermario/level.ex:3658-3689 | octopus/lib/octopus/apps/supermario/level.ex:3781-3812 | octopus/lib/octopus/apps/supermario/level.ex:3904-3935 | octopus/lib/octopus/apps/supermario/level.ex:4027-4058 | octopus/lib/octopus/apps/supermario/level.ex:4150-4181 \u2014 all 20 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:446\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80cdb77143ea03b452fd1e684faafe42c9ca15b29e7b3401a353c52f9ff7cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 19): octopus/lib/octopus/apps/supermario/level.ex:436-467 | octopus/lib/octopus/apps/supermario/level.ex:558-589 | octopus/lib/octopus/apps/supermario/level.ex:680-711 | octopus/lib/octopus/apps/supermario/level.ex:1424-1455 | octopus/lib/octopus/apps/supermario/level.ex:1547-1578 | octopus/lib/octopus/apps/supermario/level.ex:2413-2444 | octopus/lib/octopus/apps/supermario/level.ex:2536-2567 | octopus/lib/octopus/apps/supermario/level.ex:2659-2690 | octopus/lib/octopus/apps/supermario/level.ex:2782-2813 | octopus/lib/octopus/apps/supermario/level.ex:2905-2936 | octopus/lib/octopus/apps/supermario/level.ex:3028-3059 | octopus/lib/octopus/apps/supermario/level.ex:3151-3182 | octopus/lib/octopus/apps/supermario/level.ex:3402-3433 | octopus/lib/octopus/apps/supermario/level.ex:3525-3556 | octopus/lib/octopus/apps/supermario/level.ex:3648-3679 | octopus/lib/octopus/apps/supermario/level.ex:3771-3802 | octopus/lib/octopus/apps/supermario/level.ex:3894-3925 | octopus/lib/octopus/apps/supermario/level.ex:4017-4048 | octopus/lib/octopus/apps/supermario/level.ex:4140-4171 \u2014 all 19 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:436\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d269a3b811dfe52d0686ca91362c18a2adbba7d4862b4d1f2cf000a08772af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4): octopus/lib/octopus/apps/supermario/level.ex:343-374 | octopus/lib/octopus/apps/supermario/level.ex:1330-1361 | octopus/lib/octopus/apps/supermario/level.ex:2319-2350 | octopus/lib/octopus/apps/supermario/level.ex:3308-3339 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060octopus/lib/octopus/apps/supermario/level.ex:343\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, \u0060octopus/lib/octopus/apps/supermario/level.ex:339\u0060 calls \u0060init_bad_guys\u0060 and \u0060octopus/lib/octopus/apps/supermario/level.ex:1327\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6020cd5aba13a41049a576103c0d5de4edfc987dd66850cd17e44698a9c3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:793-824 | octopus/lib/octopus/apps/supermario/level.ex:1003-1034 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1eab48065577cc9ac5744d3173d9fe1f72ff914d5e7b6fa13e30d968161d5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:848-879 | octopus/lib/octopus/apps/supermario/level.ex:2753-2783 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4141fb731714b4de08d09467b788592d885f4a442c924bea358a06bea02375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:941-972 | octopus/lib/octopus/apps/supermario/level.ex:1064-1095 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:941\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ece13b9cdb89d6044fbbf2c8695b8453b9367e542b4278d1dfdb000ec5e783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1295-1326 | octopus/lib/octopus/apps/supermario/level.ex:3273-3304 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:1295\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16c093e4e1c9bac5aecb1271a6345d484dc05917e95d3dcc22443b8d0fab9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1496-1527 | octopus/lib/octopus/apps/supermario/level.ex:2891-2922 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c72ee0c1328274d06f52f7c19d2bcd3ee5ff94b9f1516bad3586d073c14bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1635-1666 | octopus/lib/octopus/apps/supermario/level.ex:2748-2779 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f25998ba2af73b7054d6b074ff52033075e343e5952b2c4fb8f8150a544d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:2704-2735 | octopus/lib/octopus/apps/supermario/level.ex:2864-2895 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fea8e55ec6996009ece9dd6b1cb4090b1255427605f5cb1337a14e499b9ed40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): octopus/lib/octopus/apps/supermario/level.ex:1583-1613 | octopus/lib/octopus/apps/supermario/level.ex:1633-1663 | octopus/lib/octopus/apps/supermario/level.ex:1877-1907 | octopus/lib/octopus/apps/supermario/level.ex:2746-2776 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a905db86a10878d6118b84bc8c2336036207bbf1a7054aa241c8455e37aa49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:625-655 | octopus/lib/octopus/apps/supermario/level.ex:1948-1978 | octopus/lib/octopus/apps/supermario/level.ex:2578-2608 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b69d96417662a3e86844209a0af716af7426440deb32e05527d9c354a45bac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:1741-1770 | octopus/lib/octopus/apps/supermario/level.ex:1791-1821 \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. 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f365ba8a5d3331b32bef8728a9653508ce8683a48e41fc707002399e915d6a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 17): octopus/lib/octopus/apps/supermario/level.ex:345-374 | octopus/lib/octopus/apps/supermario/level.ex:467-496 | octopus/lib/octopus/apps/supermario/level.ex:589-618 | octopus/lib/octopus/apps/supermario/level.ex:711-740 | octopus/lib/octopus/apps/supermario/level.ex:1332-1361 | octopus/lib/octopus/apps/supermario/level.ex:1455-1484 | octopus/lib/octopus/apps/supermario/level.ex:1578-1607 | octopus/lib/octopus/apps/supermario/level.ex:2321-2350 | octopus/lib/octopus/apps/supermario/level.ex:2444-2473 | octopus/lib/octopus/apps/supermario/level.ex:3310-3339 | octopus/lib/octopus/apps/supermario/level.ex:3433-3462 | octopus/lib/octopus/apps/supermario/level.ex:3556-3585 | octopus/lib/octopus/apps/supermario/level.ex:3679-3708 | octopus/lib/octopus/apps/supermario/level.ex:3802-3831 | octopus/lib/octopus/apps/supermario/level.ex:3925-3954 | octopus/lib/octopus/apps/supermario/level.ex:4048-4077 | octopus/lib/octopus/apps/supermario/level.ex:4171-4200 \u2014 all 17 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 \u0060octopus/lib/octopus/apps/supermario/level.ex:345\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, \u0060octopus/lib/octopus/apps/supermario/level.ex:339\u0060 calls \u0060init_bad_guys\u0060 and \u0060octopus/lib/octopus/apps/supermario/level.ex:1327\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4bb0d97e71b767de4fe79f273f8e8b3fdf599f38d0967902236e85074e0713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 15): octopus/lib/octopus/apps/supermario/level.ex:663-692 | octopus/lib/octopus/apps/supermario/level.ex:882-911 | octopus/lib/octopus/apps/supermario/level.ex:991-1020 | octopus/lib/octopus/apps/supermario/level.ex:1114-1143 | octopus/lib/octopus/apps/supermario/level.ex:1377-1406 | octopus/lib/octopus/apps/supermario/level.ex:1500-1529 | octopus/lib/octopus/apps/supermario/level.ex:1617-1646 | octopus/lib/octopus/apps/supermario/level.ex:1752-1781 | octopus/lib/octopus/apps/supermario/level.ex:2095-2124 | octopus/lib/octopus/apps/supermario/level.ex:2594-2623 | octopus/lib/octopus/apps/supermario/level.ex:2737-2766 | octopus/lib/octopus/apps/supermario/level.ex:2772-2801 | octopus/lib/octopus/apps/supermario/level.ex:2895-2924 | octopus/lib/octopus/apps/supermario/level.ex:3018-3047 | octopus/lib/octopus/apps/supermario/level.ex:3141-3170 \u2014 all 15 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e670a7f313c33d0d15923b2f645fbfd03b07636766d66d930967568bc73450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 12): octopus/lib/octopus/apps/supermario/level.ex:609-638 | octopus/lib/octopus/apps/supermario/level.ex:790-819 | octopus/lib/octopus/apps/supermario/level.ex:884-913 | octopus/lib/octopus/apps/supermario/level.ex:1000-1029 | octopus/lib/octopus/apps/supermario/level.ex:1128-1157 | octopus/lib/octopus/apps/supermario/level.ex:1335-1364 | octopus/lib/octopus/apps/supermario/level.ex:1457-1486 | octopus/lib/octopus/apps/supermario/level.ex:1580-1609 | octopus/lib/octopus/apps/supermario/level.ex:1630-1659 | octopus/lib/octopus/apps/supermario/level.ex:1769-1798 | octopus/lib/octopus/apps/supermario/level.ex:2101-2130 | octopus/lib/octopus/apps/supermario/level.ex:2743-2772 \u2014 all 12 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d92bc788130ce36fb1548694e612aa2ae749f5ffd6120b6edd3e879ee268520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 9): octopus/lib/octopus/apps/supermario/level.ex:661-690 | octopus/lib/octopus/apps/supermario/level.ex:880-909 | octopus/lib/octopus/apps/supermario/level.ex:1375-1404 | octopus/lib/octopus/apps/supermario/level.ex:1750-1779 | octopus/lib/octopus/apps/supermario/level.ex:1873-1902 | octopus/lib/octopus/apps/supermario/level.ex:2592-2621 | octopus/lib/octopus/apps/supermario/level.ex:2735-2764 | octopus/lib/octopus/apps/supermario/level.ex:3016-3045 | octopus/lib/octopus/apps/supermario/level.ex:3139-3168 \u2014 all 9 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0eb40e2ed4702532833c25ff71a720fd949c8f5d0ea2ad9d114b2690825a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 6): octopus/lib/octopus/apps/supermario/level.ex:989-1018 | octopus/lib/octopus/apps/supermario/level.ex:1112-1141 | octopus/lib/octopus/apps/supermario/level.ex:1615-1644 | octopus/lib/octopus/apps/supermario/level.ex:1977-2006 | octopus/lib/octopus/apps/supermario/level.ex:2093-2122 | octopus/lib/octopus/apps/supermario/level.ex:2770-2799 \u2014 all 6 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f81254b37f3edd91d68123c42ff3731de41873a34595e392676c8fe78c277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 6): octopus/lib/octopus/apps/supermario/level.ex:1582-1611 | octopus/lib/octopus/apps/supermario/level.ex:1632-1661 | octopus/lib/octopus/apps/supermario/level.ex:1876-1905 | octopus/lib/octopus/apps/supermario/level.ex:1980-2009 | octopus/lib/octopus/apps/supermario/level.ex:2103-2132 | octopus/lib/octopus/apps/supermario/level.ex:2745-2774 \u2014 all 6 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"9463384436a16ea4c6931e56c518893c3c6e110429f074cd13aabc866f5bb428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:837-867 | octopus/lib/octopus/apps/supermario/level.ex:872-901 | octopus/lib/octopus/apps/supermario/level.ex:3008-3037 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"72457968662bfc02997b7de55c6c2c59f28caeee8ee5a684131e2a5b2227ad4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:1213-1242 | octopus/lib/octopus/apps/supermario/level.ex:1262-1291 | octopus/lib/octopus/apps/supermario/level.ex:2209-2238 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"66070618d26a62f3a4c491f89dabf25ac54cc54773f01d0d8514704064f38f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:1253-1282 | octopus/lib/octopus/apps/supermario/level.ex:1291-1320 | octopus/lib/octopus/apps/supermario/level.ex:3256-3285 \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8558a009b75e979af260f1f6644ba2582392049d7a0975428435cc5a510400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): octopus/lib/octopus/apps/ocean.ex:366-390 | octopus/lib/octopus/apps/ocean.ex:404-428 \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 \u0060octopus/lib/octopus/apps/ocean.ex:366\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":"octopus/lib/octopus/apps/ocean.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a169d85c0b4c46671aa6627250b60b28ab8979914c090171566775a5fa9b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): octopus/lib/octopus/apps/senso.ex:256-280 | octopus/lib/octopus/apps/senso.ex:284-308 \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 \u0060octopus/lib/octopus/apps/senso.ex:256\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":"octopus/lib/octopus/apps/senso.ex"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305eb0c3bce3849eff79f705a6296aaa784300ab75b0852b8700dcf82c023c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:177-198 | octopus/lib/octopus/apps/supermario/level.ex:265-289 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:177\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. 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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"552cf58155abd5fce90f252eeaf18f4387a8f52b62479217a8c14590ec1cc838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201325 lines \u00D7 4): octopus/lib/octopus_web/components/app_config_component.ex:106-130 | octopus/lib/octopus_web/components/global_params_component.ex:133-134 | octopus/lib/octopus_web/components/sim3d_params_component.ex:86-86 | octopus/lib/octopus_web/components/wood_config_component.ex:94-113 \u2014 before extracting anything, compare \u0060octopus/lib/octopus_web/components/app_config_component.ex\u0060 and \u0060octopus/lib/octopus_web/components/wood_config_component.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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 \u0060octopus/lib/octopus_web/components/global_params_component.ex: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. 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, \u0060octopus/lib/octopus_web/components/app_config_component.ex:132\u0060 calls \u0060config\u0060 and \u0060octopus/lib/octopus_web/components/wood_config_component.ex:115\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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6581cd8a04141d7b0fb8edb260915a49321f6619f56ae407ed4df4c4375185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): octopus/lib/octopus/apps/perlin_noise.ex:266-306 | octopus/lib/octopus/perlin_noise.ex:141-181 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/perlin_noise.ex\u0060 and \u0060octopus/lib/octopus/perlin_noise.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060octopus/lib/octopus/perlin_noise.ex:135\u0060 calls \u0060then\u0060 and \u0060octopus/lib/octopus/apps/perlin_noise.ex:260\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":"octopus/lib/octopus/apps/perlin_noise.ex"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12897a68bb4d391759ce06c5751aea885d5a37ee30dd32e23cf162a0670b688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): octopus/lib/octopus/apps/ten_letters.ex:259-281 | octopus/lib/octopus/apps/triple_tla.ex:504-525 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/ten_letters.ex\u0060 and \u0060octopus/lib/octopus/apps/triple_tla.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ed7f50c7c797c480c5d2c6fd60206a82b87656aeeb7859ed1544a7f8cfe30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): octopus/lib/octopus/sunlight.ex:271-292 | octopus/lib/octopus/sunlight.ex:329-351 \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 \u0060octopus/lib/octopus/sunlight.ex:271\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":"octopus/lib/octopus/sunlight.ex"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62311f3782291d49303bf424553040dec1ed891a26959e1b7a87b83c212d5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:186-206 | octopus/lib/octopus/apps/supermario/level.ex:226-246 | octopus/lib/octopus/apps/supermario/level.ex:312-332 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:186\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b02bdb6e86934898cc13d72c914c760bc25c30e94aaaa6a5f4fa6ba8f32b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): octopus/lib/octopus/apps/slot_machine.ex:753-770 | octopus/lib/octopus/apps/sprites_grouped.ex:317-335 \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":"octopus/lib/octopus/apps/slot_machine.ex"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c8303c8d4be4042ef9800ef2403d2b811a39bed7777b337331aa65394a7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:207-224 | octopus/lib/octopus/apps/supermario/level.ex:317-335 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:207\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"df15d8f4f369d6674ab6f54e0f0b19773a9cf104513ac191ae094d2cba92c68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): octopus/lib/octopus/apps/ten_letters.ex:56-74 | octopus/lib/octopus/apps/triple_tla.ex:57-75 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/ten_letters.ex\u0060 and \u0060octopus/lib/octopus/apps/triple_tla.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b4b42b2266dccd7729047b03e7cdf9637fe4213ea84c58dde4741167907a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): octopus/lib/octopus/apps/supermario/level.ex:176-192 | octopus/lib/octopus/apps/supermario/level.ex:240-257 | octopus/lib/octopus/apps/supermario/level.ex:271-287 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:176\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f9fd2262f3c2ed25833d4e0f46088cab868195f6de7cf126b80b00b495a7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): octopus/lib/octopus/apps/supermario/level.ex:241-258 | octopus/lib/octopus/apps/supermario/level.ex:288-305 \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 \u0060octopus/lib/octopus/apps/supermario/level.ex:241\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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e5b76a1d93ec23fa13fc4afa11b2ae34b165ac11ebda7bf29742d311099f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): octopus/lib/octopus/mixer.ex:646-663 | octopus/lib/octopus/mixer.ex:706-723 \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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fcc71f396563d90334b1e2cebe5081d670a03806952598ee282db59a5d2adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): octopus/lib/octopus/mixer.ex:765-782 | octopus/lib/octopus/mixer.ex:787-804 \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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4d42d9b9c39e7032c4eff29d7992b0abf114a80b282e0100c03a275062849f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): octopus/lib/octopus/apps/encounter.ex:56-71 | octopus/lib/octopus/apps/encounter.ex:76-92 \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 \u0060octopus/lib/octopus/apps/encounter.ex: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. 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":"octopus/lib/octopus/apps/encounter.ex"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"12134ff19ac2b8f9bc8659f94fdff1de19e5f839f9f4a9fb8e73a088ce224ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): octopus/lib/octopus/apps/perlin_noise.ex:244-260 | octopus/lib/octopus/perlin_noise.ex:118-134 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/perlin_noise.ex\u0060 and \u0060octopus/lib/octopus/perlin_noise.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060octopus/lib/octopus/perlin_noise.ex:135\u0060 calls \u0060then\u0060 and \u0060octopus/lib/octopus/apps/perlin_noise.ex:261\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":"octopus/lib/octopus/apps/perlin_noise.ex"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a4d6095ed04c0439d7932650e41676a2dca2684527722871e1a6c8f5df7526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): octopus/lib/octopus/apps/pixel_fun.ex:2877-2891 | octopus/lib/octopus/apps/pixel_fun.ex:2903-2919 \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. 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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725a9f78c4b2a11c0c7bde2a97893b2dd8d911f3aab50d03f00776fc96f9147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): octopus/lib/octopus/apps/senso.ex:72-84 | octopus/lib/octopus/apps/senso.ex:157-173 \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 \u0060octopus/lib/octopus/apps/senso.ex:72\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":"octopus/lib/octopus/apps/senso.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c318fb41a8eca7e8f7be71c56527be5a687a9a94ab1d82ba4f36902ebaeba36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): octopus/lib/octopus/apps/rain.ex:83-98 | octopus/lib/octopus/apps/sparkle_mist.ex:195-210 \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":"octopus/lib/octopus/apps/rain.ex"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e38d62d41dc2709c5e908b3e8fbda14a741408dbe124a5ddf06356c554ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): octopus/lib/octopus/apps/triple_tla.ex:344-356 | octopus/lib/octopus/apps/triple_tla.ex:403-418 \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. 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":"octopus/lib/octopus/apps/triple_tla.ex"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefa63ecbdd2df4fbcc55862d5a084220388fff5d4c35dc3b447cada090dea1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): octopus/lib/octopus/mixer.ex:573-587 | octopus/lib/octopus/mixer.ex:602-617 \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. 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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"839f113f9d8dc140fb52ef36184ae690c727c9765d17df7441cadda9bf963988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): octopus/lib/octopus/sunlight/solar_service.ex:66-80 | octopus/lib/octopus/sunlight/solar_service.ex:105-119 \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 \u0060octopus/lib/octopus/sunlight/solar_service.ex:66\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":"octopus/lib/octopus/sunlight/solar_service.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9680ab6c9e83cd98dbe23b7c8de0630595de4f4e9441995f73ec4ccd998435bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): octopus/lib/octopus/apps/blocks.ex:61-74 | octopus/lib/octopus/apps/snake.ex:60-73 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/blocks.ex\u0060 and \u0060octopus/lib/octopus/apps/snake.ex\u0060 as WHOLE FILES: 84% 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 2 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. 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":"octopus/lib/octopus/apps/blocks.ex"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b26a4ae74394dbe750324f6b02ac8e021169a83b9747097d8c5181b5be8f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): octopus/lib/octopus/apps/collective/animations/glowworms.ex:138-151 | octopus/lib/octopus/apps/collective/animations/glowworms.ex:215-228 \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 \u0060octopus/lib/octopus/apps/collective/animations/glowworms.ex:138\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":"octopus/lib/octopus/apps/collective/animations/glowworms.ex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"519c2217297d731ebb377977e6aeb6518ca56ed33a455d724886c64113aea927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): octopus/lib/octopus/apps/pixie_debug.ex:535-548 | octopus/lib/octopus/apps/wood.ex:141-153 \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 \u0060octopus/lib/octopus/apps/wood.ex:141\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":"octopus/lib/octopus/apps/pixie_debug.ex"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70c171746810d028e6ef096afc8daa2194af01ff9cb2f2881b301a07378b639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): octopus/lib/octopus/apps/supermario/game.ex:406-421 | octopus/lib/octopus/apps/webpanimation.ex:130-145 \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":"octopus/lib/octopus/apps/supermario/game.ex"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce97bb23dcc501cb131747f7d69ba0c1549ef946e6685db2fa66b63dc10780dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): octopus/lib/octopus/webp.ex:17-30 | octopus/lib/octopus/webp.ex:76-89 \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":"octopus/lib/octopus/webp.ex"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5de43d81a2950ccc06d29c3d6faeede45ac5e2eabff55b2d2cc0d337b216ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): octopus/lib/octopus/apps/blocks/game.ex:497-509 | octopus/lib/octopus/apps/snake/game.ex:183-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/blocks/game.ex"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24d3cebbd4d087ab119f4aad4a831b42e1cad3066eb6418a6ebd5c9ab14b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): octopus/lib/octopus/apps/ten_letters.ex:139-151 | octopus/lib/octopus/apps/triple_tla.ex:247-259 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/ten_letters.ex\u0060 and \u0060octopus/lib/octopus/apps/triple_tla.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac10e5568b34dc942bfdb2def56e53195b8e2256674ab8db6a9c7de626a42c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/breath.ex:398-409 | octopus/lib/octopus/apps/collective/animations/dots.ex:329-340 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:157-168 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/presence_panels.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc1bed9df05b4e45fd77bb80e93bd501612b842b3548c2a7868036ba1b14f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): octopus/lib/octopus/apps/perlin_noise.ex:326-337 | octopus/lib/octopus/perlin_noise.ex:201-212 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/perlin_noise.ex\u0060 and \u0060octopus/lib/octopus/perlin_noise.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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":"octopus/lib/octopus/apps/perlin_noise.ex"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cf65597370bc579758c6d5fdd117429cc23368616604053eddd7468393a091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): octopus/lib/octopus/apps/sample_app.ex:66-77 | octopus/lib/octopus/apps/sample_app.ex:81-92 \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":"octopus/lib/octopus/apps/sample_app.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"90adc034bba4904f8cbe0d9e0c28e9960dabde1d6e184637e8b5f3accf8fc25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): octopus/lib/octopus/apps/collective/animations/fireflies.ex:109-119 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:113-120 \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. 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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694c73b94fe196cc2227e734381fad95fc68d47ac610439cf003a2b744e006e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:195-205 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:138-148 \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":"octopus/lib/octopus/apps/collective/animations/lava_lamp.ex"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d747bb82fd36fe6256705aec7bc53c1d6c2d6e85a165911a3b5ebf3cce44922a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): octopus/lib/octopus/canvas.ex:824-834 | octopus/lib/octopus/canvas.ex:847-857 \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":"octopus/lib/octopus/canvas.ex"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f517ae7c123b410129677683c9384e09f4dd096aff64247fe0b5b4f1f1713b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): octopus/lib/octopus/installation_transport.ex:327-337 | octopus/lib/octopus/installation_transport.ex:357-367 \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":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6f8c08d7bb927a6695c89b7d32f7835c69e8d52948b1d7eb1f4ddf43cadfe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): octopus/lib/octopus_web/live/nation_live.ex:265-280 | octopus/lib/octopus_web/live/radar_live.ex:2084-2098 \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 \u0060octopus/lib/octopus_web/live/nation_live.ex:265\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":"octopus/lib/octopus_web/live/nation_live.ex"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecbbaf226de4f5d9afcd20585a6bebf03936fae93a5a249481b3ecafc1f0514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): octopus/lib/octopus/installation_transport.ex:1320-1329 | octopus/lib/octopus_web/components/installation_console_component.ex:879-888 \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":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f093d0fe36aa22732f4600457525c1201f096ee17c9d931be628e05d3d35e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): octopus/lib/octopus/radar/track_merge.ex:114-123 | octopus/lib/octopus_web/live/radar_live.ex:2255-2264 \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 \u0060octopus/lib/octopus/radar/track_merge.ex:114\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":"octopus/lib/octopus/radar/track_merge.ex"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11f5b8c2a8f2a7c293766760758f29328ae04a080f09d71daee0cd1f5e3530a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): octopus/lib/octopus/apps/pixel_fun.ex:2244-2252 | octopus/lib/octopus/apps/pixel_fun.ex:2289-2297 \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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea407c9b30c3dc3aabc270b716ceddb0f77473d060a5d487ab0ff28f6e170d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): octopus/lib/octopus/apps/whackamole.ex:140-147 | octopus/lib/octopus/apps/whackamole/game.ex:64-72 \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 \u0060octopus/lib/octopus/apps/whackamole.ex:140\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":"octopus/lib/octopus/apps/whackamole.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"46000619186c8679331bc5ce930e46b8f3be1eeb649bf36c1a123e8923f65ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): octopus/lib/octopus_web/components/app_config_component.ex:155-163 | octopus/lib/octopus_web/components/wood_config_component.ex:133-141 \u2014 before extracting anything, compare \u0060octopus/lib/octopus_web/components/app_config_component.ex\u0060 and \u0060octopus/lib/octopus_web/components/wood_config_component.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"500cc59e734bdd9c1fa05f7c72fb2103bcce378a7cd29bda5859517ca3a875d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): octopus/lib/octopus/apps/collective/animations/breath.ex:294-302 | octopus/lib/octopus/apps/collective/animations/dots.ex:191-199 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:177-185 | octopus/lib/octopus/apps/collective/animations/storm.ex:431-439 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/storm.ex\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 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":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a754d31b14f0a162986c8dd01a9240234f35bb9aadce7de95a36facafd35686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/dots.ex:171-178 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:104-111 | octopus/lib/octopus/apps/collective/animations/storm.ex:411-418 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/presence_panels.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"octopus/lib/octopus/apps/collective/animations/dots.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c433abe0ee4e706af4fbee5cd6ba013143a4e7d8fa777eb7a5cf91986ba8b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): octopus/lib/octopus/mixer.ex:577-584 | octopus/lib/octopus/mixer.ex:606-613 | octopus/lib/octopus/mixer.ex:651-657 | octopus/lib/octopus/mixer.ex:711-717 \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 before the matched lines, \u0060octopus/lib/octopus/mixer.ex:649\u0060 calls \u0060to_grayscale\u0060 and \u0060octopus/lib/octopus/mixer.ex:574\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":"octopus/lib/octopus/mixer.ex"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a707893aca83d1768b1a924be49d8a0066e685c2a44420a1ca920105e89f18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): octopus/lib/octopus/apps/collective.ex:1366-1372 | octopus/lib/octopus/radar/panel_activity.ex:203-209 | octopus/lib/octopus/radar/panel_gravity.ex:364-370 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9e95ef70c732f1bbad094e8928b5558516cdb75132acaabcc61c5ef2081c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/collective.ex:515-521 | octopus/lib/octopus/apps/collective/animations/glowworms.ex:164-170 \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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8180ce045c9ed91d9950f0d1bc46a70e464853b51757d26b24635669d1944dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): octopus/lib/octopus/apps/fairy_dust.ex:81-88 | octopus/lib/octopus/particles.ex:197-204 \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 \u0060octopus/lib/octopus/apps/fairy_dust.ex:81\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":"octopus/lib/octopus/apps/fairy_dust.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc8c93587b683ac2ac0b4faa92c5216e51cbaf3c3a885867b868d6b4943e9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): octopus/lib/octopus/apps/ocean.ex:475-481 | octopus/lib/octopus/apps/ocean.ex:492-499 \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 \u0060octopus/lib/octopus/apps/ocean.ex:492\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 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":"octopus/lib/octopus/apps/ocean.ex"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbec787caa1591554a88a8ebff8d8ad128dde065593a04b74548341a9dceef62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/senso.ex:153-159 | octopus/lib/octopus/apps/senso.ex:184-190 \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":"octopus/lib/octopus/apps/senso.ex"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfcdde512a5512e3626022f2c3275c17a4d4eeb0917336a85f663ec35c0198d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/supermario/animation/completed.ex:26-32 | octopus/lib/octopus/apps/supermario/animation/game_over.ex:26-32 \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":"octopus/lib/octopus/apps/supermario/animation/completed.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7374ead705753932051c4fa008e3a6dc2f33a33fcac4f4c87a598fd1b7b24b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): octopus/lib/octopus/radar.ex:1521-1528 | octopus/lib/octopus/radar/sensitivity.ex:20-27 \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":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe04eba9d7fde0b07719f107057941d692bf2259e05c05450f9a860066de09e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): octopus/lib/octopus/apps/collective/animations/dots.ex:196-203 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:128-135 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:182-189 | octopus/lib/octopus/apps/collective/animations/storm.ex:436-443 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/presence_panels.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"octopus/lib/octopus/apps/collective/animations/dots.ex"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5debda4fdba89ad57face04b3da577ddce84d7cea0bb4793ea7c1d9d0760c0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/breath.ex:384-389 | octopus/lib/octopus/apps/collective/animations/dots.ex:315-320 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:145-150 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/presence_panels.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"octopus/lib/octopus/apps/collective/animations/breath.ex"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daddd9f79beb8946ee2a8cf268abbaad89dc978250fa692e33ecbba3510a3b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/fireflies.ex:290-295 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:287-292 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:195-200 \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, \u0060octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:284\u0060 calls \u0060heat_at\u0060, \u0060map_size\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/fireflies.ex:287\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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc98b6bbbe324e50ff54a8681856db9ed98b5d3275064fb0a93dbeb6ae690367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): octopus/lib/octopus_web/components/app_config_component.ex:99-104 | octopus/lib/octopus_web/components/global_params_component.ex:129-132 | octopus/lib/octopus_web/components/sim3d_params_component.ex:80-85 | octopus/lib/octopus_web/components/wood_config_component.ex:87-92 \u2014 before extracting anything, compare \u0060octopus/lib/octopus_web/components/app_config_component.ex\u0060 and \u0060octopus/lib/octopus_web/components/wood_config_component.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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, \u0060octopus/lib/octopus_web/components/app_config_component.ex:95\u0060 calls \u0060handle_config_change\u0060 and \u0060octopus/lib/octopus_web/components/wood_config_component.ex:86\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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"54305f6ee9a928d477ed5c3a339f0e3c841744c1a7c1ecea95e0d54239d622ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): octopus/lib/octopus/apps/collective/animations/presence_panels.ex:66-71 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:126-131 \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":"octopus/lib/octopus/apps/collective/animations/presence_panels.ex"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"73009c47dafab8cb4676cb0da9eb7b1ca67ec7089ebab11bc7dc0c73e09a8743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:341-345 | octopus/lib/octopus/apps/collective/animations/ring_noise.ex:221-225 | octopus/lib/octopus/apps/pixel_fun/gradient_palettes.ex:114-118 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective/animations/lava_lamp.ex"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d05033ffda9e25f1229ddbc4ea7900150846468e3b4cfd052bbd5e69aa3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): octopus/lib/octopus/apps/senso.ex:72-76 | octopus/lib/octopus/apps/senso.ex:157-161 | octopus/lib/octopus/apps/senso.ex:188-192 \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":"octopus/lib/octopus/apps/senso.ex"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a71cf0ec7f5567b717262a1dbae7cb864c0b33dcd42128a9f0fedad787ffa5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): octopus/lib/octopus/apps/circular_clock.ex:437-441 | octopus/lib/octopus/apps/circular_clock.ex:452-456 \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 \u0060octopus/lib/octopus/apps/circular_clock.ex:437\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":"octopus/lib/octopus/apps/circular_clock.ex"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5bef69c674d568990ccc7e0493341b57fb88f443bb79a35057fa6c2d512947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): octopus/lib/octopus/apps/pixel_fun.ex:2255-2259 | octopus/lib/octopus/apps/pixel_fun.ex:2302-2309 \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 \u0060octopus/lib/octopus/apps/pixel_fun.ex:2255\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":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"83730b9156471aeccee4e0af774eb2c2657b8839f7efc83a594efb877dcf5865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): octopus/lib/octopus/installation_transport/persisted_state.ex:28-44 | octopus/lib/octopus/playlist_scheduler/persisted_state.ex:26-42 \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":"octopus/lib/octopus/installation_transport/persisted_state.ex"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e7ddb5108e6745d812489e02b01a9816944b66b270b51d28d716cac535b16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): octopus/lib/octopus/apps/blocks.ex:32-42 | octopus/lib/octopus/apps/snake.ex:31-41 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/blocks.ex\u0060 and \u0060octopus/lib/octopus/apps/snake.ex\u0060 as WHOLE FILES: 84% 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 2 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. 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":"octopus/lib/octopus/apps/blocks.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1958c5808fc15f2ec0075a03eaa83adaec719b65c3f78375815e27945028af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/collective.ex:1353-1359 | octopus/lib/octopus/radar/panel_activity.ex:163-169 \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 \u0060octopus/lib/octopus/apps/collective.ex:1353\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":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"c023f7b39c942f78dcc21e2bc8407349233d924361679eff8b72809c41677279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): octopus/lib/octopus/apps/collective.ex:1376-1382 | octopus/lib/octopus/radar/panel_activity.ex:193-199 | octopus/lib/octopus/radar/panel_gravity.ex:354-360 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a028ab09e658e3258bdcdde71e44ecd34edde3df38b12eca5cde3caf94c18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): octopus/lib/octopus/apps/collective/animations/dots.ex:50-56 | octopus/lib/octopus/apps/collective/animations/presence_panels.ex:30-36 | octopus/lib/octopus/apps/collective/animations/storm.ex:63-69 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/collective/animations/dots.ex\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/presence_panels.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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":"octopus/lib/octopus/apps/collective/animations/dots.ex"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"de268067c7029f41e15dec3f6d6ec5518e7dddc11e55d91d447f18947c19339f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/collective/animations/fireflies.ex:280-286 | octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:273-281 \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, \u0060octopus/lib/octopus/apps/collective/animations/lava_lamp.ex:284\u0060 calls \u0060heat_at\u0060, \u0060map_size\u0060 and \u0060octopus/lib/octopus/apps/collective/animations/fireflies.ex:289\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":"octopus/lib/octopus/apps/collective/animations/fireflies.ex"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f81103ae6f839dd7aef10357fdcfd8fe999b4274abd42ef3e3dac9f67779f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/fire.ex:58-64 | octopus/lib/octopus/apps/world_cup_final.ex:79-85 \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":"octopus/lib/octopus/apps/fire.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12a3dcd2752b29b98d8c7a6c9c004aa44737f7de245ed298ad01150ded1f3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): octopus/lib/octopus/apps/perlin_noise.ex:312-320 | octopus/lib/octopus/perlin_noise.ex:187-195 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/perlin_noise.ex\u0060 and \u0060octopus/lib/octopus/perlin_noise.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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":"octopus/lib/octopus/apps/perlin_noise.ex"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e6966757eb1a23b5bc0b74d8c4a9ff437e750b0d29662ed2d741ff14ccfdb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): octopus/lib/octopus/apps/perlin_noise.ex:343-348 | octopus/lib/octopus/perlin_noise.ex:218-223 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/perlin_noise.ex\u0060 and \u0060octopus/lib/octopus/perlin_noise.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 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":"octopus/lib/octopus/apps/perlin_noise.ex"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21813169c8b9e78ea4279cccd52c3e41f9dd9872d314ed1f4d2859588a76efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): octopus/lib/octopus/apps/sand/sim.ex:470-476 | octopus/lib/octopus/apps/world_cup_final.ex:635-641 \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":"octopus/lib/octopus/apps/sand/sim.ex"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0559ac8f35fa28954aca6f7805b55e3d208d0d0b72ddd336c87238df7c30846d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): octopus/lib/octopus/apps/ten_letters.ex:198-213 | octopus/lib/octopus/apps/triple_tla.ex:281-294 \u2014 before extracting anything, compare \u0060octopus/lib/octopus/apps/ten_letters.ex\u0060 and \u0060octopus/lib/octopus/apps/triple_tla.ex\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 108 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":"octopus/lib/octopus/apps/ten_letters.ex"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a8d8e2d140e0d17036782008ed5649ae756ece5938a9100e11c9f6f65418ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): octopus/lib/octopus/apps/webpanimation.ex:155-160 | octopus/lib/octopus/webp.ex:66-71 \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":"octopus/lib/octopus/apps/webpanimation.ex"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16588afa29eb0e4c01349952965b0712f61ab5c3f73a3ca467da7b012408fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): octopus/lib/octopus/layout/mildenberg.ex:22-32 | octopus/lib/octopus/layout/mildenberg_narrow.ex:22-32 | octopus/lib/octopus/layout/mildenberg_zoom1.ex:21-31 | octopus/lib/octopus/layout/mildenberg_zoom2.ex:21-31 | octopus/lib/octopus/layout/nation.ex:22-32 \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":"octopus/lib/octopus/layout/mildenberg.ex"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3baa6268199cd9c9e73016fb963006302ecfcf3a774a6b60309f5d6d7ad3bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): octopus/lib/octopus/radar/track_merge.ex:127-134 | octopus/lib/octopus_web/live/radar_live.ex:2268-2275 \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 \u0060octopus/lib/octopus/radar/track_merge.ex: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/track_merge.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a554cd7ea5169ea7792d1c3ea464086b8fbd49460a73bc083c8fcb7badef5f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): octopus/lib/octopus_web/live/nation_live.ex:150-155 | octopus/lib/octopus_web/live/radar_live.ex:470-475 \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":"octopus/lib/octopus_web/live/nation_live.ex"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12e5e18e86460a96de7f1da0e882ede0705b5c155843f6639d1e805f867c05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): octopus/lib/octopus/apps/fireworks.ex:42-46 | octopus/lib/octopus/apps/sand.ex:985-989 | octopus/lib/octopus/apps/sparkle_mist.ex:390-394 \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, \u0060octopus/lib/octopus/apps/fireworks.ex:41\u0060 calls \u0060num_panels\u0060 and \u0060octopus/lib/octopus/apps/sparkle_mist.ex:389\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":"octopus/lib/octopus/apps/fireworks.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36cc93f19771e6af676fba3391e3ec307b98fe8119dcdce476090c5ac606d1"}},{"ruleId":"D12","level":"warning","message":{"text":"Retired release: circuits_gpio: \u0060:circuits_gpio\u0060 is pinned to 2.1.2 in the committed mix.lock, and the publisher retired it as invalid on hex.pm \u2014 \u0022Contains severe bug affecting interrupts. Upgrade to \u003E=2.1.3\u0022. A retired release is one the publisher has asked you to stop using. The current stable release is 2.3.1. Move off it and commit the updated lockfile."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a1b48690f3ffaf8d21c8faf1393b00fb96e37695297bf8f0aa5b37091969efb"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: ecto_sqlite3: Runtime dependency \u0060:ecto_sqlite3\u0060 is declared \u0060\u0022\u003E= 0.22.0\u0022\u0060 in octopus/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:ecto_sqlite3\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d4a2a864b4ac57eaf1dad80c5e73c55cdd91181ebb8259d7338f0059623262b4"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: gettext: Runtime dependency \u0060:gettext\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in octopus/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:gettext\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"efef58737135afdd0a340f65edeff0c179d3c06c33e968975ea243659de2c198"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: octopus/lib/octopus_web/components/installation_console_component.ex: octopus/lib/octopus_web/components/installation_console_component.ex changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in InstallationConsoleComponent.assign_transport_view at line 895. 3 of those changes were fix/bug commits, and the other 39 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:28:47 \u002B02:00\u0027 --until=\u00272026-09-28 21:28:47 \u002B02:00\u0027 --full-history --no-merges -- octopus/lib/octopus_web/components/installation_console_component.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e659e8292c68dd496b7a7457e83e76f905bebfcf32181a946420903ff80d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: octopus/lib/octopus/apps/pixel_fun.ex: octopus/lib/octopus/apps/pixel_fun.ex changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PixelFun.summary_for_preset at line 392. 9 of those changes were fix/bug commits, and the other 35 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:28:47 \u002B02:00\u0027 --until=\u00272026-09-28 21:28:47 \u002B02:00\u0027 --full-history --no-merges -- octopus/lib/octopus/apps/pixel_fun.ex\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4417bd9ff9b280967241712a16f17db30d38509f40a81a5c2313897e1827465"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: octopus/assets/js/hooks/pixels.ts: octopus/assets/js/hooks/pixels.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PixelsHook.mounted at line 296. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 21:28:47 \u002B02:00\u0027 --until=\u00272026-09-28 21:28:47 \u002B02:00\u0027 --full-history --no-merges -- octopus/assets/js/hooks/pixels.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b70dee74ea871285b188cf1fc7cdc1ba1c95ce02c8e698790b09d79cf362fc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 49 significant file(s) lose their only recent owner: octopus/lib/octopus_web/live/radar_live.ex, octopus/lib/octopus/radar.ex, octopus/lib/octopus/radar/sensor.ex, octopus/lib/octopus/apps/slot_machine.ex, octopus/lib/octopus_web/live/radar_debug_live.ex, octopus/lib/octopus/apps/world_cup_final.ex, octopus/assets/js/hooks/nation.ts, octopus/lib/octopus/apps/fire.ex (\u002B41 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f767bde29654908a9674d8c854c8d8e6e97d03943f1535eff7310c84f57d8cf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 23 significant file(s) lose their only recent owner: octopus/lib/octopus_web/components/console_components.ex, octopus/assets/js/hooks/pixels3daframe.ts, octopus/lib/octopus/apps/wood.ex, octopus/lib/octopus/apps/collective/animations/storm.ex, octopus/lib/octopus/apps/collective/animations/breath.ex, octopus/lib/octopus_web/components/pixel_fun_config_component.ex, octopus/lib/octopus_web/components/app_config_component.ex, octopus/lib/octopus/apps/collective/animations/dots.ex (\u002B15 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40636c44ab63f4e40ccfa0e3b5f3b9883863f3eb8f3884dce5eb5d7cb61fc4c3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (73 single-owned of 187 analysed files in total, 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; 187 of the 299 production source files in this repository met that bar). They are anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: octopus/lib/octopus/apps/supermario/game.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"octopus/lib/octopus/animator.ex"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"471862d3f7dd6cdc7b433ef65c8b2a2aafa30517924720885cd36056c7480b75"}},{"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":"octopus/lib/octopus/playlist_scheduler/playlist.ex"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19ada5ed2a8db1bf09c7d807434a0fb81c6cdc8f52347f2e16f0fed511c0d08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # @explosion_range 2 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":"octopus/lib/octopus/apps/bomber_person.ex"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"98896232ea22855d0c9617d7d810e251a32453b4b98bea399ecaa5f21001654c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: show mario dying, then reset game, reduce level by 1, possibly game over \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":"octopus/lib/octopus/apps/supermario.ex"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d4f9d9de49e8d38d51bc15239ff51714774e781b0e70168006bb8d448a2737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO too many nested ifs, refactor, use case statement \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":"octopus/lib/octopus/apps/supermario/game.ex"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb52175781be735f2f8ea7d182277f97032b604efd803413fc489dea0affd0ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO cyclic dependency Game \u003C-\u003E Level \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":"octopus/lib/octopus/apps/supermario/level.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea527cbaa6e5f90db7968556cdde1f76b3cdc889488bb585c53bec1c40637ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Find a better name for this module \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":"octopus/lib/octopus/apps/supermario/png_file.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f50ecc997a0e35b0f1e4f45aec2a6fd841412e27010a4b1ce7f584822fce51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## todo needs a better place \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":"octopus/lib/octopus/apps/blocks/game.ex"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a7f793c9b90dfbd796e2c39d80979bace0d97aaf5d8c16ec19aac1e6ac09f"}},{"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 \u0060octopus/mix.exs\u0060 makes this repository a deployable product (line 16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/mix.exs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd560f29b2d71298553a6ecc3e18845a0be2546dee0498f7241bc4f610d1d63f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060octopus\u0060 (60783 LoC, 353 module-visible types across 41 directories) overshoots its size bounds. 1 of 4 build unit(s) (Cargo, Mix, npm) overshoot their size bounds, lowering Project Cohesion to 5.0/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/mix.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13426b216174b408bbe406866f50e2b09bc09333a488d56501d4163cb4f668d7"}},{"ruleId":"D30","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":"4deaecbfa018acd761152892f7823508697944278e4022c81addc0fe8063d1e8"},"properties":{"dependency":{"package":"protobuf","version":"0.12.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f4416a31b62033170d09eeb0f9634c711ac6b3e04148df794bea53c6f6462530"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"2257a1389c333934155e7ef150ae032fa9b27c7df20a174681afe796bdacf84e"},"properties":{"dependency":{"package":"browserslist","version":"4.25.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"be11c36c25b4b3f429e6064be9f08caeb88ca6bb99ae1648ac3d62dec59b88eb"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9fc38ffc9c7f04dc21546fd8478426c993d2f5d5e6124fdc8591000309f32d44"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"57def411edb6b423712b941466ee8acf0e9d4be23d4d7ccdd159178e84f052d6"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"da10e761e3aa57eb9ca4d6f72985cc315858312dc78c34a0200012aa639a8ec6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d0b9b6adeca11a1981d71519d9c49cea2b7ed299b10294b1ecd0aa539c7394d9"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"octopus/assets/package.json"}}}},{"ruleId":"D30","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":"1310e529a27473beb1be95c327c36fe72b23a3fa3ef11baffc400db7706541db"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"bd380900e736c5290fa7892befe040722759d7ed931b7a4f6e09ac739353c219"},"properties":{"dependency":{"package":"bandit","version":"1.12.5","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a20470c9c1c14c8321fbb0cc8e384093b3f4ee74feca04106ab97ab4b95e2b22"},"properties":{"dependency":{"package":"decimal","version":"3.1.1","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a874eedee1bb210b7b33608932cb03c1835e1b94898df18cbf27e7b600b09684"},"properties":{"dependency":{"package":"ecto","version":"3.14.2","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"32342baaad748f1adbf68c90be8c74fe1175a8d53924cbac8182c732c9882ca8"},"properties":{"dependency":{"package":"phoenix_html","version":"4.3.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"31bb74a600a8cf06ffe56235bebd28c65ef9184de8b197f4354f97d3a55aabeb"},"properties":{"dependency":{"package":"plug_crypto","version":"2.2.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"bdb22f4c0becac233444f13652de8fdf159ec681fcfa234f14ad7c2d412dc026"},"properties":{"dependency":{"package":"protobuf","version":"0.17.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"590166067095c7d89c2756c36f40dda7703ebf105afae39959960ffcaf693d2c"},"properties":{"dependency":{"package":"tidewave","version":"0.9.1","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d91362d4afc3a43691a64b11e92f9bd630bfa28e88b1982bb459a3aff3cc3c28"},"properties":{"dependency":{"package":"webp","version":"0.2.6","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0443"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"971f1652837ca719f3f6d6e71bacb815a451beff86bd76cf8a3f88591289b6f6"},"properties":{"dependency":{"package":"fflate","version":"0.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"0ab1fa56cc1c65d86a555377fb5b16cc438f16e7a27fd1e575cd620e7aef6d3f"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"057b6f900aca21219b99b8e92a2d6da6d93ef5ca05fc8787939f0691655a2d58"},"properties":{"dependency":{"package":"got","version":"9.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"30e4c761570d818376f213c55d7ba2e84e74f4476a6822ceb2d8a2796c1fb9df"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"e880978d170c0bd9cbe6120a5e02be035cd4780b73a282a9b52e21d39315ff57"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"7aa132af3c401dbfd76855e1b990b2eb1f53ecab9a6bf34056ba16f31707cc13"},"properties":{"dependency":{"package":"yaml","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"e98ecd2fd14b4f090092bc6df38e8fc23189d527020579f8ceeb42d3287516e9"},"properties":{"dependency":{"package":"min-document","version":"2.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"621cfa719cc2e2bf43572c7316b74616344c9721362f3acb580c27c3f5600c17"}},{"ruleId":"D31","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":"a623b72d7538cce3985887c0b5e16e8628626ab902df73f306bd875f15f59daa"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"1fabc4aa3cc902377b0eea3b1d836707a7a73c53a7ab7f7a89cf459d97767ed4"}},{"ruleId":"D31","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":"57b3e31e3fe3c3e04488e7518cc4ee383fcce282bb1e9b066f583ae00b81e858"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"8d23994b0398aa0523d02490b8b1af368752ad2d1633692358e8c4b379de69b7"},"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":"D31","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":"85284762e0478f8ff9a28199e1e1f37c5d11f38337564ab2268eb8ab8ade2d56"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"bf6eb1bc2f703bcb71bb98ed0708bd489dbe2eabcf9d5d7105f6fad367dea328"},"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":"D31","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":"ee902c929ed0fdd38ad7c899fbefa92b58998e1b93540d47c64dcda5eb32a9fc"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"fbe4fcb36c7e43b34e72c05006e2d217c03d89020507bf4f9230b89c231816a9"},"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":"D31","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":"b282e326fa6068c141bd26a9cb6f81a123c267903881adc0d0f66ca587eccafd"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"2750c591ea992550a6398146b135404825a223be1344de7b67cd45620d99b920"},"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":"D31","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":"3b67f1688a8d7b985191dbfea354c585f8039fcf12d42b40ef23c48f41cfa496"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a57ae5ee9edb010d6be2961080b88796b9d139238519ece18e0af7af4fdda99e"},"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":"D31","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":"ebb4a48760eaa19bc8e5eb21b0f280c0f28a341140b9ad81b4a5fd4805aba6ff"}},{"ruleId":"D31","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":"38c1af110a0dd932d892f5e6a2aff2283df496c1e4a422e5106f9a3d4966f37e"},"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":"D31","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":"24d93ae00cd70ae79ce0e819344df90f09bbc994c7489c32940fb273ac246b8a"},"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":"D31","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":"36b7b67fb963e4961a92411b060e0676a23c7097ef8c0bd1d27a32390f284e1a"},"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":"D31","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":"20505a52413dae49eb6a539f9e4509e70d3df9930bbdae130be2b0b08394b78f"}},{"ruleId":"D32","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":"91bf2ed24657fa8728bf8857d435df0a4fcd6c66613df660b19de7937afe0a07"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 31 of 187 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; 187 of the 299 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: octopus/lib/octopus_web/components/core_components.ex, octopus/lib/octopus/apps/blocks/game.ex, joystick/lib/joystick/protobuf/schema.pb.ex, octopus/lib/octopus/apps/space_invaders.ex, octopus/lib/octopus/perlin_noise.ex, octopus/lib/octopus/apps/encounter.ex, octopus/lib/octopus/particles.ex, octopus/assets/js/hooks/proximity_chart.ts (and 23 more). 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":"octopus/lib/octopus_web/components/core_components.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da045c981bf97f8f1b391b2b50bbb563d9e630239d2b41b65d9fb4d9536e6ac9"}},{"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":"octopus/lib/octopus/apps/blocks/game.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1089ac63b095c27eee268cbab98ebc48505066753a1ec164a02c09305d250e2"}},{"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":"joystick/lib/joystick/protobuf/schema.pb.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3869aa2bd9111ce523512409a908d485411cabc53fd15aa5f5ff7c4865ab30"}},{"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":"octopus/lib/octopus/apps/space_invaders.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f633d11c043524c04a916b2ca534380acd977d05e8436995598c2d1b579c0afc"}},{"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":"octopus/lib/octopus/perlin_noise.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c60309749002be7fa6dba134b113e6f2c07d7da9655484881018a8be5e23d47"}},{"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":"octopus/lib/octopus/apps/encounter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a905202715c094c650f116e5ff2716c73202e9fc34e44ec6d96a8a95619919"}},{"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":"octopus/lib/octopus/particles.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c86120758378f5854c992a4cccf72401d005c47e4ad6a418f973855fbd137d"}},{"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":"octopus/assets/js/hooks/proximity_chart.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e1c1dd3313bf7a2c7fa2b04bf053d65e75e745c9979aedd7b4babd13d384c1"}},{"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":"octopus/lib/octopus/events/event/proximity/generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a40bc5ef73a1ea92df1ba189ab027f4e81f2739b9a346dc06a5047b513a5ab"}},{"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":"octopus/lib/octopus/apps/snake/game.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ce3bc0595ec163c920605aace67cb7edf040b01ee5f2b521c36a97f14624a"}},{"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":"octopus/lib/octopus/transitions.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"019db6e2ff36716e190d8e910d02054f47a2aea2e8bd8c2bc941e814974eadd8"}},{"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":"octopus/lib/octopus/apps/calibrator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d09e63a5163694cb68900441d73bcf2ed388cce92ec10411b2634d8afd0b8c"}},{"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":"octopus/lib/octopus/apps/text.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"814bc5c3faa31d119f9e8d93acacb65c37e5837d9dbcab8bbfcbb0c4b38bed7f"}},{"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":"octopus/lib/octopus/params.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d5c25413a2016fbca9a38b641172ebe46391a4496d48b262f810aa8400e014"}},{"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":"octopus/lib/octopus_web/live/proximity_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6994907d53a5246fc3bf86398ddfe30d15db76c619862837c0f1a434c8b6a7"}},{"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":"octopus/lib/octopus/apps/starfield.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbf00627fe3e2e4beebccbe12d4a8008bdfb1fbeb06b3acffafe55a86e94439"}},{"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":"octopus/lib/octopus/font.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaade37b4c841d4742e624dd043074059709303e47532ff0cd77e13c29be0a00"}},{"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":"octopus/lib/octopus_web/live/playlist_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8fd4b58110c30df7c1fe7a597e0fb2f141c72ac09627a48c94a678aec51415"}},{"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":"octopus/lib/octopus/apps/diamonds.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b27d5a2f637be49ede69ce308c5694a829bc765eb5ef8ad16e271358162aae"}},{"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":"calibration/convert.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873bdac6f9e0298fe08de9809106ad390f4c41cc42eabeab7b71edbdd61cb21"}},{"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":"octopus/lib/octopus/events/event/proximity/processor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"402b37f5d77363f8fa227f3b5c96cda99ee44dd6b42b62205de3520de7509f10"}},{"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":"octopus/lib/octopus/osc/server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e6c42a4d05d02ac5d4c9e60e8e651b4de182b51acbe7ecea2218f7ffb2ea94"}},{"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":"joystick/lib/joystick/monitor.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2998da78aede833259a7622adc89d0e7a6d5e42e65b00606b2496115a64adc6"}},{"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":"octopus/native/octopus_webp/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9658dfb8e84152cd4eb8a0cb2a6e09f16efd248702b9efe65bb86da8c25935"}},{"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":"octopus/lib/octopus_web/telemetry.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cb31d0f731dc0fab386a81d0236186456ac35ff2104cd26c4fa3ee103f813e"}},{"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":"octopus/lib/octopus/apps/font_tester.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f74af77a3a579a4deb50cb4ac8ed7d2a747fe2f91e070aa28f6f9d9018a6e62"}},{"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":"octopus/lib/octopus_web/live/sim3d_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1fbf6fa14795567b07dcd60ba964fd80e1eb8220d71a082f2b793f1d810bf1"}},{"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":"joystick/lib/joystick/gpio_event_handler.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed434f00006baa50b41cc3ebe4adfe446a9744b814a52f11f166472e1af0cc0"}},{"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":"joystick/mix.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c196edbb5aae6e5278e9c98a8558252f29069087494f45c5c85c0d3da7f8e75"}},{"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":"octopus/lib/octopus/apps/fireworks.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbd623149896430bc9434b2301f267a2bb1508e5d64c80dee05bd7ec9c4517b"}},{"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":"octopus/lib/octopus/webp.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ad102f294161326fd083bbe4fcdc37d7cb6be1e3128ca3b890dd389170444d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pixels3daframe.ts \u2194 sim3daframe_live.ex: \u0060octopus/assets/js/hooks/pixels3daframe.ts\u0060 and \u0060octopus/lib/octopus_web/live/sim3daframe_live.ex\u0060 change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060cc4e51fd\u0060 feat: dots debug app with activity check, changed direction and velocity; \u00603f57bf58\u0060 feat: radar activity module, presence app modification; \u0060db54aecb\u0060 feat: aframe sim data from installation config \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c22306dc20aaded1c6ec32aa892b1f8fc8bb7c51963fde6d9276ae8f9f090e3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pixels3daframe.ts \u2194 sim_3d.ex: \u0060octopus/assets/js/hooks/pixels3daframe.ts\u0060 and \u0060octopus/lib/octopus/params/sim_3d.ex\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060cc4e51fd\u0060 feat: dots debug app with activity check, changed direction and velocity; \u0060db54aecb\u0060 feat: aframe sim data from installation config; \u0060e3fa93a6\u0060 feat: new panel diameter, orbital app \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753826d8f0b9f3ea46fd781ae4c5f225db9678e8938596264f829fdf07b17ea9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: installation_transport.ex \u2194 installation_console_component.ex: \u0060octopus/lib/octopus/installation_transport.ex\u0060 and \u0060octopus/lib/octopus_web/components/installation_console_component.ex\u0060 change together 64% of the time (14 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006072e4ba4c\u0060 InstallationTransport: Playlist nach Neustart wieder starten; \u00602594a95d\u0060 feat: masks for playlist tracks; \u00600a8fdc3d\u0060 fix: show all apps in now playing card \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ea2ff6fb5c35662d0f6139a239937cdf091d9440f2c113e7fc9f33f00f81ca"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pixel_fun.ex \u2194 app_config_component.ex: \u0060octopus/lib/octopus/apps/pixel_fun.ex\u0060 and \u0060octopus/lib/octopus_web/components/app_config_component.ex\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060f2af7a94\u0060 make bleeding an app parameter, set for pixel_fun, include in tweakab\u2026; \u0060a4e72800\u0060 feat/wip: pixelfun config for scenes; \u0060aa904d14\u0060 feat: pixelfun config ui \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6071d976083c946a8fd2f5c3546f53f0c2b394d13875d9b845d00b0b83f84"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: nation2024.ex \u2194 nation2025.ex: \u0060octopus/lib/octopus/installation/nation2024.ex\u0060 and \u0060octopus/lib/octopus/installation/nation2025.ex\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060afc2992c\u0060 add geo location and auto_brightness flag to installation files; \u00608ba1af05\u0060 add global speed default value to installation files; \u0060542b191a\u0060 add num_joysticks option to installation \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation/nation2024.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a842722f8b0f37fa6d1955c9a0f22189baf40ead2b4e0d83f98a9c23aa67a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: manager_live.ex \u2194 router.ex: \u0060octopus/lib/octopus_web/live/manager_live.ex\u0060 and \u0060octopus/lib/octopus_web/router.ex\u0060 change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00603651883e\u0060 feat: ui improvements; \u0060cda8693d\u0060 wip: queues for all apps; \u0060957f0dbd\u0060 radar state improvement \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/manager_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3032fa297d43c40d2818b3733c411566658a4c8d0ed84171ee98ea4c4e9567d3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: installation_transport.ex \u2194 console_components.ex: \u0060octopus/lib/octopus/installation_transport.ex\u0060 and \u0060octopus/lib/octopus_web/components/console_components.ex\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u006072e4ba4c\u0060 InstallationTransport: Playlist nach Neustart wieder starten; \u00602594a95d\u0060 feat: masks for playlist tracks; \u0060db507ee6\u0060 feat: fade through black when switching presets in playlist, add all \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1364a3d89a4881233645cbe1b3a9eda9c68f8601e12c872dbe046f1457c14f57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_mode_presets.ex \u2194 pixel_fun_config_component.ex: \u0060octopus/lib/octopus/app_mode_presets.ex\u0060 and \u0060octopus/lib/octopus_web/components/pixel_fun_config_component.ex\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00600e7d0d70\u0060 Combine PixelFun translate autos into 2D wander with interval.; \u006081d8c330\u0060 feat: improve pixelfun3d ui; \u006064e050da\u0060 feat: pixelfun 3 sliders and toggles \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/app_mode_presets.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a102631006ee7dfd1e98fdb25c42ab9ad715cfc1604c308f275aeae9fdcb69"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4096c5012f8ed67abc529f311a1e33425e9d47d112e5cfc81b307db20e7092"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a92819425fed6d81f334e36aeb371f8b334a8d2215255513fdfad81f81b7a0f"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"51417f2fe7a058931889646477ae343a3c52914a9730d9cca6666c48ce004ee1"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a3978d7975a0ba4e0876b8ba3782ce87d56ced3148ea9b06cf60ad40fffe3"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/nation_live.ex"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"000d146659a41eaf0333c2188759e652fb1a120184d1adbf97ea1e80ffb13aae"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/pixels_live.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ecccb5f0945830f0efb10da8e1223bfb5065ddb7505e57a15f29789c29a98"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/proximity_live.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa1ca24de223ede92ad54b4b7fbaecbdc7a12a8ffc13a217a592eefbe708e50"}},{"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":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"df97a56e49647b5819586c1a556ca3a31f7e7ff29733cdf34ff9cd3dbdad4065"}},{"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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dea460b70d9d0915490b44f66f9d95c91efa1768520a191c19810200cc7b5b"}},{"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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4419e8be0891ad49f441ea191810189079f9c0ab3ae6b4cf54c10f71c830f79"}},{"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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e6e9354e7bda255339e3dc076678ba9d9c272a222d02b92a03c3788b54da59"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d7ae34c02741ab9e09d1892b3edec6af9dc799d863ec3cbba6aed4eb90a63"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0402fcc1d2cd5c7eb18e7a135afd79393d844bd5e48f7857cf8fb071061d83"}},{"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":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c072dc2b6edb54b14c5a8f94b151a43ec68bf696532a86f5803794a2702fb5b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bf4a5ab18b9272ddc41a39c9d5dd8f0d7c0e7fdfaf4088e7c31c766a5d5994"}},{"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":"octopus/lib/octopus_web/components/sim3d_params_component.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a4f450826c8debd5002bcfea0d5fd847481ef8fbf087faeb524bc9037434d4"}},{"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":"octopus/lib/octopus_web/components/wood_config_component.ex"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbcfce6e7fac386e858278fc3d4ca6e3bf90d521e1aea9fe748f0285f14ab05"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\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":"octopus/lib/octopus_web/live/pixels_live.ex"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcd9d8a4afc25bf4c737676c78913f171763ff77b03eee98e493ea6b7d4d590"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/playlist_live.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fe103c3fb10bb5670321734dfc9815bd296c91b62d9ee46e72558c83f399b"}},{"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":"octopus/lib/octopus_web/live/radar_live.ex"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33c5075177724de8b7038ed9e6dfdeaf5d962f3e96362d31c272363fd613b7d"}},{"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":"octopus/lib/octopus_web/components/layouts/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac95a9c59b98229e15694265093260efb18b1670a83cf04082b919e410e5e08c"}},{"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":"octopus/lib/octopus_web/components/layouts/root_aframe.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f9e6d008c6c52e30da6181597788492bd44640d54bf75a4ab52a752d90bd50"}},{"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":"octopus/lib/octopus_web/components/layouts/root_sim3d.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea1975b8bf1ed90e6c220f3e04eafcd36fe8434e412b79cabbb6b77f4554471"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/playlists_live.ex"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe913b94efe70ead75a1598a375aa647904be35fb17511cea6e89f76629fdf1a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/playlists_live.ex"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"404dec7e0caf0c4815d8ac98f01e064b36b16fe75c4d465954272564fd0d6271"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a94e789eeaf5beacf1dd17abe7316442690868377f10d905102c20304fb7e1"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f9f09e7cca7e41dda226dc32efe3a8b5a2b91de016e9655bd1c533d4426ead"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0878b6bfd10443e2148f3e150a097bbd50a56acb00719e87d2041ea24a04263"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/radar_live.ex"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c8b03611e8dbff0d41badb6373454127ea8feaaeb307908485e61eed1fbdd2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/radar_live.ex"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"36320d13baa4ccd3734c074cb95fed38f043115f2d4f996809860dcad1c02e61"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4902e91eb5bf81eaa20ccaf4d47a7a5633085c83de319d694f5a265e5f6f034c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/console_components.ex"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c409711d95ac72b831ebb7f22da242d1b371d1df0debfff55b7b6f7f75288cff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Csvg\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/live/radar_live.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce7832557e67d9186a7dbd1cf36e687b0903102a91a852b702fc2b0453dd61"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a server (use Phoenix.Endpoint) (octopus/lib/octopus_web/endpoint.ex:2) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/endpoint.ex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08308f7447e3bfd0fa18c9d1df532b8f2ccb9dec1cce461238da7aeafd1afc9"}},{"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":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add sobelow (Elixir/Phoenix) (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060octopus/assets/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"65035b5f031344f03bce5129c8a4f79147cc480054917a0ef990744013e6efb3"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced \u2014 a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"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: 8 typed \u00B7 5 plain JS \u2014 the untyped files are octopus/assets/js/app.js, octopus/assets/js/app_sim3d.js, octopus/assets/js/app_sim3daframe.js, octopus/assets/js/hooks/index.js, octopus/assets/js/hooks/topbar.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): octopus/assets/js/app.js:26 \u00B7 octopus/assets/js/app_sim3d.js:8 \u00B7 octopus/assets/js/app_sim3daframe.js:8 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 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":"octopus/assets/js/app.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4b38de3e1b48456996b4c9beb03e5cff1e49028591606e2618bcb660b39833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): octopus/assets/js/app_sim3d.js:8 \u00B7 octopus/assets/js/app_sim3daframe.js:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/app_sim3d.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"762dbed7d1e2fcc2e94cdf4f52875a1a7e79702ed89cb5db24255d45e8446047"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels3d.ts:499 \u00B7 octopus/assets/js/hooks/pixels3d.ts:516 \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":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d30852182149b42e8e435e37ad53dbf0ce8986aa168faf7505b59103c7a1c6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): octopus/assets/js/hooks/index.js:313 \u00B7 octopus/assets/js/hooks/index.js:333 \u2014 all 2 copies are in the same file, 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":"octopus/assets/js/hooks/index.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9dc450effa1248300d5e64b930d4b0488510cac77a2cde921b4d3404b1d756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels3daframe.ts:489 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:942 \u2014 all 2 copies are in the same file, 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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a063de53a5f095b016e5fdb4e79d3a4a63dff24ad7c7943cce43e301bebce4cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): octopus/assets/js/hooks/pixels3d.ts:475 \u00B7 octopus/assets/js/hooks/pixels3d.ts:496 \u00B7 octopus/assets/js/hooks/pixels3d.ts:513 \u2014 all 3 copies are in the same file, 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":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3076df6fd44a18001135c2b464d70126c6e43c80c2d39fb30b4dc01e5ca1bfaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): octopus/assets/js/hooks/nation.ts:60 \u00B7 octopus/assets/js/hooks/pixels.ts:60 \u2014 the 2 copies are spread across 2 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":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7d59cf1ac23f8f3de4f4f1ecc9d467125377be517829587cb210fa6849fd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): octopus/assets/js/hooks/humanComponents.ts:200 \u00B7 octopus/assets/js/hooks/humanComponents.ts:212 \u2014 all 2 copies are in the same file, 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":"octopus/assets/js/hooks/humanComponents.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5d4c823d7e77063bf2c035ae7ccb3a92756ea4c59932b3a5de05b516bafacd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels.ts:111 \u00B7 octopus/assets/js/hooks/pixels.ts:354 \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":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efc20829b90bf8915e05c0727f5d4bdf9dc2f1e4522e639b9a3b0bdd9d7f30f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels3daframe.ts:973 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:981 \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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6bf1202295aa80956afd6c9dd7a2e95ed03b88fb3507f41867ae4b43e1094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): octopus/assets/js/hooks/pixels3daframe.ts:445 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1259 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1267 \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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8315a3f7d89e8c7f56bfb8beaeffecabce2ec7a96e7a97730857727623a14ac1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): octopus/assets/js/hooks/nation.ts:77 \u00B7 octopus/assets/js/hooks/pixels.ts:32 \u2014 the 2 copies are spread across 2 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":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb779a1551f7f16920d937228bb1abcfb6829b5c1c0569bf0e1b8ed42729a2c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): octopus/assets/js/hooks/nation.ts:181 \u00B7 octopus/assets/js/hooks/nation.ts:192 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c20a53396a78261bc4f0f043f87936b7984f3664783b0d048dc9f956925ef03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): octopus/assets/js/hooks/nation.ts:470 \u00B7 octopus/assets/js/hooks/pixels.ts:395 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cc4ae53220bddb73abfc998b4880a475421e8c894fa7251dbf697fa6164893"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels3daframe.ts:1001 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1008 \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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8860467b1a8aeaa34bb0eb76fb47707590438e0d495a0ad22415f0620b3bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): octopus/assets/js/hooks/pixels3daframe.ts:1261 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1269 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1332 \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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac566b8e4f5b00163fa1a2751a94f7f0fdffc6fbafaf62a4ad12a4f536762f79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): octopus/assets/js/hooks/pixels3daframe.ts:1486 \u00B7 octopus/assets/js/hooks/pixels3daframe.ts:1492 \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":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d7d27b2f698bffd2326c9af978cff12b17812d615caac8a4ff2e96a14e6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleParams (cyclomatic 14, cognitive 13): handleParams has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1aa046b4c10f0759ae81e3586abb30555aee1cc239cb7ec7dc0e4473458b42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyInstallationState (cyclomatic 12, cognitive 13): applyInstallationState has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"31191d372e4d4ace354838a85ed3834adfaf3a27f608b8caa3cc421ebf42fca0"}},{"ruleId":"R3","level":"warning","message":{"text":"octopus/assets/js/hooks/pixels3daframe.ts: 1659 lines of code: octopus/assets/js/hooks/pixels3daframe.ts has 1659 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3daframe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3562783593f403628db97280267f09f73093318ac1b777bd39ee6681c09257"}},{"ruleId":"R3","level":"warning","message":{"text":"octopus/assets/js/hooks/pixels3d.ts: 648 lines of code: octopus/assets/js/hooks/pixels3d.ts has 648 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels3d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f4f52d96194f8562b5608878a92c5e4e6962cd014c7d89e83aa54a570833a"}},{"ruleId":"R3","level":"warning","message":{"text":"octopus/assets/js/hooks/nation.ts: 445 lines of code: octopus/assets/js/hooks/nation.ts has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/nation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6ee1f3a952eca7a86c4eb6204163c66c66aadd6068f81778080842faf841ed"}},{"ruleId":"R3","level":"warning","message":{"text":"octopus/assets/js/hooks/pixels.ts: 410 lines of code: octopus/assets/js/hooks/pixels.ts has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/pixels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677143b0fa6305f50f7a58c4c75494ea466f2b8bcf691296cc516c93f44e4feb"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027mockObjects\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/assets/js/hooks/humanWorld.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0f3f6589ab5bbd72bdb5d9acea63b184c761e3db44f1d64881e140b48e7e3"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060Caddyfile\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/deploy/redlady/Caddyfile"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd43bd8cda4b0fb7448a9387a4c59762eafc327e1e08cd77328b378078ea15ef"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server and nothing in its Elixir source or production configuration secures the transport: no HTTPS served (an endpoint\u0027s \u0060https: [...]\u0060, \u0060scheme: :https\u0060, \u0060Plug.Cowboy.https\u0060, SiteEncrypt), no \u0060force_ssl:\u0060 or \u0060plug Plug.SSL\u0060 redirecting to HTTPS and sending HSTS, no \u0060strict-transport-security\u0060 header, no \u0060rewrite_on: [:x_forwarded_proto]\u0060 or \u0060x-forwarded-proto\u0060 read for a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: octopus/lib/octopus_web/endpoint.ex:2 \u2014 \u0060Phoenix.Endpoint\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apply(@mode_presets, :config_for, [__MODULE__, mode_id]) || default_config()\u0060 appears character-identically in 2 files \u2014 octopus/lib/octopus/apps/gravity_mask.ex, octopus/lib/octopus/apps/shape_shifter.ex. 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":"octopus/lib/octopus/apps/gravity_mask.ex"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6f97e453406b6ac35da380d20f2d5ac53f6d89ef3cde0052f1fe93542cbc01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installation_info.num_joysticks \u003E= 1 and installation_info.panel_width == 8 and installation_info.panel_height == 8\u0060 appears character-identically in 3 files \u2014 octopus/lib/octopus/apps/blocks.ex, octopus/lib/octopus/apps/snake.ex, octopus/lib/octopus/apps/space_invaders.ex. 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":"octopus/lib/octopus/apps/blocks.ex"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31964c76f84dc60f0ae93384bd9f28836d74ff99dc2679f2542d57c0eb4598a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060installation_info.panel_width \u003E= 8 and installation_info.panel_height \u003E= 8\u0060 appears character-identically in 4 files \u2014 octopus/lib/octopus/apps/rain.ex, octopus/lib/octopus/apps/shape_match.ex, octopus/lib/octopus/apps/sprites_grouped.ex, octopus/lib/octopus/apps/twighlight_zone.ex. 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":"octopus/lib/octopus/apps/rain.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7124e6f14692e62c33fd952f5b6764b1bb22314ed4cc2df294db80103ecbdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(device_id) and device_id \u003E 0 and is_number(deg)\u0060 appears character-identically in 2 files \u2014 octopus/lib/octopus/radar.ex, octopus/lib/octopus/radar/pose_tweak.ex. 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":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc48b85910197a660e6e65f1f3323705d48dc1ba0ef22ea238556f03d5d5e1a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(device_id) and device_id \u003E= 1\u0060 appears character-identically in 2 files \u2014 octopus/lib/octopus/radar.ex, octopus/lib/octopus/radar/log_format.ex. 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":"octopus/lib/octopus/radar.ex"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef2394c1ba35a47407ce8b988f849876c18a6f2695c92a88c8fe11e9ecb9860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060last_debug_ms == 0 or now - last_debug_ms \u003E= @debug_log_interval_ms\u0060 appears character-identically in 2 files \u2014 octopus/lib/octopus/apps/gravity_mask.ex, octopus/lib/octopus/radar/panel_gravity.ex. 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":"octopus/lib/octopus/apps/gravity_mask.ex"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92cfced1b887bee5b677ee5d42e3e7cdd090da837313e431d7ba80850fbf99"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 0/1 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.8 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 8 assertion(s) across the 4335 source line(s) of the 8 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: octopus/assets/js/hooks/pixels3daframe.ts (7), octopus/assets/js/hooks/nation.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060schema_key\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/app_config_component.ex"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4a7e119e934cc1bed485d641a424d2d0b6b4625a7dde5f27c17f86555f4385"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060now_playing_schema_key\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/installation_console_component.ex"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4775d6dd975a65f0ae8a53245d15f79b3ea0fa882ae6114fbd058bfd4226b4ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060schema_key\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/pixel_fun_config_component.ex"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b179ad7916475b1d90d22aa108b23bfc4d26da1aed5f1c2140e63a3b8fa70a8b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060schema_key\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus_web/components/wood_config_component.ex"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94cd615482784a19cf55e0837a97c18858938d8ba52f9357e7bceda3c94b81b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060available_apps\u0060 rescues \u0060_\u0060 and answers \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/app_supervisor.ex"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0213397e7ec474fb6b621e8d70d41511b1dd0d160e3cab7e4a683565db48cb9d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolve_via_mdns\u0060 matches \u0060{:error, _}\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/broadcaster.ex"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb0d64be82bb201416b19ae801c52f1ce168501372c1848656034a574201841"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ring_layout_m\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation.ex"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e04153a5c1ca05c51f662d0f33c67fc4bea72c70c1321f9f2fe8796a7efc7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060load_queue\u0060 rescues \u0060_\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/installation_transport.ex"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed9c74c6aea87db1e883f874585e61972624a279d1548e1c9446c8d41f9de8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060init\u0060 matches \u0060_\u0060 and answers \u0060:noop\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/kiosk_mode_manager.ex"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd378349d85339804496606b66d8ef524ca8baa8409154fa6151ebad571fd10b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060firmware_version\u0060 matches \u0060{:error, _}\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar.ex"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1aab5d81192ebef40ef54f1227d31deb8d096f21e13124829cf9c782bc7b94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060default_sensitivity_level\u0060 matches \u0060_\u0060 and answers \u00606\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar.ex"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811b568a29178d3bfc04bbb938024fcc684d3679449c4fae34890d2aa896f5f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolve_usb_path\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/deployment.ex"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f776bf863c9c7b9e7ac134900bbfd5f494fc33dd88c155b5d9191f0c881c0a06"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060log_discovered_adapter\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/deployment.ex"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae0cf7f8e471c6be344f0bee61ece50c4554eb34a02553bde711d8ea715a49"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060mock_world_people\u0060 rescues \u0060_\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/panel_activity.ex"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fd47e60ee344555be3ee32d11067a20e32ccf73069a84f9264d218cfef4bef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060find_block\u0060 matches \u0060:nomatch\u0060 and answers \u0060:pending\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/read_response.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59efc164636bf0b7bc82e4df87701569dc18d50d5749b0f76f25e21d2d164ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060check_int\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/read_response.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"603accc15258ea7a6dae1041d2b8ad584b3d2fae3933301597443d5727be4a30"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060check_decisecs\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/read_response.ex"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e70479159a6b83a1c6a26f725962129dcb7695940e14b4bd85d7a547c18f0b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060initial_level\u0060 matches \u0060_\u0060 and answers \u00606\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/radar/sensitivity.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23c51ebaf942079bd062829226c3f8a469d48dd8a1d549016efb27dea1d9a2c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060handle_cast\u0060 matches \u0060_\u0060 and answers \u0060:noop\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/events/router.ex"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7679187e7549e828fadf3dc398162795397791458324656be8f90bf973f76308"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060mock_world_people\u0060 rescues \u0060_\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/collective.ex"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4ee890b03102bff3280a35f19880edf33788fa403acfa219a58f26ae57380b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060update_program\u0060 matches \u0060_\u0060 and answers \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba16ff1ac4b00ff10768916febf959c6f3497c7d2e2a99ed827bda66643f9016"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060installation_width_for_migration\u0060 rescues \u0060_\u0060 and answers \u0060312\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea49ce02cc4c02a8f0d61c26af5c5d0c253f8349bab62293379698ce81cb531"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060coerce_gradient_palette\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060:rainbow\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun.ex"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"088dd3a1d93da057a06594be24c8e8176958f655b521745a0611049ddb43a9cc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060eval\u0060 rescues \u0060_\u0060 and answers \u00600.0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"octopus/lib/octopus/apps/pixel_fun/program.ex"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839ec4b30dd78924fba031979d355c544d906f74b8807114185bd00442be48f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060handle_info\u0060 matches \u0060_\u0060 and answers \u0060:noop\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"joystick/lib/joystick/udp.ex"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d8faf6f2fd614f50f15c1c6b4b1c0b7dd9c57491777b2b5b4715b3a708b9df"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"Insufficient Compartmentalization","shortDescription":{"text":"Insufficient Compartmentalization"},"helpUri":"https://cwe.mitre.org/data/definitions/653.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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-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"}]}],"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":43,"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."]}]}