{"$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":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"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":"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:76-105 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:109-120 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:123-139 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:142-158 \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":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc69e78d73a4173c0d3486d89d297e72f2c2f1c3607eec9d36aa5871d8bebc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): TextureSources/TextureToJSONMapper.py:15-28 | models/gltf_inventory.py:13-25 \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":"TextureSources/TextureToJSONMapper.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea960a819c19d8231d883c393e08bb75c0d84e2bc74d5c743dfc02bece23541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py:35-47 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py:73-85 \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":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28d0e10258da76007c7756b1805ca0cb57e79d4100e5118852b893dcfc494da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:110-120 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:129-139 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:148-158 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e10001d682541b3586d3b4a8c4f6db61876019f550afc21fd8700991b21405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:85-93 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:110-118 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:129-137 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py:148-156 \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":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/halfedge3d.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a9f6f49d7f80fe9cbe5e9828890721d7c8b31924cd80e37bcdfe58b08f29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py:24-31 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py:61-69 \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":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/room3d.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f6bca6c8bd08dd0ba1f58eb6bf862aa68619e614f5fccc570f9c2c90a7ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:68-75 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:78-82 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:90-94 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:97-102 | blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:103-107 \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. 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, \u0060blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:84\u0060 calls \u0060get\u0060 and \u0060blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py:77\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":"blender_plugin/Blueprint3DJSBPY/bp3dpy/blender/materials/cyclesmaterial.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e8bc7fa02d0ed586fc2588e025f290d0b7d6ab29cf1fd363713667f7f1e90e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Wall (LCOM4 4): Wall\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/wall.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a5b2157fafb2ef462f245a55a17d8b9cc733abbdf08a60b99c3375de94db00"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (pytest or unittest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022interior plane this.planes.push(this.makeWall(interiorStart, interiorEnd, this.edge.interiorTransform, this.edge.invInteriorTransform, wallMaterial));\u0022 repeats the code it sits on: 11 of its 12 words (interior, plane, planes, make, wall, start, end, edge, transform, inv, material) are already in \u0060this.__wallPlaneMesh = this.makeWall(interiorStart, interiorEnd, this.edge.interiorTransform, this.edge.invInteriorTrans \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed19f3362be097660d2cec8adcf8dea2e1ed592bfa7f93062af3003900ed50b8"}},{"ruleId":"D28","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":"d3474f2f21e7945c63601f05ca7cb364d7593b9393b632a2ad9d0540309f0b19"},"properties":{"commitSha":"93035f74529e1b4aede57aafd1de3407789551e1"}},{"ruleId":"D28","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":"1db6bff42237c61aa4675a0ff238bfc31fa05f73d27735de74af362ca0541585"},"properties":{"commitSha":"93035f74529e1b4aede57aafd1de3407789551e1"}},{"ruleId":"D28","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":"4889f346be994c690d74410c6f9fa73569cab105904e75ce3957bed1fb36469a"},"properties":{"commitSha":"93035f74529e1b4aede57aafd1de3407789551e1"}},{"ruleId":"D28","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":"65fe9dd93dbe2db1fe63515a1215954b9458f8344a3dff7e89931896f919784a"},"properties":{"commitSha":"93035f74529e1b4aede57aafd1de3407789551e1"}},{"ruleId":"D28","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":"86def37743b46d24dabf4ce496170260976e1903609c87306e8bf55a9e785854"},"properties":{"commitSha":"99c0819cbc596f8912f14cc359be78bcc2d3aebd"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"src/scripts/viewer3d/ItemStatistics3D.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55a5b560aa496f7fd741bc7cffabb0b55e0108ee418c230dd6b4c3c9957e6e1"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"410248b9b91c2d7c884f75772fd30476f1bd6ca0d010072098ccbabf0e5b8eec"}},{"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":"app/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e778e049a8c41bb23a11ddd2c19f7f168179d41ee550c9026f306b02e4273ed"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"205a9f5e762c12f112d2890d540343816e6b61f5d33588376a3357cf6abadc6c"}},{"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":"src/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bfaa0923d36366846491dcb566d5b7958a9f768b49a87ec746e6e567f30dcd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.9:1): \u0060.search-result li.search-separator\u0060 sets color: white on background-color: rgb(37, 138, 175) \u2014 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/css/search.css"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a2a7e9016063f8b95944a979617a6699c8019ad3146609ea3ea59494cc0e4d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060.description thead\u0060 sets color: white on background-color: #999 \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/css/style.css"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c421df6728b258ec66d9c63b5169a0996da8a95147275eb24db96f2b2ac683"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.0:1): \u0060table.params thead\u0060 sets color: #aaa on background-color: #eee \u2014 2.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/css/style.css"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c68592aa27dc03a17795c643d275836e3b2561956e8564ea6a872899d8c080"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.search-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/css/search.css"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea933590c063bd17bbfcb642dc016b34d5ce9f464e75c235df50cb3e700656"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-box.active .search-input\u0060 moves (\u0060transition: width 0.2s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/css/search.css"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6227835cf3d8cd4e4d1c2589bba9af14aa6852fcf3054300ef8f47bc64d0e8"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/model.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90effb7ad1c98672fdf1c69fbd6ef64663dcea27047dbb1ea92b281070b32684"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/Viewer3d.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859ebf41ec1110a199be30a4e4e537c1fe9bcce5df817d4b08e0fea25a13a44"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack \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: \u0060package.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":"package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 67 plain JS \u2014 the untyped files are models/geometry_for_threejs.js, models/js_snippet_inventory.js, src/DeviceInfo.js, src/index.js, src/scripts/ParametricsInterface.js, src/scripts/blueprint.js (\u002B61 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (14 clone groups): 14 duplicated blocks under src/scripts/ have copies in at least two of the sibling directories helpers, items, materials, model, parametrics, viewer2d (\u002B1 more sibling(s) not listed) \u2014 5 of them are reported below, and 9 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 14 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 14 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 14 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/item.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c478827a43e417dae3f70b2d9808ff9fd24ad9f0e23a30475b7f434ffe5c1855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): src/scripts/helpers/FloorplannerHelper.js:7 \u00B7 src/scripts/helpers/RoomplannerHelper.js:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 403 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/helpers/FloorplannerHelper.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4253e4c23f554c04ff7e63a607fa5cde7df100ef40bef706656ca2fb7f1f02c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): src/scripts/viewer3d/edge3d.js:60 \u00B7 src/scripts/viewer3d/floor3d.js:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 180 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"354d78fbaf1a7c2a6a29ed8a4bf648afd3af5fef18fbdf34b9e07cc5eb0f135b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): src/scripts/viewer2d/CornerView2D.js:88 \u00B7 src/scripts/viewer2d/WallView2D.js:461 \u2014 the two spans are one implementation copied and then locally edited \u2014 263 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer2d/CornerView2D.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e806a6ba9533c9575e79f8fd4b5f98416141139886146f1465f327bd22d0f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5 locations): src/scripts/parametrics/doors/ParametricDoorType2.js:4 \u00B7 src/scripts/parametrics/doors/ParametricDoorType3.js:4 \u00B7 src/scripts/parametrics/doors/ParametricDoorType4.js:4 \u00B7 src/scripts/parametrics/doors/ParametricDoorType5.js:4 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"src/scripts/parametrics/doors/ParametricDoorType2.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"45638147914da9ddd0cd77c60998359d4d48dae784a5cad4e0519b0296615e5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/scripts/viewer2d/CornerGroupTransform2D.js:287 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:396 \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":"src/scripts/viewer2d/CornerGroupTransform2D.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a944f13cc8833df3f70cc5fba2d32c515267217de85725648a5f0fa12e5c347"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/scripts/model/floorplan.js:681 \u00B7 src/scripts/model/floorplan.js:792 \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":"src/scripts/model/floorplan.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"431221872b2c5b0c29de380b46905e2f350b1f2d6c4b18e9b0597af0a3948851"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/scripts/model/floorplan.js:630 \u00B7 src/scripts/model/floorplan.js:753 \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":"src/scripts/model/floorplan.js"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4a0ffaf78ce168d85e0000b718fbb907787fcacb9288eb99e0df61bb03482"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/scripts/model/half_edge.js:429 \u00B7 src/scripts/model/half_edge.js:514 \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":"src/scripts/model/half_edge.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"07daecfd134a4f148367f1fb4df95aa487f5bab012f15fbfb9da0856b13d5c14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6 locations): src/scripts/parametrics/doors/ParametricBaseDoor.js:327 \u00B7 src/scripts/parametrics/doors/ParametricDoorType2.js:15 \u00B7 src/scripts/parametrics/doors/ParametricDoorType3.js:15 \u00B7 src/scripts/parametrics/doors/ParametricDoorType4.js:15 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 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":"src/scripts/parametrics/doors/ParametricBaseDoor.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26162c8ad89a89889e5c87711687c49d176a1225f3fbaf10679df089bee029a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): src/scripts/items/wall_floor_item.js:23 \u00B7 src/scripts/items/wall_item.js:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 212 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/wall_floor_item.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"79deea9a26cad2b8ce9183e70a61b23c2e4cf228cc318a56fca52d406de426eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/scripts/viewer3d/edge3d.js:212 \u00B7 src/scripts/viewer3d/edge3d.js:281 \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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"500c4663ba9d80b13d1f86051042a8f32cb536d90996b372776f5d5a8bdb017e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/scripts/viewer2d/CornerGroupTransform2D.js:44 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:92 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:152 \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":"src/scripts/viewer2d/CornerGroupTransform2D.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c05e58a15732b675cbab086e2157bab25e4b9421e28ade6ab526b6d2b81fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js:61 \u00B7 src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js:92 \u00B7 src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js:117 \u00B7 src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js:143 \u2014 all 4 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":"src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"76202ede133e75678dd2b715337afe33b8d0181cfd255e3dd2377e949d3f0f73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/scripts/parametrics/doors/ParametricBaseDoor.js:407 \u00B7 src/scripts/parametrics/doors/ParametricBaseDoor.js:427 \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":"src/scripts/parametrics/doors/ParametricBaseDoor.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844c3157839d0c32341642ae59ac148fac003b5e3e53c9108358e3cdd345f9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/scripts/core/dimensioning.js:77 \u00B7 src/scripts/core/dimensioning.js:160 \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":"src/scripts/core/dimensioning.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5aa390a318d59292a200a89d51d00a0a69c441a314c97a3290adb5bc75d5df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/scripts/viewer3d/Physical3DItem.js:409 \u00B7 src/scripts/viewer3d/Physical3DItem.js:434 \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":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba893d1abab2faa70dc2efa2357403c2f4b93d81200cf7924deb7dc5169261b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/scripts/items/in_wall_item.js:9 \u00B7 src/scripts/items/wall_floor_item.js:9 \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":"src/scripts/items/in_wall_item.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"914bb1e8362234762088e80d38e422eb31480d3a36ce2bb43a6dc606ffb9460f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): src/scripts/items/item.js:126 \u00B7 src/scripts/parametrics/doors/ParametricBaseDoor.js:40 \u00B7 src/scripts/parametrics/doors/ParametricBaseDoor.js:55 \u00B7 src/scripts/parametrics/doors/ParametricBaseDoor.js:455 \u00B7 \u002B1 more site(s) not listed \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/item.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593e5ea229c2885e1025eaef945b13bafbe176a755c75cbd54896b912ef33b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/scripts/model/corner.js:139 \u00B7 src/scripts/model/corner.js:157 \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":"src/scripts/model/corner.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"51058c5bebdaebf9144046ae3804e402b8e8c84a1f7a89b330494ca3a17d2268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/scripts/model/cornergroups.js:54 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:68 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/cornergroups.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e2edf34c4a6836fba3decdc54e0f11c92fce60d49c0d5777aa0d60f78f701"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/scripts/model/wall.js:666 \u00B7 src/scripts/model/wall.js:684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/wall.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f34308e45857055966dc0a7c3e5f281d1b1937d96448da3c555e9667bcb364"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/scripts/model/floorplan.js:126 \u00B7 src/scripts/model/floorplan.js:141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/floorplan.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062b2715b7c7f4de992471283fe930bf1ca8221402b022f9806ca548e2357a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/scripts/viewer2d/BoundaryView2D.js:7 \u00B7 src/scripts/viewer2d/CornerView2D.js:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer2d/BoundaryView2D.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6d02c53d933afef60d91bdd9b2dd63c6ceb5633a4c41ffa6a8713fea8614b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/scripts/model/room.js:535 \u00B7 src/scripts/model/room.js:586 \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":"src/scripts/model/room.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"795fd3de691c8d1f33fedb819c25a2ce53e3478836f8a488d9444cd388bdba20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/index.js:310 \u00B7 src/index.js:320 \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":"src/index.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e59c37a3a7372a2271c9980b12f669cbd768bd72d3be0677cf1bb2b5e057645"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/scripts/viewer2d/BoundaryView2D.js:64 \u00B7 src/scripts/viewer2d/WallView2D.js:257 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer2d/BoundaryView2D.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bb512e2707b273510f73e031c253df6d6b92bb35db2b7d1d305d1a1cb0be8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/scripts/core/utils.js:171 \u00B7 src/scripts/core/utils.js:188 \u00B7 src/scripts/core/utils.js:274 \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":"src/scripts/core/utils.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eb0e26fd6e9219b7498de54abbca658d165c84f0c5be29ed555655d432e632"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/core/utils.js:499 \u00B7 src/scripts/core/utils.js:519 \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":"src/scripts/core/utils.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"47525a2853b76ded12207c9dec53146f3b3ad9795ca120f56257363be3293013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/items/floor_item.js:11 \u00B7 src/scripts/items/in_floor_item.js:6 \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":"src/scripts/items/floor_item.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cdec381e5e989d6078b9f7ee9d84ff4ce35f8b762bc38b489805f1012bc09a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/items/in_wall_floor_item.js:8 \u00B7 src/scripts/items/in_wall_item.js:7 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/in_wall_floor_item.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d330ab65826d6410c5c34ef768f2f7998c3ddf13a59e8dbf0fd32e8eb1092d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/model/corner.js:664 \u00B7 src/scripts/model/corner.js:675 \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":"src/scripts/model/corner.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cbd5df558c52044b3b3ff3d98325fc317fb8afad4840ec71a38e6037e3b400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/scripts/model/half_edge.js:343 \u00B7 src/scripts/model/wall.js:603 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/half_edge.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f67865be406ed5dd766b4d374a687e1c448c53c0c7f9c1e00318768cb15a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/scripts/model/room.js:281 \u00B7 src/scripts/model/room.js:290 \u00B7 src/scripts/model/room.js:299 \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":"src/scripts/model/room.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec9bc29a8582df840dac2a3835dd3362f4b42fe2e588ce85123187b32a0e0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/model/room.js:303 \u00B7 src/scripts/model/room.js:313 \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":"src/scripts/model/room.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6add34c5d514f9210f68ba01e06b8d9b2109cdf5dd55d3e04985642de7676f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/viewer2d/Viewer2D.js:530 \u00B7 src/scripts/viewer2d/Viewer2D.js:539 \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":"src/scripts/viewer2d/Viewer2D.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"8550dc9dbf9a6e4d184b538fc9116cb1cc67e07d3bdd369caf08aaa46443a984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scripts/viewer3d/edge3d.js:15 \u00B7 src/scripts/viewer3d/floor3d.js:15 \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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3ae2ac412c59f7930adbd9fe5ad2324afa5442f36d15685c3c0b136faf0bbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/index.js:230 \u00B7 src/index.js:423 \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":"src/index.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"649f6340930f09e291026ce169f0bc25ffcc8bf0a651319e0a5bf0d447e3e4cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scripts/model/room.js:62 \u00B7 src/scripts/model/room.js:89 \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":"src/scripts/model/room.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9546e3ad861318aa3c81a77d382e337104b204d120b5e2fc195b3c3b5b969ae0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/index.js:364 \u00B7 src/index.js:371 \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":"src/index.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1e0243a1ce464eb2e6821dc32374055442c814648212e43e49732dd07ab703"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/scripts/items/in_floor_item.js:4 \u00B7 src/scripts/items/in_wall_floor_item.js:8 \u00B7 src/scripts/items/wall_floor_item.js:6 \u2014 the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/in_floor_item.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66a2975b8a3f86397dd79b3e99b217e7aa6c82f739d4f4c5141b8f2d0ad34e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scripts/model/wall.js:48 \u00B7 src/scripts/model/wall.js:56 \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":"src/scripts/model/wall.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"21363b765170f8bf6705b84c3c008463e6c61695a6d95cbf930a79f2f186c8e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scripts/viewer2d/Viewer2D.js:576 \u00B7 src/scripts/viewer2d/Viewer2D.js:583 \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":"src/scripts/viewer2d/Viewer2D.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2866a36f59603260e4c70d459f42218f679e90651c8391986fa47336a32a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scripts/viewer3d/edge3d.js:181 \u00B7 src/scripts/viewer3d/floor3d.js:39 \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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b23819f8d843e32e0e080ed5a685b19442d309bacc7e723651bbeed1b7ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scripts/items/item.js:255 \u00B7 src/scripts/items/wall_item.js:91 \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":"src/scripts/items/item.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6d62d72ca411857ac2fd8f05c04704f9fc90a8264a62a3196bfe8af4394427"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scripts/model/half_edge.js:746 \u00B7 src/scripts/model/half_edge.js:797 \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":"src/scripts/model/half_edge.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d9c27de98835728c8931b4a3c33931875a898314e3fe18f170d3f3d0ab4f19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/scripts/viewer2d/BaseFloorplanViewElement2D.js:26 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:272 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:364 \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":"src/scripts/viewer2d/BaseFloorplanViewElement2D.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f991e90411a7be6e1e94292333d8877bfbd5f0cc4ecffb73d793911eac216562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scripts/viewer2d/CornerGroupTransform2D.js:280 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:372 \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":"src/scripts/viewer2d/CornerGroupTransform2D.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f644c163927350c36770d2bbd00052df97315751819e34a00cf9d5b8767cfb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scripts/viewer2d/CornerGroupTransform2D.js:522 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:528 \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":"src/scripts/viewer2d/CornerGroupTransform2D.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8bcfb625a57ca4e9e2d8a6da5ae4facd6e99fe8ef858646c79aa4d25f338d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/index.js:482 \u00B7 src/index.js:492 \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":"src/index.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c08997402bd83fd0851d38734f7f8188c978dcee9691f3ef468ae2c5d0d053"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scripts/blueprint.js:78 \u00B7 src/scripts/blueprint.js:83 \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":"src/scripts/blueprint.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a396fb39e57f5a195d0f32c323fc7caa3fa6c4d53da6b9d736153511d7cbe8fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): src/scripts/model/floorplan.js:117 \u00B7 src/scripts/viewer2d/BaseFloorplanViewElement2D.js:22 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:269 \u00B7 src/scripts/viewer2d/CornerGroupTransform2D.js:363 \u00B7 \u002B6 more site(s) not listed \u2014 the 7 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/floorplan.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a33a864a995072cac6df4eab37aa53d1ed43680244fe27470618ecfbd2892e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/scripts/model/half_edge.js:622 \u00B7 src/scripts/model/wall.js:495 \u00B7 src/scripts/viewer2d/WallView2D.js:455 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 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":"src/scripts/model/half_edge.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba50774bf26f04f1158982b00169fdb673ff0963ba3e6feb9ba4ed846eea3f75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): src/scripts/model/half_edge.js:1011 \u00B7 src/scripts/viewer2d/Viewer2D.js:222 \u00B7 src/scripts/viewer2d/WallView2D.js:335 \u00B7 src/scripts/viewer3d/edge3d.js:128 \u00B7 \u002B3 more site(s) not listed \u2014 the 5 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/half_edge.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dc31c8048a0bc66bf9d836e89a49f015f79df5449ba60e4fda8f1671c48d30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scripts/model/room.js:511 \u00B7 src/scripts/model/room.js:635 \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":"src/scripts/model/room.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dd7db672ab50df23dcf21d9687eac445264deeebb253d889d3496a4e3861f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scripts/viewer2d/BaseFloorplanViewElement2D.js:42 \u00B7 src/scripts/viewer2d/BaseFloorplanViewElement2D.js:130 \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":"src/scripts/viewer2d/BaseFloorplanViewElement2D.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"67551516aac5853978bff52ce8168de5e7e7a466ba630d9403a4ebbfcba4d251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/scripts/viewer2d/BoundaryView2D.js:64 \u00B7 src/scripts/viewer2d/BoundaryView2D.js:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer2d/BoundaryView2D.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee004806e0d8cca9159271df15e63e08f2cfb97f40ed76301d606c0e7969bddc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scripts/viewer2d/WallView2D.js:115 \u00B7 src/scripts/viewer2d/WallView2D.js:121 \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":"src/scripts/viewer2d/WallView2D.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd270de1b94c108042ef82afe715173dddf32e5c52c42f06bf1c4f26c3f30e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/scripts/viewer3d/DragRoomItemsControl3D.js:93 \u00B7 src/scripts/viewer3d/DragRoomItemsControl3D.js:168 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/DragRoomItemsControl3D.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"366fbcfff52e45bad82d43dc606b18426699ce6c39ec702e75eb7f133092955e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/scripts/viewer3d/edge3d.js:132 \u00B7 src/scripts/viewer3d/edge3d.js:180 \u00B7 src/scripts/viewer3d/floor3d.js:38 \u00B7 src/scripts/viewer3d/floor3d.js:249 \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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1dc7d54b65f32db39450e95671455f4e84b8220ba73ce5e054e16274e8cab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scripts/viewer3d/edge3d.js:452 \u00B7 src/scripts/viewer3d/edge3d.js:477 \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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"88de3268b88afcf77c21306aa784e43f51c36b5109b1affeb6965b50fc7eed97"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/items/in_wall_floor_item.js:5 imports three/build/three.module.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/in_wall_floor_item.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5390c04053a086ac84409b9bda2e1ecdb32533d101a71e61cf2cbbb005a78f88"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/items/in_wall_item.js:5 imports three/build/three.module.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/in_wall_item.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc5ad29537bfce6513dce55aad58c6379de4f067988747064cf443b6e35b1ab"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/items/wall_item.js:2 imports three/build/three.module.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/items/wall_item.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a8220b99303db5f5c332ca6cd1a7ed680e4d554f3fa5a9f95e9b1e976ecdf3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/model/room.js:9 imports three/build/three.module, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/room.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0fdf8a7b2f32bc079f293bc53c8402108ace6e02b3e256427f7bccf63075b6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/model/wall.js:14 imports three/build/three.module, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/wall.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"263e32bc9a691d30c016b3bff14fc192cdc78cbedb4bafc9dc5dc8f134ed8914"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/scripts/viewer3d/Physical3DItem.js:15 imports three/build/three.module, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc75090ccb77991548e3a95f0466e6e2906de0a48a0c9e9b72838e0ac89af74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __initializeMetaData (cyclomatic 21, cognitive 25): __initializeMetaData has cyclomatic complexity 21 and cognitive complexity 25; 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":"src/scripts/items/item.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd81bb77ae88f54b43f99c4ce87eaa844d5ea2358bc8dc107cd6655e1dff3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFloorplan (cyclomatic 20, cognitive 20): loadFloorplan has cyclomatic complexity 20 and cognitive complexity 20; 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":"src/scripts/model/floorplan.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aefb49ae5c522bae46b6a70381113395dd6b902d7f1503877f2607931bb45e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getItemPolygon (cyclomatic 18, cognitive 21): getItemPolygon has cyclomatic complexity 18 and cognitive complexity 21; 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":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"94194d5c037ed67857c79d18187cbf2a7ed8694780cd7ddd28400d070547cfc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generate_handle (cyclomatic 17, cognitive 18): generate_handle has cyclomatic complexity 17 and cognitive complexity 18; 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":"src/scripts/parametrics/doors/doorhandles/DoorHandleGenerator.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0634f4f0687ed29da8c3262bdd7b11750642a5a8cb488f0137b1c5f1adbc34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadLockedFloorplan (cyclomatic 15, cognitive 15): loadLockedFloorplan has cyclomatic complexity 15 and cognitive complexity 15; 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":"src/scripts/model/floorplan.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"092269c28174d055d8a81d0666c8c4f96449621c68e68d15b26dae04f8a4b821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTextureMapAttribute (cyclomatic 14, cognitive 18): setTextureMapAttribute has cyclomatic complexity 14 and cognitive complexity 18; 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":"src/scripts/model/room.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f3ab80b28b13e3a31a43b49faea0fcb60a1c63a5e4395f8c69fffa9c58fdac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __updateTexturePack (cyclomatic 13, cognitive 28): __updateTexturePack has cyclomatic complexity 13 and cognitive complexity 28; 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":"src/scripts/viewer3d/edge3d.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1ddba24b039fd1a68d30ce7b6bf09c05616f33d8ede5694b905c021cbbb91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFloorItemsPositioning (cyclomatic 13, cognitive 23): handleFloorItemsPositioning has cyclomatic complexity 13 and cognitive complexity 23; 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":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efcd46a42f95c70026b3e6a24c3f751c12b42ab257e4a17bc03b950cc967e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __drawModeMouseUp (cyclomatic 13, cognitive 18): __drawModeMouseUp has cyclomatic complexity 13 and cognitive complexity 18; 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":"src/scripts/viewer2d/Viewer2D.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41925bf99ed0c21b159f53973c6e9fb1c724e37ba6ddc88aaa7233822729ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __pressListener (cyclomatic 13, cognitive 18): __pressListener has cyclomatic complexity 13 and cognitive complexity 18; 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":"src/scripts/viewer3d/DragRoomItemsControl3D.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f4409bbbe07b796590074825f18591ab54a0023b50899f8f31737ae02c4435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWallItemsPositioning (cyclomatic 12, cognitive 24): handleWallItemsPositioning has cyclomatic complexity 12 and cognitive complexity 24; 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":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bde606be6cf9086042b164fde3dee15d3f64b4c7ddfec07e1a97aa5a63dd6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __moveListener (cyclomatic 12, cognitive 21): __moveListener has cyclomatic complexity 12 and cognitive complexity 21; 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":"src/scripts/viewer3d/DragRoomItemsControl3D.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed48f6a0a9e7dd1f9e0f59ae04810bb368f4fa1a317d7d5e323306c5aad343"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getWallTextureImages (cyclomatic 12, cognitive 11): getWallTextureImages has cyclomatic complexity 12 and cognitive complexity 11; 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":"src/index.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"675fcd90bcb7e26f2f73c65b45bbe4b54abc82116329222c9dcabfeca06c427d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __updateTexturePack (cyclomatic 11, cognitive 24): __updateTexturePack has cyclomatic complexity 11 and cognitive complexity 24; 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":"src/scripts/viewer3d/floor3d.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612891d24347e612ad3e12d1adc18a1a7ef7dd580e2d40f2aaf7ad2b81febce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __dragMove (cyclomatic 11, cognitive 16): __dragMove has cyclomatic complexity 11 and cognitive complexity 16; 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":"src/scripts/viewer2d/WallView2D.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f3672a3efde053c8e27f36240289f6c145caaf11c26e79588fbe262380ec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTextureMapAttribute (cyclomatic 11, cognitive 15): setTextureMapAttribute has cyclomatic complexity 11 and cognitive complexity 15; 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":"src/scripts/model/half_edge.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"398905556c0e1a94e979bb2b33e9ca3075d493f53f711fdee3e03486e3dbf7aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchMode (cyclomatic 11, cognitive 14): switchMode has cyclomatic complexity 11 and cognitive complexity 14; 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":"src/scripts/viewer2d/Viewer2D.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a87480f14b7298540cb30eb27ad5f9242e1b59eaaa895e4d7cc5daa32ec3552"}},{"ruleId":"R3","level":"warning","message":{"text":"src/index.js: 449 lines of code: src/index.js has 449 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":"src/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d84e54f38ba1b3c5fbda5d944b13e7b27a45c0fad793d6c00d01f1e7334d6c"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 67 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"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":"R6","level":"warning","message":{"text":"A linter is configured here, but no build or CI step runs it: the root package configures a linter in \u0060.eslintrc.json\u0060, but no package script, bundler plugin, task runner or CI step in this repository runs a linter, so the rules it sets are enforced nowhere. Run it where it can fail: a \u0060lint\u0060 script that CI runs, a linter plugin in the build, or a CI step."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".eslintrc.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56be90a5cd7048b9bbf5d5c143f959b60395c2bf5d3940545057893c4db0bd6d"}},{"ruleId":"R6","level":"warning","message":{"text":"A linter is configured here, but no build or CI step runs it: the root package configures a linter in \u0060.jshintrc\u0060, but no package script, bundler plugin, task runner or CI step in this repository runs a linter, so the rules it sets are enforced nowhere. Run it where it can fail: a \u0060lint\u0060 script that CI runs, a linter plugin in the build, or a CI step."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".jshintrc"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"451af6221d822202234532a62a163426d3b3ffb1861486d8f6bcf5d0b99d049d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/BoundaryView3D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fed40b9dda03a881b246b96452403ce0e1e451fcde54b40f989f4d1939feac3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/log.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fe6278b50dbdfd73d964464c481631f7f22cfbf2d133690274a9262b5dcc45"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/exposable.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fbb25df3a050ee3573945d8b581657dbeeee2e6d0fc2aae3559895327e8faf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (3 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/geometry_for_threejs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edfb2d53de7846d46e48315d01a7e8e69f5fc4eb9c129095fa8c9712e432d74"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027wallInformation\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/configuration.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ada9ce3eec78fd2285a6f143821c09ff98eeaf0ff0df6fb60f0f5082365b7b5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIEW_TOP\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"898edce492c54bfc03cb109e023ecd2f88f9873ef229e87c1658146ba80e4767"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIEW_FRONT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bceb747b4d78bdcbc7f727f9b1adc2e9e4902b70c1c71175a9827a318be9cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIEW_RIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d71dd2027f96da4c59eb9087bfc30429d0b01a7abd3659350ade62c3d6a4be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIEW_LEFT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"25674650b7c9bba3f0f2ec1e322cb20f1321417cf6a0c3026e81f398e81e0a0d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VIEW_ISOMETRY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7731bcde81dc5666f43432ba8880bf8cc5081d0f96ddadf933c9f3e7c641e97a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DEFAULT_FONT_3D_PATH\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8822cac6918344bd3bdf0be049cf0f367ac1c80de6760380edb0cb81de8415c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SPOT_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aceded49789bf4d03a856681489413d16b2e4794e076ef0fa5670ecaba97d3b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DIR_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a013dca3744c93db0659e07ee1972b99ae03dd1ce1c74a76441d9990ffc27a9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027POINT_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687de7cdc26a33f448c5ccd1af02d54d0fdbcfe155cf273bce1783d28e31859"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RECT_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"afea8c0c49aaaaa378e1da7080d6ab275b8886d8cb3741f5ce77bf569d86cbd6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027HEM_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1968c0ffa023e359d02a3bcb4e27a410daaf2a249aa9c65cdf6f323a60413132"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AMB_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c461c00139e6af511b7121441f7d67d989c9f92e651bb40a96cbbf25c14b0ea1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SUN_LIGHT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/constants.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2c7b31be3084b8332bc3b5b988b1b28003c44904bfce3483b5e4e435d28f4c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cmPerFoot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/dimensioning.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf934c89e6606fbad9e23ecf104d1cd8ee8de2eda28324a1442f9742a732b3a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027pixelsPerFoot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/dimensioning.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dab8dab52816ecdebcb3e062341485bf064d40d11b58cb513fff648e9a19ab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027dimensioningOptions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/dimensioning.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3e52de64ca37892f61c0d437336521b356e3536bbd047095e54994f241712c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_SAVED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"036cadf13f6dc106d831cfb7ff9b11335c940fd91f850b8e0aa7a52104518ca7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_ITEM_MEASUREMENT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc12377f128ae4e0e8f325cdfaece9756fddfbf0d459c812af33dfc2672cc68"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_NEW_PARAMETRIC_ITEM\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7747583185b75c981ab83b98ae3e7540843fabd302e206591f89d1c4d03f5b40"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_LIGHT_SELECTED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6611b9e811e03b66d3787473d502a439dc9f2f525f4195252d5be7c643b274a1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_LIGHT_REFRESH\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a70e323de24014674fff038c22596f7aacb504ba97dfb6ed4103aa2cb66c77"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_LIGHT_LOAD\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c655691b04b3af41d442093e3c599daa75f482827c0954eac848f9856ef57e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_LIGHT_RESET\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"72396152fca3fc36937cf09a5b9bf677af73f57fb0cc8c9d44fe18a94e8a6af5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_LIGHT_CLICK\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae46d0c1c6f2f648a7a0cf95d7fbdc2c62ef35f3123b36b3decfcb6cd9acda2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_ITEM_HOVERON\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a123b87dcc7ab9401a7107bb9f1d683b9546f9a4c8142921b0891c818264e853"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_ITEM_HOVEROFF\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"20832e99d0516a1d90c90886824628e74e491faa4b78b42f630b08c4ab1622c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_CAMERA_MOVED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7631283cf82447bb4fd28f124bd4a466c7f24df640aa60063db7096138967f8f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_CAMERA_VIEW_CHANGE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52b376ef45d92db895317eb994aadb0a96f5a81bc412431c1ea20456e889125"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_FPS_EXIT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5cd7161bac12c478d7627c7e25c94896226f9be90765d91e1cfbe19b0765f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_FLOOR_CLICKED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc34004d72402035b8ef8eb48da8d99eb265fd7d9b3dd06b203ef1c2b1856ba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_NOTHING_CLICKED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a7bcc7acff2cdc9c00a4bf8fc51f6a530584ad8710ea5382c7db33532b44ac"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_CORNER_2D_DOUBLE_CLICKED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"108e5b42dcd93596b93afc898f73bd913a1c86ad79d23681c088748aa3a889bb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_WALL_2D_DOUBLE_CLICKED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e0363ae36de28bc9fbea4d8b4971384503b4632c44f9fcf6692e67baa439b6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_ROOM_2D_DOUBLE_CLICKED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0f2c475602cfe370c23a1bdb29add6ccaf584ba522e7420917425318a3b2d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_CORNER_2D_HOVER\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e64196099fcd1f38fb5aa6825c2bfcb85338d2c919a020e77936b66b1d41c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_WALL_2D_HOVER\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed5fc818e5719dfb8e687f1f51f1347fa229f73f7e8af1649cf76eac7db1c06"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EVENT_ROOM_2D_HOVER\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/events.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f58f638497020b68a31c913c4b2f4bcf405f4732b751ebfe6bc9306adde53f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DIAGONAL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/core/utils.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6f229ae2d5bbb012adda12048927eaa13ebdc32e4ddeec14509b3fd3f52c7e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/floorplan.js"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf045319a330b42b866d512ee9a06552dc4b88eb82dc89555d5452aaae83e11"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/half_edge.js"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab00a185161556de474cd064ec26af31e4bd6a67a06ed9ae525b66705a40820"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defaultRoomTexture\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/model/room.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a18ebec69b41e5f0c260ccedda6a2e33a6b19a626d675654d800ee2f1c1e6e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027states\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scripts/viewer3d/Viewer3d.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a045cad06cc89b8f5431ecae423a2cd8eeec8dc1b7d6b4e0aa14d575185d77b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027loadLockedBlueprint3DDesign\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe4e5a0012b51525572a593a37a6afcfccd6b7d2a363e157cceadb613006e8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \[e-mail redacted]/geom-hull\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a425afdf21362ec017881ed33b582dab8f165f31289f62011f246a3072b805"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027braces\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"548947ce7c57c9390f2797cb437bf7407753f59b66815ea858d543e6c4c10aed"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027deasync\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f1cf50025c1d58060e0393890ac97e59dc90f1fc7319678cfbf51cfbd84262"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027file-save\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"102a470c01725587f78b0939eae33b849c1503d27de1eed5ae97103ab6a8f9f3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027node-gyp\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb9a7b2a0e569f53f4bce67256b41bcfe89ee34bfc20e54a27ae2669fec9928"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027querystring-es3\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a8460515a679ff398a3d85c9fcf53e5ec1300f741a852ebe49da59f32651e4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027three-gltf-exporter\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bbf8c6371bbb2b433b4ff811a5083911986c92823af189f0c850723d636a49"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027three-reflector\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee02598356a974ad4de5264d86f38bcb55ba58aeea25ba670b649a20e19fe55"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Configuration.getBooleanValue(dragOnlyX) \u0026\u0026 Configuration.getBooleanValue(dragOnlyY)\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/CornerView2D.js, src/scripts/viewer2d/WallView2D.js. 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":"src/scripts/viewer2d/CornerView2D.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd035bbe70b91cb0c7ad8cc89d2dd46abfa2e2d3afe59cb358b44a3d55e94f56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Configuration.getBooleanValue(dragOnlyX) \u0026\u0026 !Configuration.getBooleanValue(dragOnlyY)\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/CornerView2D.js, src/scripts/viewer2d/WallView2D.js. 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":"src/scripts/viewer2d/CornerView2D.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45496c885c26fc640c1bb5444f83b0ff64781b8c0508c4b8b69d37cdc004d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Configuration.getBooleanValue(snapToGrid) || this.__snapToGrid\u0060 appears character-identically in 3 files \u2014 src/scripts/viewer2d/CornerView2D.js, src/scripts/viewer2d/Viewer2D.js, src/scripts/viewer2d/WallView2D.js. 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":"src/scripts/viewer2d/CornerView2D.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1ec68e12eb451436ff9d83d540349ef195a8c09ecc4d3518ffb95323278ee4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.type === EVENT_KEY_PRESSED \u0026\u0026 evt.key === \u0027Shift\u0027\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/BaseFloorplanViewElement2D.js, src/scripts/viewer2d/Viewer2D.js. 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":"src/scripts/viewer2d/BaseFloorplanViewElement2D.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba236e4189e5f3bb6f428752ab99779f83c6689298ca403e155727bb0d36bb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.type === EVENT_KEY_RELEASED \u0026\u0026 evt.key === \u0027Shift\u0027\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/BaseFloorplanViewElement2D.js, src/scripts/viewer2d/Viewer2D.js. 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":"src/scripts/viewer2d/BaseFloorplanViewElement2D.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cdb96afc249ad1d729a0502745bde800f58fb3fdda55f14f68a1d45bec8f10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.hasOwnProperty(opt) \u0026\u0026 opts.hasOwnProperty(opt)\u0060 appears character-identically in 4 files \u2014 src/scripts/viewer3d/Physical3DItem.js, src/scripts/viewer3d/Viewer3d.js, src/scripts/viewer3d/edge3d.js, src/scripts/viewer3d/floor3d.js. 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":"src/scripts/viewer3d/Physical3DItem.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff176fba58a3347ba3d21aa67e62cf81fd19b12d4b0eb82ea46f41fa351f27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opts.hasOwnProperty(opt) \u0026\u0026 options.hasOwnProperty(opt)\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/Viewer2D.js, src/scripts/viewer2d/WallView2D.js. 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":"src/scripts/viewer2d/Viewer2D.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0804e8ba906d3e7bb1db4ca8b68dd96d7504617b0ecc25f7aa3ff076a9ac112"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opts.hasOwnProperty(opt) \u0026\u0026 parameters.hasOwnProperty(opt)\u0060 appears character-identically in 2 files \u2014 src/scripts/parametrics/doors/ParametricBaseDoor.js, src/scripts/viewer2d/CornerGroupTransform2D.js. 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":"src/scripts/parametrics/doors/ParametricBaseDoor.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1e8346da3f56df46943c6d679e23b1c9d735cce01f7ed8fe528f132ef4bf86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.__options.hasOwnProperty(opt) \u0026\u0026 options.hasOwnProperty(opt)\u0060 appears character-identically in 2 files \u2014 src/scripts/viewer2d/BoundaryView2D.js, src/scripts/viewer2d/CornerView2D.js. 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":"src/scripts/viewer2d/BoundaryView2D.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"782f3cfec2687858413137e62507a22771b4d294c5bfccd4049ba251bc0355e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f in exclusions or purename in exclusions\u0060 appears character-identically in 2 files \u2014 TextureSources/TextureToJSONMapper.py, models/gltf_inventory.py. 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":"TextureSources/TextureToJSONMapper.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c0ab848621c884c63ceedf05ff371606527901cf6c94a72ac5ee40ced6e95e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060item.name\u0060 is text this program did not author, and it is written into a quoted attribute value through the DOM library\u0027s \u0060.append()\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/js_snippet_inventory.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef4dd20192791a4f3c5e647cfa4ba52a699484518d0d12d9f3fca87b91f563"}}],"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-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-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-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-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":"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":"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/"}]}],"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":6,"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."]}]}