{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"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":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"parse.styfn.parseImpl (cyclomatic 115): parse.styfn.parseImpl has cyclomatic complexity 115 (threshold 15). Of this number, 113 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/parse.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb9f3d2d0e4ab5b70794c3fa2533c5ede7eb6d026a04b424c16b3842f143634"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-redraw.CRp.render (cyclomatic 102): drawing-redraw.CRp.render has cyclomatic complexity 102 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52a36c00ac0969ebf17106c2f7be39a0ec547be515b268287e0ab23ff14dd32"}},{"ruleId":"D1","level":"warning","message":{"text":"load::touchmoveHandler (cyclomatic 96): load::touchmoveHandler has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bfea7d3697b7688b74826fee73a621ab569552613df3028b475f57bb48171e"}},{"ruleId":"D1","level":"warning","message":{"text":"coords.BRp.getAllInBox (cyclomatic 70): coords.BRp.getAllInBox has cyclomatic complexity 70 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb706bac155f8d453e8a9cef170097b5b4ebc1ce108bd5ffd39ebd7ff210108f"}},{"ruleId":"D1","level":"warning","message":{"text":"bounds.boundingBoxImpl (cyclomatic 64): bounds.boundingBoxImpl has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c33d775070b2077bd2bda642c74d6ea6ab54dea6004f8fea967e419ece22dac"}},{"ruleId":"D1","level":"warning","message":{"text":"load::mousemoveHandler (cyclomatic 64): load::mousemoveHandler has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"221faf33989bff8348495623231564056bb6974608556629401e15a7789d915c"}},{"ruleId":"D1","level":"warning","message":{"text":"breadthfirst.BreadthFirstLayout.run (cyclomatic 61): breadthfirst.BreadthFirstLayout.run has cyclomatic complexity 61 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 34 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/breadthfirst.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"edabb274e7f04edb298a385bf9444bacde9e40152ef493cec30554173376e656"}},{"ruleId":"D1","level":"warning","message":{"text":"findEndpoints (cyclomatic 60): findEndpoints has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc31a83d2fa7bbe0878bc599c1040ae607384ce379927bca8d44b3ef8357f0f"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-label-text.CRp.drawText (cyclomatic 58): drawing-label-text.CRp.drawText has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e82f51ea4a1125458e0aab59c07ac4e8b7f8dcf1db4760fdf5973397ff331d"}},{"ruleId":"D1","level":"warning","message":{"text":"edge-control-points.BRp.findEdgeControlPoints (cyclomatic 49): edge-control-points.BRp.findEdgeControlPoints has cyclomatic complexity 49 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1290667676753e5b3bdd07cc9fc5eabf53f123384617c8203a94d9382e25324"}},{"ruleId":"D1","level":"warning","message":{"text":"ele-texture-cache.ETCp.getElement (cyclomatic 46): ele-texture-cache.ETCp.getElement has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c643cb149211913f1a5195fc2ccc0e51c77472eff426ddf3c7d1bb9e42286"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-nodes.CRp.drawNode::drawOutline (cyclomatic 45): drawing-nodes.CRp.drawNode::drawOutline has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (drawing-nodes.CRp.drawNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a690eafe47f4fb258e9c34e3ee3abf3eff213675aee1257cb6a29501105523"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.styfn.applyParsedProperty (cyclomatic 44): apply.styfn.applyParsedProperty has cyclomatic complexity 44 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"455bf393a7e8f39f4fd9a81ea396b771f1b80961fabf642931472e8e672d24e5"}},{"ruleId":"D1","level":"warning","message":{"text":"load::mouseupHandler (cyclomatic 43): load::mouseupHandler has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1ddb1e50b78fcfb8d3237aa3981d950900341e697e37a6a6d1d60f5807a71b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.elesfn.restore (cyclomatic 42): index.elesfn.restore has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c06608d89ad777d9471efa8a5ffe4b90000ec9f8c40cedb5ead08ef7c47818b"}},{"ruleId":"D1","level":"warning","message":{"text":"load-listeners.BRp.load (cyclomatic 41): load-listeners.BRp.load has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (load-listeners.BRp.load::wheelHandler) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e860577b97b35ef889ff734da291dc8169ca191b4ceb3b0a588f5f8958ea883c"}},{"ruleId":"D1","level":"warning","message":{"text":"grid.GridLayout.run (cyclomatic 40): grid.GridLayout.run has cyclomatic complexity 40 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/grid.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a40c68e8f7ada8dc3b1b39fa3107fdb3ba100a2fa62daaf8c298238677aac8"}},{"ruleId":"D1","level":"warning","message":{"text":"edge-control-points.BRp.findTaxiPoints (cyclomatic 39): edge-control-points.BRp.findTaxiPoints has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37879ae9e03ef55c9225163906cbfb455ea5a7027e9b5a10e49e2dd676b6a66"}},{"ruleId":"D1","level":"warning","message":{"text":"load::touchendHandler (cyclomatic 39): load::touchendHandler has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aa1da4a500eb8f4a69345b955d98c3fdd49d2e602f9916111699d98cff012b"}},{"ruleId":"D1","level":"warning","message":{"text":"layered-texture-cache.LTCp.getLayers (cyclomatic 37): layered-texture-cache.LTCp.getLayers has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/layered-texture-cache.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac797c562a0b5cec217a8df71953c1f39614297133bb1d7bafd9bd7cad3439f"}},{"ruleId":"D1","level":"warning","message":{"text":"element.Element (cyclomatic 36): element.Element has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/element.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3651d9e2206a7066a22c9655f1b06577725914fb7bea94283dcdd86fdbc2325"}},{"ruleId":"D1","level":"warning","message":{"text":"hierholzer (cyclomatic 36): hierholzer has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierholzer.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c661c5c5364642f2a30c7572dfc03e1df3d7d1545a1d3e9e82a1847f985c3db"}},{"ruleId":"D1","level":"warning","message":{"text":"affinity-propagation.affinityPropagation (cyclomatic 34): affinity-propagation.affinityPropagation has cyclomatic complexity 34 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/affinity-propagation.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddb2e74e7b34c94daf5512815f439a78284a87660a0c17f49999f75ce347d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Core (cyclomatic 33): index.Core has cyclomatic complexity 33 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/index.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f3a7a84e14dadad3b3fecf40d8faa2deb728be810e32dccde053990c60899"}},{"ruleId":"D1","level":"warning","message":{"text":"bfs-dfs.defineSearch (cyclomatic 32): bfs-dfs.defineSearch has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 10, 81, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bfs-dfs.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6aa75af8c8aee75583d28b73301ab34cac51b4ce0e307f52760e66767ec864"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-images.CRp.drawInscribedImage (cyclomatic 32): drawing-images.CRp.drawInscribedImage has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"597e97625e5146039fd110c5c929092cc0ff0889fbeeba11bbe4b8fd6d831288"}},{"ruleId":"D1","level":"warning","message":{"text":"data::dataImpl (cyclomatic 32): data::dataImpl has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/define/data.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f9e3f965d57159cb45073051323ae181d0ae6abc23485f4353f412ac5a39c7"}},{"ruleId":"D1","level":"warning","message":{"text":"step.step (cyclomatic 31): step.step has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/animation/step.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f82652a94e85e76cb209644d9e1111b495a4686a702898383700d2e0775d47c"}},{"ruleId":"D1","level":"warning","message":{"text":"load::touchstartHandler (cyclomatic 31): load::touchstartHandler has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fbe09cea81f8bc357243833d464ce74232d8937d57aaf7a5ae469408726547"}},{"ruleId":"D1","level":"warning","message":{"text":"docmaker.compileConfig (cyclomatic 30): docmaker.compileConfig has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/docmaker.mjs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bd5f1ac2f154a693330576e3bfe8daa03da9726e14db249b13e66e1a7417e8"}},{"ruleId":"D1","level":"warning","message":{"text":"extension.setExtension (cyclomatic 29): extension.setExtension has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extension.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a39446597a1f33444693afbbde907c99ce166918b8e1af834d55754391716c"}},{"ruleId":"D1","level":"warning","message":{"text":"animation::animationImpl (cyclomatic 27): animation::animationImpl has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/define/animation.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a932fffc65e6de9401a9f0ce407a6c206c334a7c9480ba24788f1b090790302d"}},{"ruleId":"D1","level":"warning","message":{"text":"defineSearch::searchFn (cyclomatic 27): defineSearch::searchFn has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bfs-dfs.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c622c37d7d49669e6d4ce04af840fad2d2a59ab2a958895ff94102e1663e92c"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.styfn.updateStyleHints (cyclomatic 26): apply.styfn.updateStyleHints has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7967f037769bec56454ecf1a2ddccbea7013b12fb25e87702123f40dfbbd49"}},{"ruleId":"D1","level":"warning","message":{"text":"load-listeners.BRp.load::wheelHandler (cyclomatic 26): load-listeners.BRp.load::wheelHandler has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (load-listeners.BRp.load) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8236cde23af33a7d2aacb08aa3f411497aab3f219be13e5a454e7abdd59be6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.elesfn.json (cyclomatic 25): index.elesfn.json has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbd936e2cdf5aa19c2a93f29bc37c58b5671c3364570c184d8a1ecd4f3fb3b6"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-edges.CRp.drawEdgePath (cyclomatic 25): drawing-edges.CRp.drawEdgePath has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ac175d82cea32588eeb57fff5c32af2992307c7b0175986b3c7dbaf4befa98"}},{"ruleId":"D1","level":"warning","message":{"text":"bounds.updateBoundsFromLabel (cyclomatic 24): bounds.updateBoundsFromLabel has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"995ce8871225c8422aaaac3b287e1e384ffa42487dbe95160a1e8d1efa3c51b6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.elesfn.remove (cyclomatic 24): index.elesfn.remove has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a2e980eaa2b41a8ded4343382341fc8c5039df7388ed01614131ddb35c2627"}},{"ruleId":"D1","level":"warning","message":{"text":"labels.BRp.getLabelText (cyclomatic 24): labels.BRp.getLabelText has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e250ce7850b942699452be36b83601c4b101ae67fb9fee3585708f47d67c74"}},{"ruleId":"D1","level":"warning","message":{"text":"json (cyclomatic 24): json has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/index.mjs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7367069e0cc992ad5ef4cfe6d66b8922cd34237c95840db9e884352a4087d71"}},{"ruleId":"D1","level":"warning","message":{"text":"data.valCmp (cyclomatic 23): data.valCmp has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/selector/data.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fed40abccb8b3e165a6062098187b9321c3474164f6567a5ae6e2226829ebe5"}},{"ruleId":"D1","level":"warning","message":{"text":"edge-arrows.BRp.calculateArrowAngles (cyclomatic 23): edge-arrows.BRp.calculateArrowAngles has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-arrows.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27c67b4b935372c2ed65ff9de0f1eff6e81f945f34f30ddaa7ffa7638bf52a0"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-redraw.CRp.createGradientStyleFor (cyclomatic 23): drawing-redraw.CRp.createGradientStyleFor has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbacb39c8a3b9340ea50f788badee8b9de179074984def06b8dc05d53301782f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.CanvasRenderer (cyclomatic 23): index.CanvasRenderer has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (getLabelRotationOffset, getLabelBox, getSourceLabelBox, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/index.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"321f64bb3d99243e50b0221854e3045f79007bcd980a4b4ae8d86a71001785a4"}},{"ruleId":"D1","level":"warning","message":{"text":"math.roundRectangleIntersectLine (cyclomatic 22): math.roundRectangleIntersectLine has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7849ccd661d66d6b8a0588bc5dda48214e539dcde9d5711f0d0019d8ae9e03"}},{"ruleId":"D1","level":"warning","message":{"text":"concentric.ConcentricLayout.run (cyclomatic 22): concentric.ConcentricLayout.run has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/concentric.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2083eafad724a3fbc3cf50a684192a07334bde093871b34b95cd05f7d5d2f5"}},{"ruleId":"D1","level":"warning","message":{"text":"getFitViewport (cyclomatic 22): getFitViewport has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc6ad5fe271824a1b58aa0bdaad42bf0a4852873a35325fc128d3ccce2e6bb"}},{"ruleId":"D1","level":"warning","message":{"text":"bellmanFord (cyclomatic 22): bellmanFord has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bellman-ford.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bee8a8b5244e05e6882211f3af28adecc1c42f52349f776f66fe4ca8501fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"hierarchical-clustering.mergeClosest (cyclomatic 21): hierarchical-clustering.mergeClosest has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierarchical-clustering.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bf574b049523ef01f798553e6ea5df23d8eb1f58cac95734593df173fc65ff"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Collection (cyclomatic 21): index.Collection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b52e2b2945b3833252d90f47f557b5efd8b9c251ccac2d2869a2207d8bf020"}},{"ruleId":"D1","level":"warning","message":{"text":"bypass.styfn.applyBypass (cyclomatic 21): bypass.styfn.applyBypass has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/bypass.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"84459d0cdc8a8e9d4deac546a5525f61a4f427eac08ec3f0372652413f831bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"coords.BRp.findNearestElements::checkEdge (cyclomatic 21): coords.BRp.findNearestElements::checkEdge has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e5c1f4b0a0064e10220e3734b7dcf6d97cd13d92fa45078f6f05a6ffa5a31"}},{"ruleId":"D1","level":"warning","message":{"text":"labels.BRp.recalculateEdgeLabelProjections::calculateEndProjection (cyclomatic 21): labels.BRp.recalculateEdgeLabelProjections::calculateEndProjection has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcb6445461aedbc14c3b2d470e30e1c19fd45d56ec58812b8f14f7af9f1792e"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-nodes.CRp.drawNode (cyclomatic 21): drawing-nodes.CRp.drawNode has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (drawing-nodes.CRp.drawNode::drawOutline) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b98e556028238f1c2286bf5b17cbdb94549cbf39977fe636ab77cce47e64b5"}},{"ruleId":"D1","level":"warning","message":{"text":"betweennessCentrality (cyclomatic 21): betweennessCentrality has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/betweenness-centrality.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c32e73ebe1ff6b2949313c01f3e8886b9b693785309f7c1180d4b3929568b5"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-label-text.CRp.drawElementText (cyclomatic 20): drawing-label-text.CRp.drawElementText has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bf1ab67e8efec359daa03024db955aeac95f9528c7ad1d53e77fe4422c5385"}},{"ruleId":"D1","level":"warning","message":{"text":"relativePosition (cyclomatic 20): relativePosition has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/position.mjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce47974193cb04aec4aa2615db6a44da05186d905cd2160caf891bd1078cf50"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.styfn.updateTransitions (cyclomatic 19): apply.styfn.updateTransitions has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d5592bb3c10df637283a2231a1312795cb4076d6084b6fa4e6fa43c872e32f"}},{"ruleId":"D1","level":"warning","message":{"text":"cose.createLayoutInfo (cyclomatic 19): cose.createLayoutInfo has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacdedd5dc911614e98b620aa44f2cc1149b6082d632b9e67324254bcb4b1aad"}},{"ruleId":"D1","level":"warning","message":{"text":"cose.findClippingPoint (cyclomatic 19): cose.findClippingPoint has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"0addf42069ab2aba2bad5238b60bd6b5f8eaef8cdc1d306272dac72b6ddbf4b5"}},{"ruleId":"D1","level":"warning","message":{"text":"rendered-style.BRp.recalculateRenderedStyle (cyclomatic 19): rendered-style.BRp.recalculateRenderedStyle has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/rendered-style.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b40d844167f5eaaadead0bc01c76c7bc8e7fe969ec8f4f99ce65585e2f4602"}},{"ruleId":"D1","level":"warning","message":{"text":"colors.hsl2tuple (cyclomatic 18): colors.hsl2tuple has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/colors.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"221c12fe4e36c79c05608c9484be582352ccdcd785e8ba7990500b3e5d6a8bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"bounds.elesfn.updateCompoundBounds::update::computePaddingValues (cyclomatic 18): bounds.elesfn.updateCompoundBounds::update::computePaddingValues has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"39732bbe99202450806753517c22a0108a33cf7aa2e07493d948ab2d4cd23b58"}},{"ruleId":"D1","level":"warning","message":{"text":"index.elesfn.move (cyclomatic 18): index.elesfn.move has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f369bfa45fb438cf3d12a4bafeb8bb4321911ff36234f8ff35ce731f973e9f5"}},{"ruleId":"D1","level":"warning","message":{"text":"cose.CoseLayout.run (cyclomatic 18): cose.CoseLayout.run has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (frame, mainLoop, done, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e057f4ce5da911be423563f02917bfb55d63317c95a6c3bb601a52f755dd6f5"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-edges.CRp.drawArrowShape (cyclomatic 18): drawing-edges.CRp.drawArrowShape has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7759cc06906e5a183b730259bfc85de1cbd2d3ccb37488cff8bac65d821e2218"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-redraw-webgl.renderWebgl (cyclomatic 18): drawing-redraw-webgl.renderWebgl has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b09c6df1f17b3ff01783c79e5156cd52ea2fe13b6a465f5f760718fe5f8e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"viewport (cyclomatic 18): viewport has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"090d91f0ee7285d8e248aaaff98d9ce424e2f5aa5ffbbdeb366da190c7099eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"bounds.cachedBoundingBoxImpl (cyclomatic 17): bounds.cachedBoundingBoxImpl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb80ec8cb9d3808fd4de724bc2d0bc7ad452fe359897df719930517a108b2408"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.styfn.getPropertiesDiff (cyclomatic 17): apply.styfn.getPropertiesDiff has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdd26cbb4bd6a6e01fdd00df384dace5e510207cb81b2be3e64958330007064"}},{"ruleId":"D1","level":"warning","message":{"text":"getZoomedViewport (cyclomatic 17): getZoomedViewport has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"85151b7ad95cc8459f5bfb2fda1a70f955122b60c1da5660411b49e782d4fcd3"}},{"ruleId":"D1","level":"warning","message":{"text":"floydWarshall (cyclomatic 17): floydWarshall has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/floyd-warshall.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8400ca306c5f6d04e787eee4552b9681f96a28de69aa5ec2d56d1c17ec5998b3"}},{"ruleId":"D1","level":"warning","message":{"text":"setupDequeueing (cyclomatic 17): setupDequeueing has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 3 function items inside it that branch (setupDequeueingImpl::dequeue, setupDequeueingImpl, a function literal at line 17). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/texture-cache-defs.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd63bb3bbcb68d5b29935ac306e7076b158751f60a564fe6a9080ce6681dfcf1"}},{"ruleId":"D1","level":"warning","message":{"text":"colors.rgb2tuple (cyclomatic 16): colors.rgb2tuple has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/colors.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6528cd2f58a2d7e9bcb56c0187f87a647f4e03a95a563245cf276924795557f"}},{"ruleId":"D1","level":"warning","message":{"text":"switch-functions.defineSwitchFunction (cyclomatic 16): switch-functions.defineSwitchFunction has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 6). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/switch-functions.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f559d2db3aefcb038bb1bb0f5e02ca280dd0d7f8a93eba73db1243d9b9ac63"}},{"ruleId":"D1","level":"warning","message":{"text":"step-all.stepAll::stepOne (cyclomatic 16): step-all.stepAll::stepOne has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/animation/step-all.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0d7463ca1a9b82aff5a0a511f8a30d46448a685f78a3a35272c45f51f6cde3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.BRp.notify (cyclomatic 16): index.BRp.notify has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/index.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9fb84bcc9413037d20aa03198daa113679d0e9d70a335fc62bb57193bd8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-edges.CRp.drawEdge (cyclomatic 16): drawing-edges.CRp.drawEdge has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4a805e1225b7259a02664b28aae3bc0313e828b0efc62517190e07e526fa01"}},{"ruleId":"D1","level":"warning","message":{"text":"drawing-redraw.CRp.drawSelectionRectangle (cyclomatic 16): drawing-redraw.CRp.drawSelectionRectangle has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"42679c1ff3b7a0d83ef361709875f36920dbe8eb8339552e736f5a7a2d9d22da"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementDrawingWebGL.drawNode (cyclomatic 16): ElementDrawingWebGL.drawNode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa3812865ff223de40cacd8db5887636bf9a267db5dcddf54404345612b64e7"}},{"ruleId":"D1","level":"warning","message":{"text":"layoutPositions (cyclomatic 16): layoutPositions has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/layout.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1968e608be395d802b353a90e5ef4feb6581f3cb098a13a65036b0ed15752348"}},{"ruleId":"D1","level":"warning","message":{"text":"pageRank (cyclomatic 16): pageRank has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/page-rank.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fb583b5f0df4e751f22b15fde8eeb8f0d1c78b93e75bde7c651054097537a6"}},{"ruleId":"D2","level":"warning","message":{"text":"parseImpl (cognitive 185): parseImpl has cognitive complexity 185 (threshold 15). Drivers by points: if/else 61 (108 pts), boolean chains 38, ternaries 11 (31 pts), loops 4 (8 pts) (nesting depth added 71). Of this number, 182 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/parse.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cded7eba1a1ee7e412dbf039ad9fa82dee1fcdedc39f27eac87dba2c630737"}},{"ruleId":"D2","level":"warning","message":{"text":"load::touchmoveHandler (cognitive 168): load::touchmoveHandler has cognitive complexity 168 (threshold 15). Drivers by points: if/else 55 (132 pts), boolean chains 27, loops 4 (9 pts) (nesting depth added 82). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f676d995d8c1d64ca698299e539b87f7d6c6db61e12d962b71f13dd63cd9d1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"getAllInBox (cognitive 167): getAllInBox has cognitive complexity 167 (threshold 15). Drivers by points: if/else 33 (117 pts), boolean chains 27, loops 5 (22 pts), ternaries 1 (nesting depth added 101). Of this number, 161 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86999423ed28520fae47705c6c7300f2152cb84e2e0c47c4d7b46cb8ffb25f5"}},{"ruleId":"D2","level":"warning","message":{"text":"load::mousemoveHandler (cognitive 127): load::mousemoveHandler has cognitive complexity 127 (threshold 15). Drivers by points: if/else 41 (109 pts), boolean chains 18 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1259e809cb627bf367375533597b1b483a027146059df1eceb2a3ce325446ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"boundingBoxImpl (cognitive 125): boundingBoxImpl has cognitive complexity 125 (threshold 15). Drivers by points: if/else 33 (93 pts), boolean chains 20, loops 1 (6 pts), match/switch 1 (5 pts), ternaries 1 (nesting depth added 69). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"547deb37576f422045cc30ecb8f881d3658d7cb0ffb9b81eeabb3724273056d7"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-label-text.CRp.drawText (cognitive 106): drawing-label-text.CRp.drawText has cognitive complexity 106 (threshold 15). Drivers by points: if/else 36 (79 pts), match/switch 4 (13 pts), boolean chains 8, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570e7e69de1c89dade8009a3324312f736e854172c343049f7a477f60db2c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 106): render has cognitive complexity 106 (threshold 15). Drivers by points: if/else 44 (59 pts), boolean chains 35, ternaries 8 (12 pts) (nesting depth added 19). Of this number, 91 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac8f7f31468aa6f2b34bc7aee68eefe562e1065f65635d18058cf0f2f0ed328"}},{"ruleId":"D2","level":"warning","message":{"text":"findEndpoints (cognitive 98): findEndpoints has cognitive complexity 98 (threshold 15). Drivers by points: if/else 35 (72 pts), boolean chains 12, ternaries 9 (12 pts), other 2 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1d2073647c145eaa02295d55a758a060ea25007e594ab62cfd9606eb7d49a0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.elesfn.restore (cognitive 89): index.elesfn.restore has cognitive complexity 89 (threshold 15). Drivers by points: if/else 32 (67 pts), loops 6 (12 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ffe2f934ac489be082f92cc15ba38de0534201ce3cd8cce10ae6c9a168ba86"}},{"ruleId":"D2","level":"warning","message":{"text":"grid.GridLayout.run (cognitive 89): grid.GridLayout.run has cognitive complexity 89 (threshold 15). Drivers by points: if/else 30 (55 pts), loops 6 (21 pts), boolean chains 8, ternaries 3 (5 pts) (nesting depth added 42). Of this number, 62 points are the body\u0027s own statements and 27 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/grid.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c23e6ebcc2ffd13d86d269c0c848c353eb88772577936f45a22bf296f7b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"breadthfirst.BreadthFirstLayout.run (cognitive 80): breadthfirst.BreadthFirstLayout.run has cognitive complexity 80 (threshold 15). Drivers by points: if/else 32 (43 pts), loops 12 (17 pts), ternaries 7 (11 pts), boolean chains 9 (nesting depth added 20). Of this number, 38 points are the body\u0027s own statements and 42 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/breadthfirst.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff0916a632da986798c3128d68bbe946e2987f404f424383b22fa0f05524ab"}},{"ruleId":"D2","level":"warning","message":{"text":"load::mouseupHandler (cognitive 80): load::mouseupHandler has cognitive complexity 80 (threshold 15). Drivers by points: if/else 33 (72 pts), boolean chains 8 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed36cd018494870eecae46474ab12fe211691cb01da51bf12f5a87da59a7ebdb"}},{"ruleId":"D2","level":"warning","message":{"text":"drawNode::drawOutline (cognitive 76): drawNode::drawOutline has cognitive complexity 76 (threshold 15). Drivers by points: if/else 28 (46 pts), ternaries 4 (12 pts), boolean chains 9, loops 2 (6 pts), match/switch 1 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d19b4f63007f31f5543b0d8da16d43357994fb28bd4334331f6e9c83903e49c"}},{"ruleId":"D2","level":"warning","message":{"text":"docmaker.compileConfig (cognitive 74): docmaker.compileConfig has cognitive complexity 74 (threshold 15). Drivers by points: if/else 15 (46 pts), loops 5 (19 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/docmaker.mjs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4106fa3f51a50d4f1a8868062779e043861db4568bcd47b3fd92046d74c943cf"}},{"ruleId":"D2","level":"warning","message":{"text":"data::dataImpl (cognitive 72): data::dataImpl has cognitive complexity 72 (threshold 15). Drivers by points: if/else 20 (52 pts), loops 3 (10 pts), boolean chains 8, ternaries 2 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/define/data.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b435bbc34b025f44f4ed0a4748652031c84db0a8b7d0f375f34e6326300078ec"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.styfn.applyParsedProperty (cognitive 70): apply.styfn.applyParsedProperty has cognitive complexity 70 (threshold 15). Drivers by points: if/else 34 (49 pts), boolean chains 8, ternaries 3 (8 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 22). Of this number, 67 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12bbb6bef220d33141ec89a459df0d8b051cfa875c07fdc80463a3fbf71e0ae"}},{"ruleId":"D2","level":"warning","message":{"text":"bellmanFord (cognitive 70): bellmanFord has cognitive complexity 70 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 7 (23 pts), boolean chains 3 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bellman-ford.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4574f7a951c9797ab0edf5ecaf97a8edde0a1d92ee8b99a06126ffc9375d8de6"}},{"ruleId":"D2","level":"warning","message":{"text":"json (cognitive 68): json has cognitive complexity 68 (threshold 15). Drivers by points: if/else 23 (54 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 39). Of this number, 40 points are the body\u0027s own statements and 28 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/index.mjs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"becbabbcc2a48918eccd44d2f7914464bcb11953c42ec572517963b37720f773"}},{"ruleId":"D2","level":"warning","message":{"text":"hierholzer (cognitive 68): hierholzer has cognitive complexity 68 (threshold 15). Drivers by points: if/else 33 (57 pts), boolean chains 6, loops 3, ternaries 1 (2 pts) (nesting depth added 25). Of this number, 31 points are the body\u0027s own statements and 37 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierholzer.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"420e0423e3cb4854d6460b64c71c5f7dfcec0d1015f9e5bb711d5e23ac95a19f"}},{"ruleId":"D2","level":"warning","message":{"text":"betweennessCentrality (cognitive 66): betweennessCentrality has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (45 pts), loops 9 (21 pts) (nesting depth added 42). Of this number, 64 points are the body\u0027s own statements and 2 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/betweenness-centrality.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7168987e5cb8c2a7040683fd184663f150bae8fdfef69d793d426e72da096bee"}},{"ruleId":"D2","level":"warning","message":{"text":"load::touchendHandler (cognitive 66): load::touchendHandler has cognitive complexity 66 (threshold 15). Drivers by points: if/else 37 (62 pts), boolean chains 3, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd459778d770105c51e75e3f09e9cf61dc5002fcf0977d397904c479ceb48af1"}},{"ruleId":"D2","level":"warning","message":{"text":"affinity-propagation.affinityPropagation (cognitive 64): affinity-propagation.affinityPropagation has cognitive complexity 64 (threshold 15). Drivers by points: loops 22 (39 pts), if/else 7 (19 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 31). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/affinity-propagation.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82255e74086018d633745ca194f69ab443a8e4949f20f31c93bed285a2a653f"}},{"ruleId":"D2","level":"warning","message":{"text":"findEdgeControlPoints (cognitive 62): findEdgeControlPoints has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 19, ternaries 4 (8 pts), loops 3 (4 pts) (nesting depth added 19). Of this number, 61 points are the body\u0027s own statements and 1 belongs to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac93b72e45ef57483dea36f8853cf719b31c532ad77baf8a13c795ed44b5f48"}},{"ruleId":"D2","level":"warning","message":{"text":"step.step (cognitive 60): step.step has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (51 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/animation/step.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"612c0c24aaf1a8d5b14f03961bba6864b694f50debb3318ef677472c88d55ebd"}},{"ruleId":"D2","level":"warning","message":{"text":"labels.BRp.getLabelText (cognitive 58): labels.BRp.getLabelText has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (43 pts), loops 3 (8 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 32). Of this number, 56 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e45de287b72b45fb41032fde65f38411a16e2c060857e714c1c700e9738e33"}},{"ruleId":"D2","level":"warning","message":{"text":"findTaxiPoints (cognitive 57): findTaxiPoints has cognitive complexity 57 (threshold 15). Drivers by points: if/else 21 (27 pts), ternaries 9 (16 pts), boolean chains 14 (nesting depth added 13). Of this number, 54 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5db1abc51437a5bb1c7747ddfdf13f0a8e420c259237e1816729f69bf6d099"}},{"ruleId":"D2","level":"warning","message":{"text":"json (cognitive 55): json has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (46 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 29). Of this number, 46 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c918497c78155da28c245016246829ba1259fbb59aa2cfb8aa2d8597bd92bbb1"}},{"ruleId":"D2","level":"warning","message":{"text":"ele-texture-cache.ETCp.getElement (cognitive 53): ele-texture-cache.ETCp.getElement has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 14, loops 3 (7 pts), ternaries 1 (nesting depth added 11). Of this number, 51 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"069506b7e00644871fd40e4d10d0124afb19a24a915873b93be64531f1f1678b"}},{"ruleId":"D2","level":"warning","message":{"text":"bfs-dfs.defineSearch (cognitive 49): bfs-dfs.defineSearch has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 5 (11 pts), boolean chains 9, loops 4 (5 pts) (nesting depth added 21). Most of this is not in the body itself: 2 of the 49 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 10, 81, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bfs-dfs.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d53b884f503ba537d69487a2095c00675ecaaa8bfa45c1b5c3433d446f9cfe"}},{"ruleId":"D2","level":"warning","message":{"text":"layered-texture-cache.LTCp.getLayers (cognitive 46): layered-texture-cache.LTCp.getLayers has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (30 pts), boolean chains 11, loops 4 (5 pts) (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 19 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/layered-texture-cache.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ce3e356e3ae7af289913412c0ae98b70e67628e173c7943d99ad8112828044"}},{"ruleId":"D2","level":"warning","message":{"text":"setExtension (cognitive 46): setExtension has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 4 (10 pts), boolean chains 7 (nesting depth added 17). Of this number, 30 points are the body\u0027s own statements and 16 belong to 23 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extension.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fe5449aaadefedb5c3d348ea3eb0941b5dd1ccad419595a6ee410cc08373a2"}},{"ruleId":"D2","level":"warning","message":{"text":"defineSearch::searchFn (cognitive 46): defineSearch::searchFn has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 8 (13 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/bfs-dfs.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b496cab2c54a0b941f60636c28ae5bfa44e70c14ad4c82e9072b350199052a71"}},{"ruleId":"D2","level":"warning","message":{"text":"drawInscribedImage (cognitive 45): drawInscribedImage has cognitive complexity 45 (threshold 15). Drivers by points: if/else 29 (35 pts), boolean chains 8, ternaries 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2b928e49883dcec8891543b619d261105d8df0627bb55f344d7b6c1a1b7e75"}},{"ruleId":"D2","level":"warning","message":{"text":"relativePosition (cognitive 44): relativePosition has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 5 (15 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/position.mjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7594d58ef03993f602736bc8f067a9be7ceb88a0ff21d099fb02a72b87bf3fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"load::touchstartHandler (cognitive 44): load::touchstartHandler has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (38 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43cd7859a9b8bcfe9931cc50c3e87babdae673345842c1db2d94f2a92b22526"}},{"ruleId":"D2","level":"warning","message":{"text":"bypass.styfn.applyBypass (cognitive 43): bypass.styfn.applyBypass has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/bypass.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d25e9656339f020cc448f47ed2961f87c1f07f1370f0e9dba435c563a949335"}},{"ruleId":"D2","level":"warning","message":{"text":"load-listeners.BRp.load (cognitive 42): load-listeners.BRp.load has cognitive complexity 42 (threshold 15). Drivers by points: if/else 146 (288 pts), boolean chains 81, loops 7 (9 pts), ternaries 2 (3 pts) (nesting depth added 145). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (load-listeners.BRp.load::wheelHandler) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a4708cb4440664af4cede37e1fadd1fe5fdc62142784628d8c5af5f7a63afb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.elesfn.move (cognitive 39): index.elesfn.move has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 2 (6 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 22). Most of this is not in the body itself: 14 of the 39 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 766, a function literal at line 794, toString). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eda0e95a9e5e48c62c8f7bda8d56b363fc05399772992984d1cd732fcbe4e94"}},{"ruleId":"D2","level":"warning","message":{"text":"index.elesfn.remove (cognitive 38): index.elesfn.remove has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 7 (9 pts), boolean chains 3 (nesting depth added 12). Of this number, 29 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b02772820e2f7e909f19fd19ced3de55d094a247a283366a611a9fdf35a073b"}},{"ruleId":"D2","level":"warning","message":{"text":"load-listeners.BRp.load::wheelHandler (cognitive 38): load-listeners.BRp.load::wheelHandler has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (load-listeners.BRp.load) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"626506717c6676f3b09d02914043e0746b7d03ed499ed935e5470fd76c9a3eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"getStylePropertyValue (cognitive 38): getStylePropertyValue has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 2 (10 pts), boolean chains 2 (nesting depth added 23). Of this number, 32 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/get-for-ele.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f85f44f8781dfad5aad1e69df397ee1509606437a60e16d9ea2a1fc61b66d"}},{"ruleId":"D2","level":"warning","message":{"text":"aStar (cognitive 38): aStar has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/a-star.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b06f5dcfc6efbc09022c38631d9dccc7c681a0535ecc13c10eb44dc7248622"}},{"ruleId":"D2","level":"warning","message":{"text":"hierarchical-clustering.mergeClosest (cognitive 37): hierarchical-clustering.mergeClosest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierarchical-clustering.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"328f17ce9b076188d33a17cf21b33e34f23cf391a8f1469661917801ffbff018"}},{"ruleId":"D2","level":"warning","message":{"text":"Element (cognitive 37): Element has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 11, ternaries 10, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/element.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12bc6eed3c53cb134ba391d4c4372f384a3c8e31768350cd11e36f4947325f1"}},{"ruleId":"D2","level":"warning","message":{"text":"bounds.updateBoundsFromLabel (cognitive 35): bounds.updateBoundsFromLabel has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 8 (12 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0e6e0b2be3f9dcea97d6885939fde19239c15454367342c637a23d5ecc9f29"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.styfn.getPropertiesDiff (cognitive 35): apply.styfn.getPropertiesDiff has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (8 pts), boolean chains 5 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"570ca5d0af621a90b9fd4a7d9abef3ece33d50c02e0dfe98cc4d7ed2818f7ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-edges.CRp.drawEdgePath (cognitive 35): drawing-edges.CRp.drawEdgePath has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 4 (14 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f58c47b47a16660b72ee8b199699be5d85735042b01a4b0768ac7110bcf22"}},{"ruleId":"D2","level":"warning","message":{"text":"AtlasManager.invalidate (cognitive 35): AtlasManager.invalidate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (19 pts), ternaries 2 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/atlas.mjs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"2429abd8072fc97dfb84310b594cae261632b4624c7d80566dbbf711ca583ccf"}},{"ruleId":"D2","level":"warning","message":{"text":"bounds.cachedBoundingBoxImpl (cognitive 34): bounds.cachedBoundingBoxImpl has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 6, ternaries 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d294e893982394d73fc890afd6519bf3e55fab8f6c619ea67b95ec70832f12"}},{"ruleId":"D2","level":"warning","message":{"text":"labels.BRp.recalculateEdgeLabelProjections::calculateEndProjection (cognitive 34): labels.BRp.recalculateEdgeLabelProjections::calculateEndProjection has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (9 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a861079f57c64693c067e8fd9559fbfb4320fcbb848234fb47b6dc458cff69ed"}},{"ruleId":"D2","level":"warning","message":{"text":"run (cognitive 34): run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 8 (11 pts), ternaries 5 (9 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/concentric.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd5ccb52176d50b0a3a37c96dea3444fcc5bc47f1908ec18fd62379fda89a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Core (cognitive 33): Core has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 9, ternaries 7, loops 1 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/index.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ce2ecdd05a3ccdc87aef7decef23b0b9c15f1a6771dc7c6e5ac5a26644726c"}},{"ruleId":"D2","level":"warning","message":{"text":"animation::animationImpl (cognitive 33): animation::animationImpl has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 9, match/switch 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/define/animation.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75d36fd46af5f8cc08d755de0bd5eaffd95a285d5549cd67283c900fbc9eb94"}},{"ruleId":"D2","level":"warning","message":{"text":"createLayoutInfo (cognitive 33): createLayoutInfo has cognitive complexity 33 (threshold 15). Drivers by points: loops 11 (19 pts), if/else 4 (7 pts), ternaries 4 (7 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9359f9efda56c5af97c59f5b7547455b662764f9d056bd04a14631f94c84c8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"switch-functions.defineSwitchFunction (cognitive 32): switch-functions.defineSwitchFunction has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 17). None of this is in the body itself: all 32 points belong to one function literal inside it that branches (line 6). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/switch-functions.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"79731822975cdb3d5cabc396dc8e4a30e5888f49d0d784e21376d542e5f7a571"}},{"ruleId":"D2","level":"warning","message":{"text":"string-sheet.styfn.appendFromString (cognitive 32): string-sheet.styfn.appendFromString has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (5 pts) (nesting depth added 16). Of this number, 28 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/string-sheet.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"79229f64452ed76062ceb3ed7e9cf7b53e6b7f4cc03ba3846c0c1a501c6d208a"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-redraw-webgl.renderWebgl (cognitive 32): drawing-redraw-webgl.renderWebgl has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7acaad9f70344aaead02bff5492b3ea0c2c8a31ce1ab2269cd24d5f5fd72b9"}},{"ruleId":"D2","level":"warning","message":{"text":"findNearestElements::addEle (cognitive 32): findNearestElements::addEle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (9 pts), loops 1 (4 pts), boolean chains 3 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"543d3cd723231c14923dc99db8734ae951b1f1aed1d92d86bb22130e36386944"}},{"ruleId":"D2","level":"warning","message":{"text":"bounds.elesfn.updateCompoundBounds::update::computePaddingValues (cognitive 31): bounds.elesfn.updateCompoundBounds::update::computePaddingValues has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (23 pts), boolean chains 3, if/else 3, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f7f287f0156e24ab704809814a38d66ab003ca1d4b0333f86926d058df36f9"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.styfn.updateStyleHints (cognitive 31): apply.styfn.updateStyleHints has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 3 (6 pts), loops 4 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9769efe0d203f3ddee8aa29fed501aba7bcb7c3ca69eab74a807cc5234c5a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.styfn.updateTransitions (cognitive 31): apply.styfn.updateTransitions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6f49776b19f36c2ad1a183808c2e4122cc561e3d85714fe3c226697a0f2f81"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-nodes.CRp.drawNode::drawBorder (cognitive 31): drawing-nodes.CRp.drawNode::drawBorder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 3 (10 pts), match/switch 1 (3 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (drawing-nodes.CRp.drawNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a268581a9b6597f7c37241ec97e15a820869b8dc6deac9313b5ded4d2f2c249"}},{"ruleId":"D2","level":"warning","message":{"text":"setupDequeueing::setupDequeueingImpl::dequeue (cognitive 30): setupDequeueing::setupDequeueingImpl::dequeue has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/texture-cache-defs.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ba337dfcd2869a5ff613def90103e376f019f58c557149d6adc26a08543eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"edge-control-points.BRp.storeAllpts (cognitive 29): edge-control-points.BRp.storeAllpts has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5d45783113bcc8f6886be9116b9a577d72c758a03c717d2108404ac22eb984"}},{"ruleId":"D2","level":"warning","message":{"text":"floydWarshall (cognitive 29): floydWarshall has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 6 (9 pts), boolean chains 1, ternaries 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/floyd-warshall.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd1f50f39848d6728889357147ee34d96e225c816cb2eb139a4d152373cb117"}},{"ruleId":"D2","level":"warning","message":{"text":"pageRank (cognitive 29): pageRank has cognitive complexity 29 (threshold 15). Drivers by points: loops 12 (22 pts), if/else 4 (7 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/page-rank.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39094509b3e7de4319fe7ef6f6e234049e10494a4e8dd107ccf209722195b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Collection (cognitive 28): Collection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0aa005429a258a8e7eceb9a2fe05f05795d6799ee98518ddd1d7137aca6e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"removeData::removeDataImpl (cognitive 28): removeData::removeDataImpl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (11 pts), ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/define/data.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa77c02ff422760fde7f16869a8e2b1c18b504fe68a1bf79a92dd62d6eb6e24"}},{"ruleId":"D2","level":"warning","message":{"text":"drawArrowShape (cognitive 28): drawArrowShape has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba6c63f9571fa339b1e6d71fca0504c0176f9d343c1e30c828b669b168c243e"}},{"ruleId":"D2","level":"warning","message":{"text":"colors.hsl2tuple (cognitive 27): colors.hsl2tuple has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/colors.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7d8a90fb68c8e8bceb9dd0d2feb8ebe66cdd8400f6baa5a511b034eca1b599"}},{"ruleId":"D2","level":"warning","message":{"text":"degreeCentralityNormalized (cognitive 27): degreeCentralityNormalized has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts) (nesting depth added 14). Of this number, 15 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/degree-centrality.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9698453fd90b445da1126e70b22666013197f50e1046e8e1ea01f8718c731a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"hierarchicalClustering (cognitive 27): hierarchicalClustering has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (10 pts), loops 4 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierarchical-clustering.mjs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c3bbc8cec7f27956491e990e898befa240f05266f9661fb3988fba61728f90"}},{"ruleId":"D2","level":"warning","message":{"text":"hierarchical-clustering.buildClustersFromTree (cognitive 26): hierarchical-clustering.buildClustersFromTree has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (26 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hierarchical-clustering.mjs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f7a856ee9a45d5e4a1ba0a17f1fc84f5f2e5db13f8f58155572bf7c4bbc3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"k-clustering.kMeans (cognitive 26): k-clustering.kMeans has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/k-clustering.mjs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa5c47ed4264530af16ee24c01bf95282651ba85c5c0e17c72b5d0563bb6a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"cose.CoseLayout.run (cognitive 26): cose.CoseLayout.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 5). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 4 function items inside it that branch (frame, mainLoop, done, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"34398ab3cc0473e60b071fd0bafb89a0b1fc12d0da3295409ebc24c52b65855b"}},{"ruleId":"D2","level":"warning","message":{"text":"rendered-style.BRp.recalculateRenderedStyle (cognitive 26): rendered-style.BRp.recalculateRenderedStyle has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/rendered-style.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"63160a478984c47baa9e3f79db61452563d0602f56210115462428b8bb9ddff2"}},{"ruleId":"D2","level":"warning","message":{"text":"traversing.defineEdgesWithFunction (cognitive 25): traversing.defineEdgesWithFunction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 11). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 247). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/traversing.mjs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977a19c2c395f98cd1e1430c5d8b31ca0f6f778ea24ca917cd23889e7b8d8ae"}},{"ruleId":"D2","level":"warning","message":{"text":"edge-arrows.BRp.calculateArrowAngles (cognitive 25): edge-arrows.BRp.calculateArrowAngles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-arrows.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaa801645d4056d9d58bb81e3852900682cc41f32ed64c0c8b7c6993935f81d"}},{"ruleId":"D2","level":"warning","message":{"text":"defineEdgesWithFunction::edgesWithImpl (cognitive 25): defineEdgesWithFunction::edgesWithImpl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/traversing.mjs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00a4560778ab3f9d9807a7bc79e55322e1664e27d285c56aaae017e17e9a39e"}},{"ruleId":"D2","level":"warning","message":{"text":"hopcroftTarjanBiconnected (cognitive 25): hopcroftTarjanBiconnected has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). None of this is in the body itself: all 25 points belong to 9 function items inside it that branch (a function literal at line 56, biconnectedSearch, a function literal at line 91, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/hopcroft-tarjan-biconnected.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c995be97a55ceb909c7309cdcb427c257e3d947f3b731c4576e56af33ce3de8"}},{"ruleId":"D2","level":"warning","message":{"text":"drawElementText (cognitive 25): drawElementText has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0179b22dc6071805497559ce1d02c793e47fba4ca828d29cb4a7f4f02db28a"}},{"ruleId":"D2","level":"warning","message":{"text":"colors.rgb2tuple (cognitive 24): colors.rgb2tuple has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/colors.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9935037f195e734028aff38618d309da0847938cd6af29cb9bc2ae85b56dd2b"}},{"ruleId":"D2","level":"warning","message":{"text":"coords.BRp.findNearestElements::checkEdge (cognitive 24): coords.BRp.findNearestElements::checkEdge has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeab33d812aea9e586e0b5578838fef133de40bf2d23709ade0d3ed40ae0ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementDrawingWebGL.drawTexture (cognitive 24): ElementDrawingWebGL.drawTexture has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45be5eb5ffc1ba74db2405c0698062ce705249c11a82116401af5bafa55e6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"layoutPositions (cognitive 24): layoutPositions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 4 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/layout.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d40a47d59d8c7440e80b0d558e4f553dc92497a2a2e5181fcf368e02397698"}},{"ruleId":"D2","level":"warning","message":{"text":"math.finiteLinesIntersect (cognitive 23): math.finiteLinesIntersect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"015eef9deea01561ae08fe4e81862da95faca637525a97d2b66e7077d4e89c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"k-clustering.kMedoids (cognitive 23): k-clustering.kMedoids has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/k-clustering.mjs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a4b23b917355e4868f22534dcf20cf9ba69ef7ae64c18e41dc172b29238a1d"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-redraw.CRp.createGradientStyleFor (cognitive 23): drawing-redraw.CRp.createGradientStyleFor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (8 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bc35c382df003a6277b12d7612293cbeb6eb11ff356f987c6fb276cd7a0c89"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-redraw.CRp.drawSelectionRectangle (cognitive 23): drawing-redraw.CRp.drawSelectionRectangle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b29e0f1605e1e59aa9e58fec02aba8c1c3435d8e05603420d65ce75e3db5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.CanvasRenderer (cognitive 23): index.CanvasRenderer has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), loops 4, match/switch 2 (4 pts), ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (getLabelRotationOffset, getLabelBox, getSourceLabelBox, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/index.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce6843eaede3d5022e9083534a33b915d0b837c2afe789484d3e13ab1fdd37"}},{"ruleId":"D2","level":"warning","message":{"text":"defineDimFns (cognitive 23): defineDimFns has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 8). None of this is in the body itself: all 23 points belong to 4 function items inside it that branch (dimImpl, outerDimImpl, renderedDimImpl, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/width-height.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c3313c04ee7fa0cb07b45c8777d5ee60b7d3083c383cb02b50346ccfc6791"}},{"ruleId":"D2","level":"warning","message":{"text":"load::mousedownHandler (cognitive 23): load::mousedownHandler has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b920036b3ad6f7a8e3365d552092a277065ac7e745edcc86b39d498453bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"step-all.stepAll::stepOne (cognitive 22): step-all.stepAll::stepOne has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/animation/step-all.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd91bd8500f97e30f62864c7c3c894c235dc1a703d946b960fa79771b80f2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"math.roundRectangleIntersectLine (cognitive 21): math.roundRectangleIntersectLine has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938b32b975f4e8137d99e17d1bf7db5542c53b966b9b414b51d0cc90e678e87"}},{"ruleId":"D2","level":"warning","message":{"text":"edge-control-points.BRp.tryToCorrectInvalidPoints (cognitive 21): edge-control-points.BRp.tryToCorrectInvalidPoints has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1788108dc0d60d11e32dc6f93ddb728a729ef11e991ae7625f988c6d562b0723"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-elements.CRp.drawCachedElementPortion (cognitive 21): drawing-elements.CRp.drawCachedElementPortion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-elements.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ebb5f8a916ea37e13970552386a9f0cf8149dc5fc119f5cabcbc2ef92dd46"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-nodes.CRp.drawNode (cognitive 21): drawing-nodes.CRp.drawNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 71 (109 pts), boolean chains 22, ternaries 6 (13 pts), loops 4 (8 pts), match/switch 2 (6 pts) (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (drawing-nodes.CRp.drawNode::drawBorder) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2f993bf9867f10d6e6f98a9347d6b186c521d2484018b34918cbd7e1c1d927"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementDrawingWebGL.drawNode (cognitive 21): ElementDrawingWebGL.drawNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"620333847d107bedf037b3e463b75df2f01b81a63f3a51bea85660a423661698"}},{"ruleId":"D2","level":"warning","message":{"text":"add (cognitive 21): add has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/add-remove.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d8a575f32f8cc491ead3d8b9579ba724baab32e3c45f72844d3f706cd51668"}},{"ruleId":"D2","level":"warning","message":{"text":"viewport (cognitive 21): viewport has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"22990fa98f457fd7281819ee0a60612af94c60fbf70cb18945c199ac6b27bb43"}},{"ruleId":"D2","level":"warning","message":{"text":"applyContextStyle (cognitive 21): applyContextStyle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dbcf23a219e12e0392015a9a8ebca1844c2b7951c758a8cf34e0705c4c0e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"overrideBypass (cognitive 21): overrideBypass has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/bypass.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"619eba92de0ffcffb59006668fb6fcf2a94d4d48c7ea8bc786b1071ac65f8b26"}},{"ruleId":"D2","level":"warning","message":{"text":"renderedPosition (cognitive 21): renderedPosition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/position.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"321b2cc21fb6934e4ef5f305ad0e5b0775d0f255dabcf323eabd7bf453e9ca0d"}},{"ruleId":"D2","level":"warning","message":{"text":"promise.resolve (cognitive 20): promise.resolve has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/promise.mjs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"44931d656da61eb04929e49f58a35c25e32ac3b689b25bf1218668b204173934"}},{"ruleId":"D2","level":"warning","message":{"text":"trigger (cognitive 20): trigger has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 186, 215). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/emitter.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f4b8c1c67e38be3d45366763f4e647bdfe87397b8b23574c1e9c9e0dea9e2"}},{"ruleId":"D2","level":"warning","message":{"text":"findBezierPoints (cognitive 20): findBezierPoints has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dba7b00d66020bf39c538e2bd6f453fa837f87f2f76a390baa750ffb2a42beb"}},{"ruleId":"D2","level":"warning","message":{"text":"maps.deleteMap (cognitive 19): maps.deleteMap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/maps.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c59bd99d1c9430a1de3e4d2cb143d5872fdc7fa158c2f41df87a469b4853301"}},{"ruleId":"D2","level":"warning","message":{"text":"layered-texture-cache.LTCp.dequeue (cognitive 19): layered-texture-cache.LTCp.dequeue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/layered-texture-cache.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a15888dc97298804e838d3c9566007921ff94038c54784037789e9db15f1d44"}},{"ruleId":"D2","level":"warning","message":{"text":"AtlasCollection.gc (cognitive 19): AtlasCollection.gc has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/atlas.mjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a06ea305d2097fef72b1d4bb53b563eb5e0bc1a4826de753b5a2c3491172dc"}},{"ruleId":"D2","level":"warning","message":{"text":"pan (cognitive 19): pan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a0c8abcfac45461a1b5025e60124b6b26c9b9690c7bd418e1c4eaef9ef17d4"}},{"ruleId":"D2","level":"warning","message":{"text":"drawEdge (cognitive 19): drawEdge has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 3, ternaries 2. Of this number, 11 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3598292d53c33c7eb4ef00ce6b032adf9ad6243aece97361e4f1ee736277382c"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parse (cognitive 18): parse.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/selector/parse.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7b6955ea83ffeb5e7281e9e2f02b1cf83020e050369d335eb20a368145c1d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementDrawingWebGL.drawEdgeLine (cognitive 18): ElementDrawingWebGL.drawEdgeLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc982e2ca52a4b8b4ef5c159f520ddab5474f727ce7c590a59d78f3fd5c0a66"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleClass (cognitive 18): toggleClass has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/class.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd12744d16217e0ed95f6006cf0e5aa3621e7ab4842a6acc319390362308bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"shift (cognitive 18): shift has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/position.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c14c48a6abcde9c61988f9b931d2cfc5794e68b2592c791c22606fea356c85"}},{"ruleId":"D2","level":"warning","message":{"text":"math.pointInsidePolygonPoints (cognitive 17): math.pointInsidePolygonPoints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10b9354b075a8cbbd2188ee1016cb92574771d441aa0cf18b8d73213d6eb71"}},{"ruleId":"D2","level":"warning","message":{"text":"emitter.forEachEvent (cognitive 17): emitter.forEachEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/emitter.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f49070995cb70eeaa37b8685e6894e87f6b64dfd90cbbb9910e5183d8b47b99"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.styfn.cleanElements (cognitive 17): apply.styfn.cleanElements has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/apply.mjs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18140c658e19eb673d4a3b174ce2aae89d9906eede1fd6cf1abe069475aee1e"}},{"ruleId":"D2","level":"warning","message":{"text":"cose.separateComponents (cognitive 17): cose.separateComponents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f39ca5be7fba4d2373d35b0b5d1ee12a60c5ed3e1e3780dcce2115f23b0987"}},{"ruleId":"D2","level":"warning","message":{"text":"export-image.CRp.bufferCanvasImage (cognitive 17): export-image.CRp.bufferCanvasImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/export-image.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ee7038bb2acd2955282f81e32f590798b957ab3aa3029e1da6f6a8c1e7298"}},{"ruleId":"D2","level":"warning","message":{"text":"saveAs (cognitive 17): saveAs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/FileSaver.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"28754b5949d7af56f592b2150a9f36ec7851d4eba1c2136e909efc2fedd80487"}},{"ruleId":"D2","level":"warning","message":{"text":"getFitViewport (cognitive 17): getFitViewport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 5, ternaries 3 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b6dd278f50dd7d8b0585d63f969eee1082ddaa31148a9094aeb8e9a632cbce"}},{"ruleId":"D2","level":"warning","message":{"text":"getZoomedViewport (cognitive 17): getZoomedViewport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc999b914c2fbdeecbaa22d1decd83412fc4430e1be3b8a2e5aa067f2ec56fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"kargerStein (cognitive 17): kargerStein has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 5 (6 pts), boolean chains 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/karger-stein.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf110f72c590a442a50eebe2db2ed01fc7e8419a0dabef062ff50225a9153bd"}},{"ruleId":"D2","level":"warning","message":{"text":"boundingBox (cognitive 17): boundingBox has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"e605407e9099a55d8c93ee611f0bcd43d6eb44399cb9b5a999c00934197cfd12"}},{"ruleId":"D2","level":"warning","message":{"text":"math.median (cognitive 16): math.median has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d908106ffe92eb1140834460119e3663c78bd790c943245a90fadacf641951"}},{"ruleId":"D2","level":"warning","message":{"text":"style.defineDerivedStateFunction (cognitive 16): style.defineDerivedStateFunction has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (7 pts) (nesting depth added 2). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 357). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/style.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a38029646a407639bb1a1eab6d80797759bfb8bf0ef6debf078131c44e6c022"}},{"ruleId":"D2","level":"warning","message":{"text":"cose.findClippingPoint (cognitive 16): cose.findClippingPoint has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3c389153841ea8ae661b7e36e42d2b42216f7f684a85949a278ef5c6fce92"}},{"ruleId":"D2","level":"warning","message":{"text":"round.calcCornerArc (cognitive 16): round.calcCornerArc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/round.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de9f37b374ce93ab0f6f653c2f72378f8e4e68f1c3b5b3670e6163de959c207"}},{"ruleId":"D2","level":"warning","message":{"text":"drawing-nodes.CRp.drawPie (cognitive 16): drawing-nodes.CRp.drawPie has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d675560ac946323edb109dc0204731753d587f2aee7e144d0286b83375b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"run::getPositionTopBottom (cognitive 16): run::getPositionTopBottom has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/breadthfirst.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4275133135f6cc23f78f0906563c932c83e38a9aacf54d694234e0403147b9"}},{"ruleId":"D2","level":"warning","message":{"text":"generateBarrel (cognitive 16): generateBarrel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 1 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 7 function items inside it that branch (checkPoint, checkPoint::getCurveT, a function literal at line 408, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c67dc71255767f108af03a1425a4dba08edd8296dc0bb3e3648d43a44e84da1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: load-listeners.BRp.load: FunctionTooLong \u2014 BRp.load runs 1205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1105 over it, 12.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3f6c5a24062fd38e495435e1ebd5487c3f3d0efa02ec5f67d300994408600"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: base/load-listeners.mjs: FileTooLong \u2014 1264 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 764 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db597fa9ea86b1f6698a86dfd3685b55645d044165a860e84662e044900ace0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parse.styfn.parseImpl: FunctionTooLong \u2014 styfn.parseImpl runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/parse.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"262d893eb01ce6eaccf83850e73a55ae37546e6f868c1135774aad1fba107df2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: breadthfirst.BreadthFirstLayout.run: FunctionTooLong \u2014 BreadthFirstLayout.run runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/breadthfirst.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9505dab31cfb32911f6d961e3f3d01e07957d8f87afd5b3a35587d77394cae6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElementDrawingWebGL._createShaderProgram: MethodTooLong \u2014 _createShaderProgram runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5042148ccb2fef1d9167c9e30526bd8a066b1fb4b1773e8fd490d8a3cf66f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edge-endpoints.BRp.findEndpoints: FunctionTooLong \u2014 BRp.findEndpoints runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"68154385fc114b08044879e4f656e77e67192446b864842fdbfee9bfc47e9b81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edge-control-points.BRp.findEdgeControlPoints: FunctionTooLong \u2014 BRp.findEdgeControlPoints runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d2d353608a341d4d606574f3de8b78fa01d304e45f67e025e1cb74c0417579"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.CanvasRenderer: FunctionTooLong \u2014 CanvasRenderer runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/index.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3936d730f177dd069a604975701375dddcf3a36c24a8b04df273234f9f57f21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bounds.boundingBoxImpl: FunctionTooLong \u2014 boundingBoxImpl runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bb765c327656cd73c8b05db28f27c0481edf2f960bcfe3367f072f2b0b3a1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/math.mjs: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 396 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d9fef5a1feaa1b9eadf0c372ed28cdb03a9b5c2f9c3a6f5318d85bb48c7a7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementDrawingWebGL: ClassTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 258 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29205bf93a5f730bc9962f4410a49c23a6d06dfb594b15c968c074d3d9e3706"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coords.BRp.getAllInBox: FunctionTooLong \u2014 BRp.getAllInBox runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d45e2b24b59863509ab27b6bc92b4faf72f1109ece6514963047c700fb7f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coords.BRp.findNearestElements: FunctionTooLong \u2014 BRp.findNearestElements runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed41c554a666b664e1fb8652515675d9ce65d6d28579754bf6db981b300ea90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: drawing-label-text.CRp.drawText: FunctionTooLong \u2014 CRp.drawText runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a5beefcd06265d929ba5ae6a57f23a8e62dcfaae7c991b4ad2360f0b156e58"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coord-ele-math/edge-control-points.mjs: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554db61a8dc8c30922fec5fe901c7fd64acacbfffc59d4eb330b5e4ccbf89e4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgl/drawing-elements-webgl.mjs: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ElementDrawingWebGL (44-1156). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c6092821215c252df2d5ce8e441e3faf8baf75b0ae0c4474270704932a1f67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dimensions/bounds.mjs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32098d0a367ee1d6a56b07719febeb5f5d01d9939cc8a4b8b7adcdbdcc15dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: labels.BRp.recalculateEdgeLabelProjections: FunctionTooLong \u2014 BRp.recalculateEdgeLabelProjections runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"23192fa2961e5fa3ddb8fdc5ab7f74ce7ce2422cfe32be1def7e0274422e17d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bounds.updateBoundsFromLabel: FunctionTooLong \u2014 updateBoundsFromLabel runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/dimensions/bounds.mjs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5a085999830ca6ab9e36b7e65b8b954687e69695926aaf6f68815a0d1ebc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.elesfn.restore: FunctionTooLong \u2014 elesfn.restore runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/index.mjs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"07959be9a3a1707c8e4d94ec43c8e6ccc5d5dba692bce008e934281fa0b4885b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grid.GridLayout.run: FunctionTooLong \u2014 GridLayout.run runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/grid.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15aacac25557093ce5e0838ff18423e7352b2a45d9a070848c78928d9a00f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/cose.mjs: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ec4cef2c13cb7c99a6807ac05010d0ab3f7fa01a54f74b09cae187ac495cee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: style/properties.mjs: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: styfn (5-601). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/properties.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7704291012f2498d2db16c296b7e05a8e0802b2a9e215da1d5bae11baff6a01e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: edge-control-points.BRp.findTaxiPoints: FunctionTooLong \u2014 BRp.findTaxiPoints runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb2a8fd105495edeb1e6aaf39e84e87cbffb9ad7dae5b693b254b4d46419f4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: drawing-images.CRp.drawInscribedImage: FunctionTooLong \u2014 CRp.drawInscribedImage runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db41c9ae92389ca1655adbeddbb78d76f874c58cf0bb27d37eadd176b1cf1f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: properties.styfn.getDefaultProperties: FunctionTooLong \u2014 styfn.getDefaultProperties runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/style/properties.mjs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de0f6fbe21476d2b5ed4eb1233e5606e6fdb62a4193089074956865a6d23c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cose.createLayoutInfo: FunctionTooLong \u2014 createLayoutInfo runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/cose.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd4de6bd038d7b15506c37e9ba2e2df18c310e27610bb129c9ce5bc2d07c896"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: canvas/drawing-nodes.mjs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: CRp (9-579). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92247806f1e65f2c6c46091b0134ca0a5f0bb4e8bef59a6d94456669448f5cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Core: FunctionTooLong \u2014 Core runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/index.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a733f54d691e3e679c33bfebce2a116bd604c633dc316324072cab5e2eee3c20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ele-texture-cache.ETCp.getElement: FunctionTooLong \u2014 ETCp.getElement runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4ccea1decbe6d3c75c1b583b76ccfc05c57dff8d3a6923e3808310820d28b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: affinity-propagation.affinityPropagation: FunctionTooLong \u2014 affinityPropagation runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/algorithms/affinity-propagation.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cc273214d349475bcd89a5d5b917f9072e8ad6b7b3889bd942993970ff7888"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs mocha but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060c8\u0060 (or \u0060nyc\u0060) as a devDependency so the suite can be wrapped for coverage. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should fire the \u0060lock\u0060 event: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/collection-position-and-dimensions.mjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"129d468537d30194e55c73446497715b29bee6df213b53df87c7d10008665882"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ani.pause() then ani.play(): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/collection-style.mjs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3a382fac74e483ed6f37baf3b01d595d19bdd47ce21d4032e41d693b736ce4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: loads elements and style via promises with style off: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-init.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb3992031e201bebfe150b205ff6b851296bac2dbec3fffb89c881854830e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: loads only style via promise: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-init.mjs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b607311b17f48cabe87f0c9c78867eefb4ea73cc6a75eec870fb2ca06b3ebf2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: loads empty graph: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-init.mjs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed70e0edd580e08ef15c2abe95843e460abf199c7583d34103d54ea76da5c79"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: loads empty elements object: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-init.mjs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"135ec0f5cd0ac7fe174629d404c9ad3416d9d0b59ee86cfe3ed0a45fd8b712ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not throw when setting a bypass at init (headless): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-init.mjs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e4ab3f90332d0c8c757f975f74a0b7be58aa3ec86a530d7bd35337375abdc5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: binds to one event: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/events.mjs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"843825fab1c1cee6834eb0f55b4e5e91d2b79759e7bc7ff372b12cca9d89e413"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: binds with a selector: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/events.mjs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddbedbb47bc6561faa8d2c5761512fb363ad2212e239e19a575cdcf3ac2fc30"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should run a then() callback: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/events.mjs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c1710cc6b7fbbce1714a2ff154cf6e179a3b71abd8cb79e6043c25b28238a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: calls handler on emit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/modules/emitter.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"43db5a468b871bbf9f77e24a551906dd4bbf74ecc1f9c6fede60d39000ef2cbf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: calls listener on namespaced emit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/modules/emitter.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dcd4fac1f9bc0d18b58ae819a8d0a3d584095931fd120fbeb5387e434a8eee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gcd of an array of numbers (all integers): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/modules/math.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75dc9120a256c80b30cc3116b90d9c8103485724325c7dd8d8581ea32476d75"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: gcd of an array of numbers, including float(s): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/modules/math.mjs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24fba90651ed0038fbc1385f676fef2e7cf45ee9662b5068040d328319f2025"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 9.39.4, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: rimraf: rimraf 3.0.2, declared in package.json, is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b270b6faeb65317af8f3ef218778d555e81786c6d955d109afe4681cab6885da"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":5210}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: nomnom: nomnom 1.8.1 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Package no longer supported. Contact [e-mail redacted] for more info.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":6471}}}],"partialFingerprints":{"codehealthFindingId/v1":"70514aa84c0e5e3345b9c091d89e99a5f619f34959cf5b10120fc0bbd9f91626"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":7882}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs: src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in edge-control-points.BRp.tryToCorrectInvalidPoints at line 484. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-29..2026-10-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-29 11:14:49 -04:00\u0027 --until=\u00272026-10-27 11:14:49 -04:00\u0027 --full-history --no-merges -- src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a525f5b39afc177360f2007c863b893d8943aa6aa4eb8e382de1dcc2f54104"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: src/extensions/renderer/canvas/drawing-redraw.mjs, src/extensions/renderer/canvas/drawing-edges.mjs, src/style/parse.mjs, src/extensions/renderer/base/arrow-shapes.mjs, src/style/bypass.mjs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b60ddd1ab6e8cba6ba1146952cae1a77bea74fdf91d2f311515539ccb3b769fb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: src/extensions/renderer/base/node-shapes.mjs, src/extensions/renderer/canvas/export-image.mjs, src/collection/algorithms/a-star.mjs, src/collection/algorithms/hierholzer.mjs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21abf3d9e86dfe291d8249bb06d1eba0d0c07f2d848a7e8d82046af99ec576c6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: src/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs, src/extensions/renderer/canvas/webgl/atlas.mjs, debug/webgl/init.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6d4f5524719b1f8d445127629012dffa6a2a80a34220dc196593640c3a495ec0"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (15 single-owned of 97 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 97 of the 222 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/collection/algorithms/k-clustering.mjs, src/collection/algorithms/hierarchical-clustering.mjs, src/collection/algorithms/page-rank.mjs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (96663 LoC, 199 module-visible types across 49 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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":"5f19ee62a31bba465cbf775a0074d8be77951d81b454aa867d454fa5cac0e1df"},"properties":{"commitSha":"d63cb2a08d3053a549884f27e5be22d4e5524d68"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1dde96b91ae3d34c61fc8a7676681dbfe224efae2c883d17d6c01865e8501686"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91d708c39cec78b07a94c5e1cd139f6a7c12f77ac5f152abc82846cfd190db4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3526ae158dac3f4206fcf9b7a1edf762bedebdc242d662fb1b513f3a6d60d2f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3643ff687baaf09e4fa86f24721b381bb8ec583e4fb1bc9174a893ca376bdfb1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6819b36024d45f5f0e1d43e74427f1e72c7d8dae5d09101e0f966a51bf6829ab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce6b3015e6b911c1d416116682b5612e4ef0b97424eab7add0551f3a02044297"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78a60e9cc5d9fb42fb2d3721c54f1a6a5489c648472a9e25f9a0e1d4c2154130"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24bcc8189b69961073a2a81a26475bc0ac4b4627119c2067a001ba82a978dc0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc817651145b3746bc99495e7fbc5498d41cc1b481fe483113715158512ae9c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"620f44f7d0814af2bb598a515423618ad407110d7f6058f12541a5a3763e870d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae59d5e9dd2c30e110a21be3f2f3e4339df91ffb4154cfcf5f17bedb858ec684"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7aab704bfe2d35f9afdba6268977668070234b8b9ee34ff1088bd60fe5f84c33"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a6879a55762776719665eb3f369573a6e45ab2fb14cc94857308f37fc6308e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbcdf928bf029576029241790bf7a0d539cdef503cf3082025050bea7eba137e"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b63c93c76e40dda3d12442ae65377889e912bc68f6b1de302d22e4f7ba477bfc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2328a5bb7ce3eba9b603952a396bb10b6086f75c79694e219ec4dfebd60ab621"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09feda13da237e736466ff500884916730059cf99657fbcae50a973c4c96aaf8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"316cdd645e28ecba75c08d70e8f93142711bf137c9efeb7b46928d03293ac56f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"208a534d1356baa29791f0c3fcfefe9b22fa85ce35c4333849ad08c5793f44fe"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6b5cd0b616c1e53b69b5a9f4ff3069cdafe54a46510ad85d2e894737c7219d2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc21743c788a18456468e6766a6bbffdf709a8ce312702b93dbebe7318f26974"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f3b57f92307983750bb1a684b56a8a47a5394234bc87e1a25ac799ee56747da"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2b2e808cb97723bf17a3a1516969ad481d256e62fbeacc46a4163d8106ffc0d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"431264320718f68ecbf289e352c50f3557b0c74634d9c57deb02c337772912a0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3870f6ef09d5af04fc4ac53eff27ecb400dc53b78f8905c8444605b1ba6ba5fd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d8eb8df444da4cf240bf892289eca0bd2ee49722f2b2ddb3349a7e80ac1a80e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3642e5b4932507ab33490af468e69e2bb556bc37f8399cc6744fcb1d9557aeed"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6aca583d4ad59480ea61afa266134910063d24e306ae09c51ac32bb6d9090b75"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c1d5d0578842636324dfa0ddb774dfbf4d13dcffd831fc66745998d979fd4bc"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6477f304e1bf2b9163995e27db03a74632ae88eec35fa9c2908218873515dc38"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c37578853a1a4223ac01df7494ac320b9f092dd32613fea6239ad1b2d91ce4b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1a7c61a68a59812f8562e3f7027dbd9727f846129f551a6c3da2c09a6909e36"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af818adae3370f2f743c420a4957208549224dee8d3c640285450b89ef375560"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9ef2d05d0a8be59c5ff6f055d706f1a0a6d97c99c90ce375ecf19be86190f4"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc21fc0db7ecbe69c92c0542bed02823e8463c22249d82ebad910aa759599bab"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a7cff9621ebae3be4c0173bec9ec39d074287d67c5243950f8855fd51e27851"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f802758532abb0a930205cf8cdaf5a81736ff7ef893fb4aae5c4fbd688807b2"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e21f0896549f0a09bec1bf8a53482451e8c826aafc05bb28980ce339aefe28e9"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a07bc0816762c550deb75c4e008508b310e2c2573879b23895e9f21b6a3b373f"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34c92eb32c1889bf4f57fa099b665c5d19829583e7e03d51ee9d94b47d6e36d8"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4505547b70a5cc66f5d5a561035d89c3ee1ee64c3d0e66836eca0d46ee7db94e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42db9bd565ff7455a87ba64ee0095f123b5ce47d9ac84b5149f6ab8a4b2ae426"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dcd57246082a4570f8c013dc6ace7d512e3bbb77f3a521651e53275a1e8f6c3"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"bf4c1a109ca19dac6abeee287c1a09dc2779087407fb82d82ab81fa5707d0c87"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"970dea75fb0ceac87e9b43385a2074d70d72102f3b7de331fde93a80536b0032"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"cd5f569c243f73bb7ab4767f634f83b2d9ed4742563e5b86f4077178471ef30f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"de55e5eaa1e37eac5380d1cb8a538f83412126daa58e19b9d685fca912764005"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2bbc51fdc2d6ee3d5c0313ca850ece58a91ce68cd279c46120d3a7437d900cc0"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"687294fd974fb6d1e30d0eeeeab16dd73b47498b6d75360bfdf6f9ae64efd3ce"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f62dac3de2a178cb2b78696d07e51f9a83ff8da722250e2fd3395bbed9fa4e5"},"properties":{"dependency":{"package":"decompress","version":"4.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e78207729d6c5e0ea34c8e2717d8cb874480c333112d70b7cca0aa69242c9ae8"},"properties":{"dependency":{"package":"underscore","version":"1.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.24.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2929b6303de2901e1f9694c645118a9c431e83ccd0ca535a1cf71d410eafb71"},"properties":{"dependency":{"package":"trim-newlines","version":"1.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa571a47ecd9af55f36a3364edd0ddcf29c643ee1a3b19589e5f86cf9b2dd947"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.6","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b73c64fe48914556c5931d47726f78005b4088d394d1de54734df7254e4d2027"},"properties":{"dependency":{"package":"got","version":"7.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15a0f55bf98d45cec1e6067645c9a127cb539e6219bff589e0ceebe0057ab9e3"},"properties":{"dependency":{"package":"moment","version":"2.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98645b36f3d8a19e1462b10ae8d23a6853b810993981c4fc4065e762fff2771b"},"properties":{"dependency":{"package":"qs","version":"6.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e48ac159ff7e45e7e8caf46fd08634e372e75c9d630e99e5dd84a5fa49a5f3b3"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72184faccb7de6624805e93fee49208d11f474b184536ab6e002ee0e3a3c1b0c"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: drawing-shapes.mjs \u2194 node-shapes.mjs: \u0060src/extensions/renderer/canvas/drawing-shapes.mjs\u0060 and \u0060src/extensions/renderer/canvas/node-shapes.mjs\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060530ee3e8\u0060 :sparkles: Introduce node caching \u002B support outline \u002B include test fo\u2026 (at that commit the files were still \u0060src/extensions/renderer/canvas/drawing-shapes.js\u0060 and \u0060src/extensions/renderer/canvas/node-shapes.js\u0060); \u006029a3aa63\u0060 :construction: WIP (at that commit the files were still \u0060src/extensions/renderer/canvas/drawing-shapes.js\u0060 and \u0060src/extensions/renderer/canvas/node-shapes.js\u0060); \u0060fe60c2a0\u0060 Generalize the round-triangle to round-polygon  - Missing a specific \u2026 (at that commit the files were still \u0060src/extensions/renderer/canvas/drawing-shapes.js\u0060 and \u0060src/extensions/renderer/canvas/node-shapes.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/drawing-shapes.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fe12fd3bf7eff0a7c52c2565949ade57ac6000af630ec10f3b783fe9855cd0"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ad4701c91f7eaa24aa7b7536975da3068c18dd1ab098025ae5c285286432c8e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"debug/webgl/upscaler.html"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c368feb1f03d4bbd28ad4bcc7654d7d7c264acc6855bfe7a296e3ddc5704ed98"}},{"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":"debug/webgl/upscaler.html"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cb346dd52bba99d5796da0b596a669c09e0e29adc69c999b3575b9eb985a39"}},{"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":"debug/webgl/upscaler.html"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ce31226d195fda6c19fa044aa2859433139408a3841c59b8c7bf35229f130c"}},{"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":"debug/webgl/upscaler.html"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"310bccf038a022df09923405ccdfb0977f76a1b821e0465b9b38778b9ccf8b91"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccec8defca03449e9b71d6e261795315ffb7c3e1032104613471de72c7e79ca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"822becf0c37f08f213ef079b9e888b39f6cbd61e13064b82b6182976605f9c7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5f4ce5a1b829b2c33610a43183cc3dbfb880a4f29389b0094621ad21dbbbf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"119c099a66263003538620a9a1f0b6440087c7fba11bbcb553d59e1560aedef8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9300e44f2e488f6a0576cd07c05b391a8d189ea198474697d769c15658fd37"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2f7535555960a2b18247fa98f0a167e0ea3bd88ba8cf4a996e6e850edb9b38"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f130edca7c7ba6dc8b4ad82f720d6e7d7bcb02ee3f0e107775d2346e8554d2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c3c5ed5c919f5481f9dbbe5f3ea5ef957090a17840323a9f0bd3c7195afcba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d5e37b84a9e2905ff0a6d0f57754b91606151d5a1fd0d8d20ba5b5ffb6590c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0889b15f60f91f8cb32ab977379d40c0511652b20229a3c139c2cc0d97e810d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f348f290884aced2858603020144c42204c128001904bdfcf563b8beb603c9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26466584fd29dac0eff4a9cb8eb94a00a1759e68a8d39c60dc3addfa57b16ae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b96ef41646b0e7b5f4af09dadc1f3ecd3b086735ce19c3a34ac3d81761f0eb8"}},{"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":"debug/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e1721ac3c45a944b9c7ed0ef41f40c66a5ca1ab109d7315edfb6c503c7353a"}},{"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":"debug/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b86b4ee95f7ee51fbdd30591f7876838d5a74b20bc9e918ee4a37e22f94589"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/index.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0a9ec054fe2beaa1e8594002cc7986f9648730d0b703a91ca5d646c79191ee"}},{"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":"debug/memory.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ded0ee633c72c23af1d6a27f9ddccbd5b0435c6c8fd1a8954563635737ce240"}},{"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":"debug/memory.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9658caa3003870d1ce4d5ef1968c9a71ed53cd745b1bb4cd29cfc99c712ee72"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/memory.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec6b98c0d2dd1c666467413dedec86b4d5ba6f0d8ac52fce0fe06d15338270b"}},{"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":"debug/webgl/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"647f16031227cc35892e0431590fa54468ed5a67992d14fd21a0dfd771397619"}},{"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":"debug/webgl/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e519bea10d2b243ce636df72be4e52f23e879ca7fa93636b5d6379d47904ebe"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/index.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea19800eac163c059853500fe4c1abea0c2735e00a516f82ee1825d74fc4bdab"}},{"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":"debug/webgl/upscaler.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04e997ca07e50bcb7ade177780519a78c03f901f1db4d34e4dbd5cd07bfc93f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/upscaler.html"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0983e607ec60e7cead666289c533b80068e0deb2ad6dbf4ed7ecf895130c4f"}},{"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":"playwright-page/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed94664b4d5f3f7236cab40eab2988904d2fff8f4e5a8fbfdac0d691eb479d37"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playwright-page/index.html"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f04666a8285a1239a595a8106a1b2fc5d546c5ff6c97b33787e8c8a0471392a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.6:1): \u0060button\u0060 sets color: white on background-color: #4285f4 \u2014 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/upscaler.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7a59a0e4f55ec7786c00d3f838d54468a3d60024c1fbd5883bdffba14bc65"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060button\u0060 sets color: #fff on background-color: #FC4C4C \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/demos/tokyo-railways/style.css"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e80b89b405b6e1e4253cdf7296047caf3373973f33f4ceb5ad9bf0cb13e3c1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060button\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":"documentation/demos/tokyo-railways/style.css"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9c53e80726127ab53912674c841ec2d33d925f019c6ea7212592d747ba82c4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060*\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":"documentation/css/style.css"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a03f581f655d563bf738e41fd785fc0572a7710137301f2a3a565dc080a086f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.fa-spin\u0060 moves (\u0060animation: fa-spin 2s infinite linear\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":"documentation/css/font-awesome.css"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a9dea002a060c6daa66d47c15afa9e94859dc452f9e04a3b8d11c39c29b3c6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.fa-pulse\u0060 moves (\u0060animation: fa-spin 1s infinite steps(8)\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":"documentation/css/font-awesome.css"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9581aeb5ef88448c9ed3acb103d7e38a6e50b4ade100bc71260505defc038f70"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060).animate()\u0060 moves (\u0060Web Animations API keyframes\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":"snippets/images.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a005c73d5db0459f2464d65d8a9eb21627241ac52f87818be64cc06950eeacbd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060).animate()\u0060 moves (\u0060Web Animations API keyframes\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":"documentation/demos/images-breadthfirst-layout/code.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536cd5780523dbe9917124d5b23b5d10cf12305c356facb19ca6655752016b5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060).animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/tests.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9181c494c416be6e6c05f02c4e61b2e4d3452741ef7a914e052905261d058bae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060).animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/tests.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"698f48f827ef7b43c91eeb0ab6a345af4433392de1ef26b49d9ef974d46f96fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060).animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/tests.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525c581b50f22386b2189270317024450833c1841ceae05b3b286d4782ddc2c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060node.animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/webgl/init.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"380251f2d35d83d30fa13f66b9ed179a5ef3b704cee9be58d76a5be0c42b4e0b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060node.animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/webgl/init.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02ef4114be520af78ebab1df575ff5180754f342a01a56137eaeed38c5f52ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060n.animate()\u0060 moves (\u0060Web Animations API keyframes\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":"debug/webgl/init.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f390eb02e7e11864987af6256b3436e3118e02594abc61b7f283f4a28d4447c2"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (an a11y linter that can read your UI \u2014 no component framework was detected, so the JSX/Vue ESLint plugins would have nothing to lint; use an HTML-template a11y linter (html-eslint, htmlhint) or run axe/pa11y over the rendered pages) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 5 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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/extensions/layout/cose.mjs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cdbf717655fcbb21cd15622ade756113c2a12d9f99eb0d8f865e226677e26d"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 10170 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/tests.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 234 plain JS \u2014 the untyped files are debug/FileSaver.js, debug/add-remove.js, debug/bind.js, debug/compound.js, debug/filter.js, debug/init.js (\u002B228 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (6 clone groups): 6 duplicated blocks under src/ have copies in at least two of the sibling directories collection, core, extensions \u2014 4 of them are reported below, and 2 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 6 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 6 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 6 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/collection/data.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"823cca4afd2621849de47271f765eb2e6f2cd2234adc510367510c449296dbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs:126 \u00B7 src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs:220 \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/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ce5b8214026f74c99b57b4df92e742c5a513d70867af96a962fdbde43ec8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): src/selector/expressions.mjs:235 \u00B7 src/selector/expressions.mjs:302 \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/selector/expressions.mjs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7066d08ee022964323a2848f013c8917c772ac7928ac1684030fcad377f61f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-edges.mjs:115 \u00B7 src/extensions/renderer/canvas/drawing-nodes.mjs:516 \u2014 the two spans are one implementation copied and then locally edited \u2014 346 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/extensions/renderer/canvas/drawing-edges.mjs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b23a051f0edf532ef4417c984c56bf06cb4694615de08ceef0849e5110041a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): src/collection/algorithms/affinity-propagation.mjs:43 \u00B7 src/collection/algorithms/markov-clustering.mjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 388 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/collection/algorithms/affinity-propagation.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065605ee2f6810ef072a22cc09354883a990290f7e5588dd263eb14910e7e2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): src/collection/data.mjs:5 \u00B7 src/core/data.mjs:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 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/collection/data.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9d6e4b945106f6ece0fcbdc89a306a3ae926bec89f0ae865c5c3983d8883d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:507 \u00B7 src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:550 \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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8d7b905aaec265f66522d69595a44b9e47f1c25995ea3add6cead04b0f3ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): debug/tests.js:578 \u00B7 debug/tests.js:614 \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":"debug/tests.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9ccc989d92bd6959eea8c73181480d5b38da1d6b850965b4f012f8d7b842a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): src/core/viewport.mjs:122 \u00B7 src/core/viewport.mjs:171 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 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/core/viewport.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c6a81e58484bb4761a2c1a1641262c35b67e186b4ce88412c413e829657feb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/extensions/layout/circle.mjs:16 \u00B7 src/extensions/layout/grid.mjs:16 \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/extensions/layout/circle.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"847be19677e58e52a6a6f0cadfd5ebd978ecf084d000b924c4aa0646a8f5d7b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:403 \u00B7 src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:429 \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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ff7bd14d33f8d66be11be4f9ffe72f4ff22b14a4219f4c903d6af4b8a022b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-nodes.mjs:311 \u00B7 src/extensions/renderer/canvas/drawing-nodes.mjs: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/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f144f8643cb7837a137c23ab68cf785d4ae5f6f9e7a3251bb31cc2ecd3efcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/math.mjs:499 \u00B7 src/math.mjs:529 \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/math.mjs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5d81ed1b8d08684873563b4d84b3450ffd33d06c12d539e1c0abd7f9549029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/coords.mjs:253 \u00B7 src/extensions/renderer/base/coord-ele-math/coords.mjs:373 \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/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66c2bd2d1caa4e322a3322df8a60e0d3eb509d43884ec0e474fcb03d2b6b3a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/extensions/layout/preset.mjs:9 \u00B7 src/extensions/layout/random.mjs:5 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/layout/preset.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67fb71b284088d4e14400e90d2b391981dd6a341d7b42b01c642a8e0d5c57f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs:323 \u00B7 src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs:342 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d328eaf0b2fc74abc733a3bef9dc43c73d9c8d1e8137f19e628e75f3572a33c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/collection/events.mjs:6 \u00B7 src/core/events.mjs: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/collection/events.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e38f2df167baf6167960d8162de166790c6dee10749bbc75e855955c7f22b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): debug/bind.js:15 \u00B7 debug/bind.js:54 \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":"debug/bind.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd62b379a0fcea2d5f6e96f25af84313a99b7743d74042aa565e5b806421d283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): debug/tests.js:478 \u00B7 debug/tests.js:537 \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":"debug/tests.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda608544d8739bfea106fffe0778a98e859ceda4d64f55791801de767f7ac81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/labels.mjs:24 \u00B7 src/extensions/renderer/base/coord-ele-math/labels.mjs:45 \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/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b374bd2f837aca0a1ad605b2faffdc0594f59af6247028eb6a5a85752a8106d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-redraw.mjs:130 \u00B7 src/extensions/renderer/canvas/drawing-redraw.mjs: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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"264b402a683c83a715e984f215573c06d796461f10a71244c666277d0ed2983b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): debug/tests.js:1040 \u00B7 debug/tests.js:1179 \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":"debug/tests.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d43b4cc219301691176cabe65efbd94bb352df248ed05b3a6f360e2fef51f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/collection/algorithms/k-clustering.mjs:189 \u00B7 src/collection/algorithms/k-clustering.mjs:278 \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/collection/algorithms/k-clustering.mjs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"211102e37782c8173530156a73002d48912189efebbb081a4896aa78deb5da03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/collection/filter.mjs:108 \u00B7 src/collection/filter.mjs:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 107 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/collection/filter.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafcbb7c316aeba17dc11fe40b8d71947a0821b0f8d945fe8df6c79d1e572971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-images.mjs:86 \u00B7 src/extensions/renderer/canvas/drawing-images.mjs:103 \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/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da85ecf9f86cd3fc9066022d48be5bbb5e23e57fcac1df5c9cfc4d7f88e99a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): debug/view.js:134 \u00B7 debug/view.js:154 \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":"debug/view.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6fca97d7f62fd58d2de4069ad35ea6d4d36824dfa1df9ed2469bd03882f048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:794 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1720 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fb3c93f23633dedae1122c9b235af656bac55c45355e418d7f92cf76e59bef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:869 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1897 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df3c8806235d6161ee4481e23144424772e6cb7b1f289a45f6277a8d1ac5da8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-nodes.mjs:200 \u00B7 src/extensions/renderer/canvas/drawing-nodes.mjs:235 \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/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed85008baffa7382e8e06142d546207068666a061b21417b81c03d74dd4bad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/collection/algorithms/hierarchical-clustering.mjs:220 \u00B7 src/collection/algorithms/k-clustering.mjs:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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/collection/algorithms/hierarchical-clustering.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d6346cafd3d2948d9343bb0c4c50d18ed971a8129f593f2e752e0c5c7e1a43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/define/animation.mjs:43 \u00B7 src/define/animation.mjs:57 \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/define/animation.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"778ea68382146a4b62c170e0f8f0124dc0fb9ae1123c349e3f2be17c31bc0f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/extensions/layout/breadthfirst.mjs:18 \u00B7 src/extensions/layout/concentric.mjs:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 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/extensions/layout/breadthfirst.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a2394b2d90f4cb4fddd3aaa8334de233288bfc9a4959c178309266d0c1fbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/extensions/renderer/base/node-shapes.mjs:138 \u00B7 src/extensions/renderer/base/node-shapes.mjs:439 \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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f8b1664d7788ed318cad2c05a7ac4a76db28a00b94379cb48e5be959f904d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-redraw.mjs:521 \u00B7 src/extensions/renderer/canvas/drawing-redraw.mjs:542 \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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"539c312599bbaa19ee4207541ff8926491e6aaac785e17bc0f168b276f1d12d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/extensions/renderer/canvas/webgl/fxaa-upscaler.mjs:167 \u00B7 src/extensions/renderer/canvas/webgl/webgl-util.mjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 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/extensions/renderer/canvas/webgl/fxaa-upscaler.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f333343dda278d67fd35523ba8380b50b037fa8238b75a5df32fb273264070"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/math.mjs:24 \u00B7 src/math.mjs:38 \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/math.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36c21fdcdeaf3a2ac4cc9cd7533d19ed48d982a6ac879987486fc588e861bb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): debug/tests.js:359 \u00B7 debug/tests.js:1122 \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":"debug/tests.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9112c00560d83f880cf470439ca560911b055dded83afa5c985813f31f95d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): debug/tests.js:961 \u00B7 debug/tests.js:986 \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":"debug/tests.js"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a08a7ce1f2ed3f9cff85010ffd5bbda40acc65ad768c93afa2953890b058f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:140 \u00B7 src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs:291 \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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35062200bca2842512c819beb87a4721f7ffca31a1613635ac55fd7ea3a8cfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/extensions/renderer/canvas/webgl/fxaa-upscaler.mjs:167 \u00B7 src/extensions/renderer/canvas/webgl/misc-upscaler.js:95 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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/extensions/renderer/canvas/webgl/fxaa-upscaler.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f305fc99300d2edf176e19d7cdd1c85d89925c8b3e310bb3b2e595e3b058dbdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): debug/tests.js:879 \u00B7 debug/tests.js:906 \u00B7 debug/tests.js:935 \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":"debug/tests.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da3af4e935db36b12d0281a3edfc12a08a853247939cf0d30d87a09462d35c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): debug/tests.js:8 \u00B7 src/util/extend.mjs:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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":"debug/tests.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f73228e8fbacbeba9a068b4691c963d725f60daa44c24a08a01fc3e26d091f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): snippets/animated-bfs.js:1 \u00B7 snippets/images.js:1 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/animated-bfs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c13340a053bc61802d2991c70aafd0a8d4929399178cd24a7ad82b9102817a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/collection/class.mjs:14 \u00B7 src/collection/class.mjs:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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/collection/class.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f25bf359f7bdb063470146bbb23a0b7a2297012d0ec447766bfc17206e2336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/collection/events.mjs:69 \u00B7 src/collection/events.mjs:103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/events.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"85040f0bcf5935259947baa73ed05f0749ce1543508f07ff6fea351ec3c5fda1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:658 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1526 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb64739e2006a112a142f33e4299dbc8ff696e84187930a21f3c3cd8a1971df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/extensions/renderer/base/node-shapes.mjs:341 \u00B7 src/extensions/renderer/canvas/drawing-shapes.mjs:103 \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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6ced03c92fb6709a3b8f7f8c337c8ee47914cc888805a80438bd944773af9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/math.mjs:985 \u00B7 src/math.mjs:1277 \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/math.mjs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3d945014d85f28a2bc123c86bc101e1127c130b897d996190160a078f5b43b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/style/bypass.mjs:65 \u00B7 src/style/bypass.mjs:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 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/style/bypass.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"725018500c0a194e9143684998401300d592e5a584abb6f444e4d529aa87984c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/collection/traversing.mjs:189 \u00B7 src/collection/traversing.mjs:200 \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/collection/traversing.mjs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f325c98d9f572220f41ce25973cd6e6abd949dc4a32c3a4c0c2b7a5ea55ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/emitter.mjs:63 \u00B7 src/emitter.mjs:99 \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/emitter.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a341f5150ab0ca5ceb97be3886339ceebf328afbf6499424569e7fb469df1418"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:609 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1748 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43ebf6f69d446b7b1ddf56309521591623e881d43a66ca7569bc484514c820b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/extensions/renderer/base/node-shapes.mjs:273 \u00B7 src/extensions/renderer/base/node-shapes.mjs:375 \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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"094b83eec6534be9ea083b2bd08b4b8eb8a9f387514930f3f65fa1c38fe45362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/extensions/renderer/canvas/arrow-shapes.mjs:39 \u00B7 src/extensions/renderer/canvas/arrow-shapes.mjs:55 \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/extensions/renderer/canvas/arrow-shapes.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5328491a624ca1daf125cd632b92cbb7ae473fb2dda0a93903307962690fe61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/util/hash.mjs:40 \u00B7 src/util/hash.mjs:60 \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/util/hash.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3139e2fc85e470d390e39cfded63384a209938628c2123e121aa27f674d862e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): snippets/animated-bfs.js:1 \u00B7 snippets/images.js:1 \u00B7 snippets/visual.js:1 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/animated-bfs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c9b7a3518d1241bdda45fd24aadf0aca9377d09e6127679e280173eeb7a77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/collection/algorithms/hierholzer.mjs:43 \u00B7 src/collection/algorithms/hierholzer.mjs:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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/collection/algorithms/hierholzer.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4748378878892c84df0c749f6c582bff9bf9833f2558c77e5523a92e4dde37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/collection/style.mjs:284 \u00B7 src/collection/style.mjs:328 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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/collection/style.mjs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e248feebe201804b5da0b896e781548b4045dc21951eca075950d598a5ee6918"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/define/animation.mjs:67 \u00B7 src/define/animation.mjs:164 \u00B7 src/define/animation.mjs:191 \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/define/animation.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8adf2ce992f7b97056165c4aaac3014b60c625390a393190467a80c116e3661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extensions/renderer/base/node-shapes.mjs:100 \u00B7 src/extensions/renderer/canvas/drawing-nodes.mjs:436 \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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"162b060b24c51c97515f0792dec96af60eb23eec5abdbff4527d710fcbc2f75f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extensions/renderer/base/node-shapes.mjs:171 \u00B7 src/extensions/renderer/base/node-shapes.mjs:481 \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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bd085a303ea75a9657d8a4f1dbba775a7d60c36320846de87586b6c05ef3ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-redraw.mjs:655 \u00B7 src/extensions/renderer/canvas/drawing-redraw.mjs:668 \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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161b96e75c6083cf9203a8d28cb6dcc17ff58f1515f8fac3b9a3ea661826c51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:719 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:807 \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/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3173c44729dc69992a6aa04f8f40401e61db1e69eb25eb2eac65d2c7ecadb64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/util/maps.mjs:25 \u00B7 src/util/maps.mjs:53 \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/util/maps.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46af7b3f5afd5f5c09d1977bb996e581fa8bcd5412519a53190c9c87c48a63c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/collection/algorithms/dijkstra.mjs:7 \u00B7 src/collection/algorithms/hierholzer.mjs:5 \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/collection/algorithms/dijkstra.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6555bb221db8ea1b8e98abfc3a517825b5aa63ad000ead19ba644ebe76afb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/collection/animation.mjs:3 \u00B7 src/core/animation/index.mjs:5 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/collection/animation.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abd1c1b0d8f4c52cf8b2966f760b4a07d94cf0db436e0c23842318212a61963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/collection/dimensions/bounds.mjs:141 \u00B7 src/collection/dimensions/bounds.mjs:150 \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/collection/dimensions/bounds.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43f7fc4826c5338de2bbe5cf9ab5faa1334fa3826059a0d0586d112e695c98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/collection/dimensions/bounds.mjs:778 \u00B7 src/collection/dimensions/bounds.mjs:954 \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/collection/dimensions/bounds.mjs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7a65ff45bfda530096c8caae7dcd56dcf7122ac8e5460f403165ccf726ba36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/collection/dimensions/position.mjs:214 \u00B7 src/collection/dimensions/position.mjs:236 \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/collection/dimensions/position.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5590cf061c795527075c499e57a773186d72bf76a882113fc740676da84f0729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/core/events.mjs:52 \u00B7 src/core/events.mjs:70 \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/core/events.mjs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d9f143ad7d0b9149801507f1ba822e9979ce25bcbae3f4a963fed2fffa5a08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:435 \u00B7 src/extensions/renderer/base/load-listeners.mjs:624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba843b250dbab46e18ac70e840df01e89ccb0e2156541df7d83c645dc340a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:762 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1986 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a4f236d74e13dc2782462696ee73e84c34d21f87a6d4aebd119542d9c5f1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-shapes.mjs:26 \u00B7 src/extensions/renderer/canvas/drawing-shapes.mjs:51 \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/extensions/renderer/canvas/drawing-shapes.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53f0e7ee8d303e8453523c74a183e190dfd372e08693978ff520ccdfe867adc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/extensions/renderer/canvas/ele-texture-cache.mjs:116 \u00B7 src/extensions/renderer/canvas/layered-texture-cache.mjs:118 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4fda9b32c83142f79dc0333aecf2fcdba3100d663ff66c4644e64492a7802d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/style/apply.mjs:508 \u00B7 src/style/apply.mjs:588 \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/style/apply.mjs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afcca76f40303421419c7b9168312e2d8fc77d7b33443037e75bda95c20e5b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): debug/toggles.js:13 \u00B7 debug/webgl/init.js:231 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"debug/toggles.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00661fa2a37e869114e0ae4a01b2e181816fb6b5678c9c8befb38b4cdaca03dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/collection/algorithms/bellman-ford.mjs:101 \u00B7 src/collection/algorithms/bellman-ford.mjs:124 \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/collection/algorithms/bellman-ford.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3259d5ac6d4dd48a11539fab7cd6ba01a93882ca1155ece592d1d854c6405de4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/collection/dimensions/width-height.mjs:72 \u00B7 src/collection/dimensions/width-height.mjs:81 \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/collection/dimensions/width-height.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a860e412aa5d715f59ff91e3e3c1fcf17a98916b1ae4a755b0681e73d572ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/collection/traversing.mjs:11 \u00B7 src/collection/traversing.mjs:48 \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/collection/traversing.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c08e563cf7d3ff478ab948384639a5a109897dd614cbb09fa9feec388792773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/define/animation.mjs:8 \u00B7 src/define/animation.mjs:25 \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/define/animation.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"20285ff485193ce23112434a2f19ca3830609c9fa5790362479919e4e1f664e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/define/animation.mjs:27 \u00B7 src/define/animation.mjs:197 \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/define/animation.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b1923f79d62fb3e33e159ad93eccc66c4bb1b34d68faf4881d7468621f045c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/base/arrow-shapes.mjs:179 \u00B7 src/extensions/renderer/base/arrow-shapes.mjs:242 \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/extensions/renderer/base/arrow-shapes.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7cc44294567ceb1b1824e1ca1314b01e149c1927a634fd7344430dc4a0feb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:900 \u00B7 src/extensions/renderer/base/load-listeners.mjs:2020 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b93e450bd4a6547dc959a77efebef000fbe34334add7253daae5d2545ecac83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:1011 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1983 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"442dc17aaa9550eafef6332fa672f53afceb73191c26f682fae53bb6d1dc5153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:1206 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1218 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57f6fd7311ab29d5845b4945f31c96ad66882105cad52068c698af36d62efd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:1262 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1883 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e659d5d3014857f14545c9f0021b7a18d3ca2e2ace16d9714d2aa339bd2964ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-elements.mjs:141 \u00B7 src/extensions/renderer/canvas/drawing-elements.mjs:151 \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/extensions/renderer/canvas/drawing-elements.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3f7391383410df4dc2dbca01a9f95beccda52acc575851232ebe845b05859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-images.mjs:56 \u00B7 src/extensions/renderer/canvas/drawing-images.mjs:64 \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/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fc0772f75676c516b6b8c3d79e35ae9ac116398e51b55c6818d24495be4ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-nodes.mjs:699 \u00B7 src/extensions/renderer/canvas/drawing-nodes.mjs:789 \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/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f354c9205637f3cf152eb1469fb95e91aa14d7f58a808bd07688e9a9a5ae24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-redraw.mjs:223 \u00B7 src/extensions/renderer/canvas/drawing-redraw.mjs:233 \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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e142d07029eef5a92a15acbb0f1390cb8871011418266ff5d65cb01c542853b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:936 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:960 \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/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c135d8d7e0412f1129325305e8c90180d3b4cbceed5371b18209b91edcaa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): debug/tests.js:269 \u00B7 debug/tests.js:1046 \u00B7 debug/tests.js:1185 \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":"debug/tests.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f830ace5d4263142eeb67b46acb931c5c77b0373282a7f4f89472497e6768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/collection/index.mjs:767 \u00B7 src/collection/index.mjs:795 \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/collection/index.mjs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cae42f3dcdcbc13724409d1cc7f05a07ff70c21f76383f26aeff194695eae11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/collection/traversing.mjs:284 \u00B7 src/collection/traversing.mjs:303 \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/collection/traversing.mjs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb4966576b2ec37202fb67aa224c138493ddd377073b704026cf90ba1ccab9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/core/viewport.mjs:281 \u00B7 src/core/viewport.mjs:509 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/viewport.mjs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"00368830014a6a6bd544d794e6561d5bd6f2aa9be3a57acd7d7215eeaf3d86f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:590 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:709 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:934 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:958 \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":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cb77f0bd7e203319ddc89d3ada35ba20e29148962a263cd3eb8bedf46f0874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:709 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:893 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:934 \u00B7 src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs:958 \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":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f7c965af92635d4dcb3e42ebd5aecf5cf14b49511abb63e910e2ca2c82a41b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/style/properties.mjs:453 \u00B7 src/style/properties.mjs:464 \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/style/properties.mjs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f897e6e8a36fd349ec8c32311f0353938195f4b5211b1c2e3f214192d25c8426"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/collection/algorithms/floyd-warshall.mjs:42 \u00B7 src/collection/algorithms/kruskal.mjs:26 \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/collection/algorithms/floyd-warshall.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa370173ab484b90273f3716df3344dd36aea24a29bf6dbaf32afc07dd542f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/collection/dimensions/bounds.mjs:289 \u00B7 src/extensions/renderer/canvas/drawing-label-text.mjs:203 \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/collection/dimensions/bounds.mjs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"832d3455e242f6271e2b00b602002b9b14060afa0829c679caf60dd4e7bb78ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/collection/filter.mjs:37 \u00B7 src/collection/filter.mjs:317 \u00B7 src/collection/filter.mjs:343 \u00B7 src/collection/filter.mjs:364 \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/collection/filter.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b0a928cce14b5a6174ad73fa50d94612265b43c3a2bf297a46088f40eaf46f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/extensions/layout/cose.mjs:800 \u00B7 src/extensions/layout/cose.mjs:970 \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/extensions/layout/cose.mjs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"3896403486cef132f10164218819d42423a056041f5562e85fe19d684a43d995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/extensions/renderer/base/coord-ele-math/labels.mjs:140 \u00B7 src/extensions/renderer/base/coord-ele-math/labels.mjs:266 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 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/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1cca4d23298dd1e2171e91a83f8c1f7362782dd1aa0af7a65df374524371a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/extensions/renderer/base/load-listeners.mjs:787 \u00B7 src/extensions/renderer/base/load-listeners.mjs:1711 \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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fbb44f3f8e2417d9f684f87e8e01fdaa9e9ffc011002f667630d13fa40ae01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/extensions/renderer/canvas/drawing-shapes.mjs:10 \u00B7 src/math.mjs:1218 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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/extensions/renderer/canvas/drawing-shapes.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95d5be4c0f72986fcd89e08360a60ec6356697c6d561e71684a0e81d182432a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/math.mjs:952 \u00B7 src/math.mjs:988 \u00B7 src/math.mjs:1281 \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/math.mjs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f4459e7a4346f53dec35f091d74c4b547ce2149347f54076444e4422448c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseImpl (cyclomatic 113, cognitive 182): parseImpl has cyclomatic complexity 113 and cognitive complexity 182; 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/style/parse.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f65e4fa01965d2cc516419a1a33304b71078fed5f9ba7931404c8b9518ea54c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchmoveHandler (cyclomatic 96, cognitive 168): touchmoveHandler has cyclomatic complexity 96 and cognitive complexity 168; 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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe41c9869cdc09f015c5531206f776d750369f2092e0a498e36134c533e9dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 90, cognitive 91): render has cyclomatic complexity 90 and cognitive complexity 91; 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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"787022d716d3540c8cea1ef81f5252776002a7dec016116fc899b3a8547b7997"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAllInBox (cyclomatic 65, cognitive 161): getAllInBox has cyclomatic complexity 65 and cognitive complexity 161; 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/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d6aebec978e5792e3d44e079c28b0ebfc37786c3edeb86d18a820a90bd9198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mousemoveHandler (cyclomatic 64, cognitive 127): mousemoveHandler has cyclomatic complexity 64 and cognitive complexity 127; 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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b2fd0dfa356bf747d360c209581a481769e7abce7d398a4bda9733c61711f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundingBoxImpl (cyclomatic 64, cognitive 125): boundingBoxImpl has cyclomatic complexity 64 and cognitive complexity 125; 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/collection/dimensions/bounds.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1da37f099e3602e4b3536c7a70976b6705c947974d0dbff03711c5a7fed83f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findEndpoints (cyclomatic 60, cognitive 98): findEndpoints has cyclomatic complexity 60 and cognitive complexity 98; 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/extensions/renderer/base/coord-ele-math/edge-endpoints.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0951888637aa1166cf54b3f8feb82745c8deecc3d85ac70391ae2dc3ea6752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawText (cyclomatic 58, cognitive 106): drawText has cyclomatic complexity 58 and cognitive complexity 106; 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/extensions/renderer/canvas/drawing-label-text.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14b23118dcaf57c25a2e50bf2cd603e78c6ddd3f00fd1eadce08df954518fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findEdgeControlPoints (cyclomatic 48, cognitive 61): findEdgeControlPoints has cyclomatic complexity 48 and cognitive complexity 61; 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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fd3eec18139f312c36fef68be3d9c28fb57c0c48e41a391ca287109f79de8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawOutline (cyclomatic 45, cognitive 76): drawOutline has cyclomatic complexity 45 and cognitive complexity 76; 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/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"92657023fbd818ccc76962a5b43cadfdf9d111f819fd76928ac93f8edc1676af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getElement (cyclomatic 44, cognitive 51): getElement has cyclomatic complexity 44 and cognitive complexity 51; 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/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d270e27a1d8c20a28c008156a9174de1570201bfe10a91dca36ea6b67bd6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseupHandler (cyclomatic 43, cognitive 80): mouseupHandler has cyclomatic complexity 43 and cognitive complexity 80; 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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609d923270139cd414c546de35beb01a6417ed8d07827ae8874acae07a6b9b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restore (cyclomatic 42, cognitive 89): restore has cyclomatic complexity 42 and cognitive complexity 89; 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/collection/index.mjs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7299828daf777a3ef253e06f91e13570f3a76366106d1759f38b7ba5a8ac186f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyParsedProperty (cyclomatic 42, cognitive 66): applyParsedProperty has cyclomatic complexity 42 and cognitive complexity 66; 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/style/apply.mjs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354bce7c7464753710c5abc05f5946cb9499337116253cb9fb2f5573c5cdec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchendHandler (cyclomatic 39, cognitive 66): touchendHandler has cyclomatic complexity 39 and cognitive complexity 66; 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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05c8cee9e289b2bf512603dce1231ef6c93e0cb5c28781c37b6818f5fc14978"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findTaxiPoints (cyclomatic 37, cognitive 54): findTaxiPoints has cyclomatic complexity 37 and cognitive complexity 54; 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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9cc078e6124e95783a04582bfff079dc4b064070d502c5db12d010777ac3a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Element (cyclomatic 36, cognitive 37): Element has cyclomatic complexity 36 and cognitive complexity 37; 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/collection/element.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"215bd90391d83482b18ed3460ab8a2dee5649c2d4b4549d925b9be6d5d87ca31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function affinityPropagation (cyclomatic 34, cognitive 64): affinityPropagation has cyclomatic complexity 34 and cognitive complexity 64; 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/collection/algorithms/affinity-propagation.mjs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a35df154bc3ea585b4e9b7fba053b2e8c54dcc5cde4e13ce0883dbeed091c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dataImpl (cyclomatic 32, cognitive 72): dataImpl has cyclomatic complexity 32 and cognitive complexity 72; 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/define/data.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15080be46a766a500ab70d67cde65221e0439e0accbe1129147573a94bb8b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawInscribedImage (cyclomatic 32, cognitive 45): drawInscribedImage has cyclomatic complexity 32 and cognitive complexity 45; 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/extensions/renderer/canvas/drawing-images.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c5e894dc00519f77a19a8f2b30fdfec9cde7042c47d9c87ce28a1c943d8594"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/base/load-listeners.mjs: 1662 lines of code: src/extensions/renderer/base/load-listeners.mjs has 1662 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/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9864533d56f6513f88c87afa16420937a69bf7d9a7ccdbfac3392c0546f8ee"}},{"ruleId":"R3","level":"warning","message":{"text":"src/math.mjs: 1179 lines of code: src/math.mjs has 1179 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/math.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae7a54f67eea7fabe4a6b074d96f0ef25575209ec09a422e091080e98e9b7b5"}},{"ruleId":"R3","level":"warning","message":{"text":"debug/tests.js: 1111 lines of code: debug/tests.js has 1111 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":"debug/tests.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060b279d16e852e99ef279b2bbcfb6716df577d6d074293cdc80679440a84e0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/layout/cose.mjs: 1098 lines of code: src/extensions/layout/cose.mjs has 1098 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/extensions/layout/cose.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fc2ad16d8c658ecc9255ac2e726819a969c9111e72a23d17cbaace28025c6c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs: 962 lines of code: src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs has 962 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/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa2779b34d5dcd41e029086487e076cb9d2b0acc6877d7068e36477d989d3d6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs: 847 lines of code: src/extensions/renderer/base/coord-ele-math/edge-control-points.mjs has 847 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/extensions/renderer/base/coord-ele-math/edge-control-points.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f413c7b9dbfc8fc934d4632194588c2223c095baecff1594c72132b5ee6307d3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/style/properties.mjs: 840 lines of code: src/style/properties.mjs has 840 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/style/properties.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c079c1e13d5bcc6170607036924578d0add92939996b0c892589633f4814c3a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/collection/dimensions/bounds.mjs: 832 lines of code: src/collection/dimensions/bounds.mjs has 832 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/collection/dimensions/bounds.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"704c0a31f44c204e70d7fe7fce0b2c88fd59c22b01f86818c663f3adcf7212ec"}},{"ruleId":"R3","level":"warning","message":{"text":"src/style/apply.mjs: 666 lines of code: src/style/apply.mjs has 666 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/style/apply.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba31a74ffd385d4994ac153cf84355ff5b0273070ade49fcc05d00667242a288"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/drawing-nodes.mjs: 664 lines of code: src/extensions/renderer/canvas/drawing-nodes.mjs has 664 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/extensions/renderer/canvas/drawing-nodes.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4ac71fbdca3144df36cadb4b0fe659c73707f84c6aed28e712acab74d44c05"}},{"ruleId":"R3","level":"warning","message":{"text":"src/collection/index.mjs: 638 lines of code: src/collection/index.mjs has 638 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/collection/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"507c87a8ebceb3573bd79bf676abcfb591e675633acc02afa8d6cd11e125eea9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/drawing-redraw.mjs: 567 lines of code: src/extensions/renderer/canvas/drawing-redraw.mjs has 567 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/extensions/renderer/canvas/drawing-redraw.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7526e4f0313401303d9426c699c86e155c8eb32641ae479436ec9e2e2ad005b3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/webgl/atlas.mjs: 535 lines of code: src/extensions/renderer/canvas/webgl/atlas.mjs has 535 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/extensions/renderer/canvas/webgl/atlas.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488097cbe7433c8aaee7e582ba0ee3ed0fb34a1aec52e88333deddd82d8f37f5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/base/node-shapes.mjs: 527 lines of code: src/extensions/renderer/base/node-shapes.mjs has 527 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/extensions/renderer/base/node-shapes.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d1825704b72b52b7045929cc9baad6c47aa7d3408fdbc87bcef350a89bca0c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs: 514 lines of code: src/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs has 514 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/extensions/renderer/canvas/webgl/drawing-redraw-webgl.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaeadc0af14553701da0f56bc38133081094c4eabedccb401725025148a9e12"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/layered-texture-cache.mjs: 495 lines of code: src/extensions/renderer/canvas/layered-texture-cache.mjs has 495 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/extensions/renderer/canvas/layered-texture-cache.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816b551ee0fbcb3c4cd06d7769b76095c0f00f0f4d3a4e618c66908e02450bf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/base/coord-ele-math/coords.mjs: 482 lines of code: src/extensions/renderer/base/coord-ele-math/coords.mjs has 482 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/extensions/renderer/base/coord-ele-math/coords.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc25bc33fce242badc93979f150d86e5419d2ef41c55529626b425947c1d1dc8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/base/coord-ele-math/labels.mjs: 469 lines of code: src/extensions/renderer/base/coord-ele-math/labels.mjs has 469 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/extensions/renderer/base/coord-ele-math/labels.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b471b08b746f794424c880a44f5e799a626005717a52c7f40fff7674157169"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/viewport.mjs: 468 lines of code: src/core/viewport.mjs has 468 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/core/viewport.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4199849052f1487457ec11217f8ab706d66f6160a82a3180a3805eaa675d893a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extensions/renderer/canvas/ele-texture-cache.mjs: 419 lines of code: src/extensions/renderer/canvas/ele-texture-cache.mjs has 419 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/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"262fef5537b4ebffcd781e67c4eff6edfc2e0239bfbe662d0d32ba0d1326389b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/tests.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f617d9e5d0ea4714ea6b8dcc8de026dd5ae091911c7272b494e593ea94579b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/fxaa-upscaler.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5c05f2e141246fa615d43b4acef0ab0ea7b873f7ad023de9802f4204296074"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb618a421d6b65677e3aaba3db6e3de6c2e362014c22f33545394eae8639f64"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaaf76bd387438f48e5d936f906bd019871268b38ba3a0bf6d9809e70ffbe62"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/misc-upscaler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190bfe5c48f8a79db65a3bf22e48116ba8c631037479f8a695bc0d5c238845a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/view.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba22c3bdda40c1fb472524eb5201beabb0161eed94cf02907b192991a5e76d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/FileSaver.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9bebc9a46d522bdebd82403344b12659b74d6b5136395138168e1beba5edf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/images.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1239257f8269a6bba2936275facd1452e17df32c9cb15eba664ec06be90fe057"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update-imports.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1df7f8a13c1101852f1b3be880e2332fd37cbbc332afa7b26288e1b8c9b0e4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/add-remove.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc23652839598adf1dbbefc907f7468dcd2ad42794fd9143a26a469c519cbcc9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/visual.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"878814574a14ba2deb745aed5bd9358ced73f45533348f3e703ddefdb7562271"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/bind.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"413c50f24ce0b1622cbc2c033680a7f5b2c70516bd4d458016bdc9001eb46258"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/networks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a15c684856ed79d66978b9cbad68cf45813148fe269d8835d6bba80cfbff3e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/animated-bfs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b3f88e13cfc987372b1db382e73ffd38d78fb243e4305a85b300d48ceee352"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"snippets/performance-tuning.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68398548cf9cb2afdd76047efbca2218543a9d7bd9d2402fcb7ec5217d1a5ed1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/compound.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c0c4f9465e22aef44d96af51569234930beb752170a098712961731974e1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"license-update.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd42029091f00b8c30a1f39e2900a6266c28cbe65d2c774f0281cec4129a855"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/toggles.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ba472c312f0ba5db2287b0e53506945a4231f411998a996bfbf159963c664e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/filter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2e3f124196a6ec6dc511a6667492759e712e8a0afa7e0ad1f7bae2c80e21a4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/layout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fbb21c80cb032bc02258f78b5bc406acfd558f6f7e52d80a84494f034a84db"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/notify.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0090b1465b5466328bc18c57b8813330b125241a0385c5184f614b134420375a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/livereload-setup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d33582ce14e07cb03c6e52e30a84f9226d9c1e57697f50bbcbc7c72dda99a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/style.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d6e41e08693c9432fff7a292ab974d079b06429458212b2ccaed1f921253cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cjs.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e58c588732fbcde4c3dc769464bb994f5eaf83892507784f6a80b14d8f0d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"debug/webgl/cytoscape.umd.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefc494659b04c81f1ece8d956e284d9f9439da29dc63108b8368170a16982b6"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \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":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~148 LoC): no import path from any entry point (23 application, 5 tooling, 47 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":"snippets/images.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"153bccb77f15a3d6e38ad785022af993971c12edbd20e972b8d7c02e2bad08dc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~77 LoC): no import path from any entry point (23 application, 5 tooling, 47 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":"snippets/visual.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6056b08ae3e73ee1bf44804b48d2232a9b6e80b835c6ff35ce252e7b63e25912"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~73 LoC): no import path from any entry point (23 application, 5 tooling, 47 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":"snippets/animated-bfs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98182430c169c58338ad17dfe6b8cb956f4544259126abfb9661904a26cd3aa1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~52 LoC): no import path from any entry point (23 application, 5 tooling, 47 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":"snippets/performance-tuning.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"427df35c55776e375007e7446308169339bb0ef327c2044d2d62601c85457c28"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (23 application, 5 tooling, 47 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/cjs.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18d0551e104639df9c3466153520e0b44c9fc7f1304604503009e8d940ad303"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~0 LoC): no import path from any entry point (23 application, 5 tooling, 47 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":"debug/webgl/cytoscape.umd.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dbfcd32a2edc777419483495c55424b2e0a464c95ec007c7df295d389703d9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027maxLvl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/ele-texture-cache.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"221f11fc04ff45f25b21708c2add79731eaf524a787a5de4b9e01729e8ef9176"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027zeroColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/canvas/webgl/webgl-util.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa688689deaebcbebd62f78ebfec32c176b5afa79afd706e35ce5af76d1e6a1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defined\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc2243e8fe534f2f56d7268f01d1b4d121e8fb6c1bba966e4881950441a7035"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027bool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263cb37ca5435edaaab775161f3af6fbcd49ed7feff45da9a61b309fb6b73bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027style\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"debecdbb423192e1453392252e8fcdb638325cc60f3721a50892a04c44b9f43e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027thread\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc85936a4c04a8b54fb57658fd90ed6e973041ede5899fe24c9915633b28fe9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027fabric\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6167a1059ffde4bc530d8f52b912da72b4c4b802c4cb2888d5a91f123eab492"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027nonemptyString\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3faeeb91bb52210a4666e9634209240f2e847c646e9fc681cb6b6d877b1d8cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027touch\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fb08dd7510b49f168469722505e53f49c714f9a3f9d4d74e98496bc4577846"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gecko\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"071170b0b60379883aae9130ecb508647288bb8f1b35728bad1c0f40f40a6f32"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027khtmlEtc\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c51e6bac9a21d2bd22e2893b799c26d7254057296b3ca3bd80f0d38f12c5c58"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027windows\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e80ac32956a8d945a3ff3f57e4cb979f22fb3df462adab59b8d1c0ad42f6e4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mac\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15a050ac34c213399b460667ea8ef9137f48eed10937beea293c465a4750a7f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027linux\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"93582beca6ca8ca976ab0ea94596ca5dc0d5bc1a467c00eebfd5b528d9b4fdd4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027unix\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/is.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"209c240464b7a6c8f0236cdb4cb81a3d3ca1a4faad1fc48a2010d8459e9ed51b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027arePositionsSame\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e8eedf0dd521eff630289d935da5d4870f82f516952e6bfa5153e9b454b08"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027normalize\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be3f3d2c19fbaef4e79aab7b548d3db926165fc6d758d3afc5c3f0182fb2210"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027lineAtDist\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d9c16f0fcbf163e4a7e1a7ed5308b19ca0c3f4e2ccc58651a920eab85aa05"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027triangleAngle\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f363cd2b7f17573a99ad63ea857cb88af02e7b3185a74490eb105bc4718f9f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027expandBoundingBoxToInts\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa2b2cc08b59f2653a5037b87151544bdca18e7d3b418f1ba122c271b0603a7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027assignShiftToBoundingBox\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bd68207ddee9a7ce8ab7018d1d82856976d8b567dce6de8e7569128173252d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findCircleNearPoint\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d503195c71822ad540eb6a4998fad085aababb962c4ce3b5db518505bf8694"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findMaxSqDistanceToOrigin\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/math.mjs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647a3b22275a79130b4eaccbfc0beea334fc809e94c8ded1c68d9528b777494"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027drawRoundCorner\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/round.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1d363e0b427034003b3fdb705acef561cf6f0613d846da2eb6b7a5c3aaa1ea"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027mapEmpty\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/util/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/util/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/maps.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebab8666b4d51f022409faa13e816c340ba3ce2703511c2495f2f747ade12f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027pushMap\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/util/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/util/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/maps.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8085040d0c1a9d87115cb870e1160c53fc10326a6167a9813d4d889a776c8428"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027deleteMap\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/util/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/util/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/maps.mjs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd1da0dad387522de646adf776e5cfbc41479cb86a1ad0a146bf36e0460b548"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027now\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/util/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/util/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/util/timing.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d437e9f8e83ebf1e59926b81fb25439ec122060207f0326d489cdbd57f3c4275"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027copy\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":"playwright-tests/renderer.spec.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dbf6f16808d9bc8f3a4d15a8c37dec11f6ea471396e50dd8ee39b06eee8756"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isExternal\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":"rollup.config.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b639d26bd298478cbed8872b5e3532602d30577d90f592314d4988ac1b6a7df5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027randInt\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":"test/modules/util.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"252d030c9817b037bec75f0283ab767ad1e6d0d0a94d689840fda20c2bfe381d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(name)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"debug/notify.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bb38bb88843f099b02f17c06e3b655a7c43abe64877c9b7d7752b0af2d196f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(descr)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"debug/notify.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eadafbeb0023ef7ca01abd28f72d1052799f0eb8b8fe1ae7a237028c8be1291"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0060${network.desc} (${network.nodes} nodes, ${network.edges} edges)\u0060\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"debug/webgl/init.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0f1da22f803c938133438448f86416f5c0b7e1b6fb2eec43a92489d33618ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/index.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c4606dea83bcbf6f43e01e8108b24c394f11e78e28e31b9f5edf2ca09173c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extensions/renderer/base/load-listeners.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a89acecd815c61fc00514481f27597726ba63ebfc501f33e34558e8f62801c"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":71,"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."]}]}