{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"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":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeApiItemPage (cyclomatic 47): MarkdownDocumenter._writeApiItemPage has cyclomatic complexity 47 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a0535e687ecd2173bf6078aeaea76d45ce412161b4f9a0a963ece05a465350"}},{"ruleId":"D1","level":"warning","message":{"text":"HTML.normalizeToPointerEvent (cyclomatic 31): HTML.normalizeToPointerEvent 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":"packages/g6/src/elements/nodes/html.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82156cc416c9e1738760e50eedfad1d46366ff9c6f6b507b31469e951ae9b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMarkdownEmitter.writeNode (cyclomatic 28): CustomMarkdownEmitter.writeNode has cyclomatic complexity 28 (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":"packages/site/src/markdown/CustomMarkdownEmitter.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c46a9560187ead1deaf0d49f3b4a49bb7034c840ac320a4c8a859b255bd761"}},{"ruleId":"D1","level":"warning","message":{"text":"robust-subtract.robustSubtract (cyclomatic 26): robust-subtract.robustSubtract 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b3ce2d93fc2502a4d43998f79b6078208b9b7be0c26aa69973b777e7fadf2e"}},{"ruleId":"D1","level":"warning","message":{"text":"robust-sum.linearExpansionSum (cyclomatic 26): robust-sum.linearExpansionSum 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-sum.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7a70386d05f770da59d341822092654d98b940b12274efca2b55c0582aa5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Animation.inferStyle (cyclomatic 25): Animation.inferStyle has cyclomatic complexity 25 (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":"packages/g6/src/runtime/animation.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28decfc4e4a5c3ed615023930b8363b23d034719809022b7cc9cfc7dea5d61c9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.init (cyclomatic 24): index.init has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 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":"packages/cli/src/index.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2f55530432b04420b0edb344c7d4e4688b4b0cc1e17326a4b360f6b090e876"}},{"ruleId":"D1","level":"warning","message":{"text":"DataController.computeZIndex (cyclomatic 23): DataController.computeZIndex has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 429, 449, 416). 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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"450ca7cf26e8bdb48170cfa64f2a1bf0fce630d1346fea7086f81cb0f37b6e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeAPIMethods (cyclomatic 23): MarkdownDocumenter._writeAPIMethods has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"375494a22a7fc32ab4c37c6b65545fd5854baa673d56ae2f1d8e87aaa29e836f"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeExcerptTokens (cyclomatic 21): MarkdownDocumenter._writeExcerptTokens has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 722, 795, 712, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac5583fc0b30cce0c822c39bb12fb614f789ebcb93ba9f8c79c3a0a659b76af"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writePackageOrNamespaceTables (cyclomatic 20): MarkdownDocumenter._writePackageOrNamespaceTables 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e04ba66f537202dd806b3ac3afdcd7b9f12cfeee208f8b4b0049c1723ed723"}},{"ruleId":"D1","level":"warning","message":{"text":"FishboneLayout.doLayout (cyclomatic 19): FishboneLayout.doLayout has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 155, getAuxiliaryPoint, layout, \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":"packages/g6/src/layouts/fishbone.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9577d1405e94aff81c9bad155a109054400dae399e3dc8367b76218c21eaa56"}},{"ruleId":"D1","level":"warning","message":{"text":"ClickSelect.updateState (cyclomatic 19): ClickSelect.updateState has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 function literals 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":"packages/g6/src/behaviors/click-select.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac4f778f392288fe0d25221d708513b281b48cf6f4fce61672ffe9bb4fbf5ac"}},{"ruleId":"D1","level":"warning","message":{"text":"transform.replaceTranslateInTransform (cyclomatic 19): transform.replaceTranslateInTransform 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":"packages/g6/src/utils/transform.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa891c8f571a6230c6f8fd23fdc2edc112a09b3d3adb688eb6ca483be20d6d2"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeClassTables (cyclomatic 19): MarkdownDocumenter._writeClassTables has cyclomatic complexity 19 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01dbee91b02615d19c86242ad2dcbb547863877f35a3696c5a052bb948b0c8"}},{"ruleId":"D1","level":"warning","message":{"text":"polygon.getPolygonTextStyleByPlacement (cyclomatic 18): polygon.getPolygonTextStyleByPlacement has cyclomatic complexity 18 (threshold 15). Of this number, 17 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":"packages/g6/src/utils/polygon.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1702e31107341d589dea4981966d6bf27195377b543e8a16cc4466b0a6bde2e"}},{"ruleId":"D1","level":"warning","message":{"text":"edge.getLabelPositionStyle (cyclomatic 17): edge.getLabelPositionStyle 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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"de15bedc99a0f1331d43164189c37aef6502aea9d93d37aa76b2574b7c3f44ba"}},{"ruleId":"D1","level":"warning","message":{"text":"shortest-path.aStarSearch (cyclomatic 17): shortest-path.aStarSearch 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":"packages/g6/src/utils/router/shortest-path.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7989fcba269d792c68e3e94104f090cbc284f6444751780462b15a292708f1"}},{"ruleId":"D1","level":"warning","message":{"text":"BubbleSets.getPath (cyclomatic 17): BubbleSets.getPath has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong 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":"packages/g6/src/plugins/bubble-sets.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105db17075671fdf3e5357ce80cf2c2244eb12625a2377a132fb4167c6f915c"}},{"ruleId":"D1","level":"warning","message":{"text":"Snapline.calcSnaplineMetadata (cyclomatic 17): Snapline.calcSnaplineMetadata 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 one function literal inside it that branches (line 280). 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":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669dd7e91afb0de844ec5ef2f6c21b13d62eed1749fdcb640a62d1afe26dd10"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeHeritageTypes (cyclomatic 17): MarkdownDocumenter._writeHeritageTypes has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d04952133c273f20718dc206e49ec3c52967a0f8e744e07179ed1ebf596887"}},{"ruleId":"D1","level":"warning","message":{"text":"orth.orth (cyclomatic 16): orth.orth 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":"packages/g6/src/utils/router/orth.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbf09992e1004f1d652c82216f9fe8c0b238fb295e0f9008eaf30c988c4ae1b"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseShape.animate (cyclomatic 16): BaseShape.animate has cyclomatic complexity 16 (threshold 15). Of this number, 9 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":"packages/g6/src/elements/shapes/base-shape.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9ce07a29b9b78fe85bce4f8f4853f2850cef1a7e8fea86fb6a7125fb5240eb"}},{"ruleId":"D1","level":"warning","message":{"text":"process-parallel-edges.groupByEndpoints (cyclomatic 16): process-parallel-edges.groupByEndpoints 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":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"488df900f418ad67fed5ccaa1c102db71e24d5345f7ed6622851667c5b47714d"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownDocumenter._writeInterfaceTables (cyclomatic 16): MarkdownDocumenter._writeInterfaceTables has cyclomatic complexity 16 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: packages/site/src/MarkdownDocumenter.ts holds 7 of the 25 methods over the threshold \u2014 including the worst \u2014 and 58 of the 162 points over it (36%), 3.6\u00D7 the next-largest file (packages/g6/src/elements/nodes/html.ts at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8da0f3417359aa34ec0b585876355875439fce2e44de8371180adcc01cdba1"}},{"ruleId":"D2","level":"warning","message":{"text":"HTML.normalizeToPointerEvent (cognitive 66): HTML.normalizeToPointerEvent has cognitive complexity 66 (threshold 15). Drivers by points: if/else 25 (59 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 35). 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":"packages/g6/src/elements/nodes/html.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a8846941c2ae93afe0aa8c9f22b90c72eae367210e05cf4042007e7d969381"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeAPIMethods (cognitive 58): MarkdownDocumenter._writeAPIMethods has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (43 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (4 pts), match/switch 1 (3 pts) (nesting depth added 36). Of this number, 24 points are the body\u0027s own statements and 34 belong to one function literal 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c62d63a63187260a4a72aae0f0eb405ca11354a8215e65a3317503530350c"}},{"ruleId":"D2","level":"warning","message":{"text":"robust-subtract.robustSubtract (cognitive 42): robust-subtract.robustSubtract has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 4, loops 3 (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":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99001c0ff2d007e7041d61cda5c4df4c5f203651ad1ca0b57d18a78e1bcbb26e"}},{"ruleId":"D2","level":"warning","message":{"text":"robust-sum.linearExpansionSum (cognitive 42): robust-sum.linearExpansionSum has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 4, loops 3 (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":"packages/g6/src/plugins/hull/hull/robust-sum.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcda56d35b03727c767ef5f6b0722a032341c6220f4f503a1fa7ac39e7a0211"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeExcerptTokens (cognitive 39): MarkdownDocumenter._writeExcerptTokens has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 21). Of this number, 18 points are the body\u0027s own statements and 21 belong to 4 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674138f0290f4dea999f4741f84187e4b8f6be1ec03b369f6bbd4d866843e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickSelect.updateState (cognitive 37): ClickSelect.updateState has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 4, ternaries 1 (nesting depth added 18). Of this number, 21 points are the body\u0027s own statements and 16 belong to 4 function literals 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":"packages/g6/src/behaviors/click-select.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"834b1d53fd4d2f07f5514e84d8fc86378d3fcad0d82af9b055e2cdeadc63e81d"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeHeritageTypes (cognitive 37): MarkdownDocumenter._writeHeritageTypes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 3 (9 pts), boolean chains 1 (nesting depth added 22). Of this number, 36 points are the body\u0027s own statements and 1 belongs 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5b4f8e9c418779dbb7fb6470b93d05527e90f48ff9336eca5550caa906ca42"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseShape.animate (cognitive 35): BaseShape.animate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (31 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 21). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 189, handleCompositeShapeAnimation, a function literal at line 213, \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":"packages/g6/src/elements/shapes/base-shape.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4300bae89380eeb712967fce3560eeb86f2e11edfd4f5e0ae791587a6faedd"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMarkdownEmitter.writeNode (cognitive 35): CustomMarkdownEmitter.writeNode has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 5 (12 pts), ternaries 2 (4 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 19). 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":"packages/site/src/markdown/CustomMarkdownEmitter.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27afbbbe060c87740eb0f87ca6692933ac0630c83bd3c71232bb6abf42012a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Animation.inferStyle (cognitive 34): Animation.inferStyle has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 5, ternaries 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":"packages/g6/src/runtime/animation.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d0786802cb0e7ef7d9bf01ff92a20c43adca4ea0c7ff93875025d1d2526149"}},{"ruleId":"D2","level":"warning","message":{"text":"orth.orth (cognitive 30): orth.orth has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 1, loops 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":"packages/g6/src/utils/router/orth.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9339c331bb5c6c669bd7dc2fd80bc09950440b3437b4bee27ad6db65b237067e"}},{"ruleId":"D2","level":"warning","message":{"text":"shortest-path.aStarSearch (cognitive 30): shortest-path.aStarSearch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 4 (5 pts), boolean chains 2, ternaries 1 (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":"packages/g6/src/utils/router/shortest-path.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4494eae95c5a0b77e636d0da8f3f32a0a17aa0bbe485949e8d5e1169ceb9a5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"transform.replaceTranslateInTransform (cognitive 30): transform.replaceTranslateInTransform has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/transform.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ee127cee48768b5109030ecd6ada29cb830115f8a13af7ddbadd7f227fbf55"}},{"ruleId":"D2","level":"warning","message":{"text":"process-parallel-edges.groupByEndpoints (cognitive 28): process-parallel-edges.groupByEndpoints has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5677b7477f7e0513a2f202025656e6534a0b4dbdf731858726f4602d23840d69"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._localizeSection (cognitive 27): MarkdownDocumenter._localizeSection has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 1 (5 pts), loops 2 (4 pts), boolean chains 3 (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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88424e6035f165d769d5d75a43f755b819c5f39b7ba0019d3356787d502cb63"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._initPageDataForItem (cognitive 26): MarkdownDocumenter._initPageDataForItem has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (11 pts), boolean chains 2, loops 1 (nesting depth added 13). 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"242224997a9eab246d172791f19493f41e12ce91da75a5da42428d161dcc3b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataController.computeZIndex (cognitive 24): DataController.computeZIndex has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 10, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 429, 449, 416). 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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"533d9a090719f5a3a6a364ecf2602eb8b8ead720faeaddfabe03f75d22ce42e4"}},{"ruleId":"D2","level":"warning","message":{"text":"polygon.getPolygonTextStyleByPlacement (cognitive 24): polygon.getPolygonTextStyleByPlacement has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (6 pts), boolean chains 4 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 1 belongs 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":"packages/g6/src/utils/polygon.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"038bdc9c5e5850b16da19bf620e3ec7ac2533a322e77724e38a5c6339f571cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"FishboneLayout.doLayout (cognitive 23): FishboneLayout.doLayout has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 23 points belong to 6 function items inside it that branch (a function literal at line 155, getAuxiliaryPoint, a function literal at line 136, \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":"packages/g6/src/layouts/fishbone.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab426dd66b2c689849d26a348a58b9693f3da18de8fcbf41cc96c0af09c704c"}},{"ruleId":"D2","level":"warning","message":{"text":"BubbleSets.getPath (cognitive 23): BubbleSets.getPath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 3, boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 181). 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":"packages/g6/src/plugins/bubble-sets.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2eb76e3575bec3a7bd035623f404ce6725765956ab299bd79935d591897b96"}},{"ruleId":"D2","level":"warning","message":{"text":"excerpt-token.parseExcerptTokens (cognitive 22): excerpt-token.parseExcerptTokens has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, loops 1 (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":"packages/site/src/utils/excerpt-token.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c5820599a367d1c477fcafa91e97493d6ee8f1893351e116666b8b28be2c60"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeApiItemPage (cognitive 21): MarkdownDocumenter._writeApiItemPage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c993ece0ac258282fd77cbe0636919b73bc9cf44681d67c848872eff169c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CollapseExpandCombo.beforeDraw (cognitive 20): CollapseExpandCombo.beforeDraw has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 63, 52, 35). 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":"packages/g6/src/transforms/collapse-expand-combo.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"213d953edb2ad3e015b1d152dad8c475f14d2d6871543310b8ed630fba1d7ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"Snapline.autoSnapToLine (cognitive 20): Snapline.autoSnapToLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5759b49a7dd91a1d202be84fbd5722535c9e0e3eea4da5a4a723826d22d086d"}},{"ruleId":"D2","level":"warning","message":{"text":"Snapline.calcSnaplineMetadata (cognitive 20): Snapline.calcSnaplineMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 280). 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":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"27564587b19ee11971b8467a9fb1137d703b98549d7120810fd4c928708411a8"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeClassTables (cognitive 20): MarkdownDocumenter._writeClassTables has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 3). 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"205d7d87f6eea8b6be62a32d70c49f15e5e196b95309adc6d4ba990c2d53aed0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.init (cognitive 19): index.init has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 3 (4 pts), error handling 1, loops 1, match/switch 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 3 belong to 5 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":"packages/cli/src/index.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb000e235fc7f3eac2a82cfb577f48c310a5b97298be57236724557c8ddc22ff"}},{"ruleId":"D2","level":"warning","message":{"text":"BehaviorController.forwardCanvasEvents (cognitive 19): BehaviorController.forwardCanvasEvents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5 (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":"packages/g6/src/runtime/behavior.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c239b29a2403326c173b37617e1065e140a8d4d59371882f70e914fca334ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeParameterTables (cognitive 19): MarkdownDocumenter._writeParameterTables has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcca9663702e966d690c18864fb62b2bded42a6888e3642bbbfc82c4a7e3f132"}},{"ruleId":"D2","level":"warning","message":{"text":"edge.getLabelPositionStyle (cognitive 18): edge.getLabelPositionStyle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (6 pts), boolean chains 3 (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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7685fb281d93a1bbf30c58d13440bd06c841b0aeb553508faf12dba08dec8f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"edge.getArcLoopPath (cognitive 17): edge.getArcLoopPath has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 5 (7 pts), boolean chains 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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbc29cbb3e0adc87429421ee660b637e362dc4e8c29a4cfc03ccef39c90e15e"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutController.getLayoutData (cognitive 17): LayoutController.getLayoutData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, ternaries 1 (nesting depth added 9). 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 literals inside it that branch (lines 300, 308, 322). 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":"packages/g6/src/runtime/layout.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"99580ff2b3b1122e81fb97098ed677cd5738a647d395e9f1b0b8171fded0a04f"}},{"ruleId":"D2","level":"warning","message":{"text":"monotone-convex-hull-2d.monotoneConvexHull2D (cognitive 17): monotone-convex-hull-2d.monotoneConvexHull2D has cognitive complexity 17 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"packages/g6/src/plugins/hull/hull/monotone-convex-hull-2d.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c72de635ec27ad845cc9be0bdc7b233eec915caab3c262c17a1a9ea11ee787"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writePackageOrNamespaceTables (cognitive 17): MarkdownDocumenter._writePackageOrNamespaceTables has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 3). 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2033c27322e74276adf68975fb52e48e88fa3a5e65bbff2d68248be845cee2e7"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownDocumenter._writeInterfaceTables (cognitive 17): MarkdownDocumenter._writeInterfaceTables has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 3). 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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"e407d6d90280add0145bcd5536cd464a0c41b3e7125dcab80bd479f49783c2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SnakeLayout.execute (cognitive 16): SnakeLayout.execute has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 5, if/else 3 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"packages/g6/src/layouts/snake.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92d43461d23fbb7c183884e522fdbc28f9bb3c57f20ace0d044ad5587e2e45"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementController.updateElement (cognitive 16): ElementController.updateElement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (5 pts) (nesting depth added 4). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 550, 564). 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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff81982705eba5c59aa90d3400611ecd1868d79888a3c1a2f4c36020d1d663b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Minimap.onMaskDrag (cognitive 16): Minimap.onMaskDrag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4593b50d429b60ff359c99fa7b17c36b9bd48893380816e7e7ecb142ee8e4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessParallelEdges.applyMergingStyle (cognitive 16): ProcessParallelEdges.applyMergingStyle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (7 pts), boolean chains 2 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 262, 286, 274). 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":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ff1933a0f8ad7fcc31ead2f33c083c62479a514db6983ac696c593a153593"}},{"ruleId":"D2","level":"warning","message":{"text":"DocTable.constructor (cognitive 16): DocTable.constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (8 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":"packages/site/src/nodes/DocTable.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7088b011a05b7657fcf58fec28194c34feabdd8cb0fc16bf1eb9d0d7eb0d322"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Graph: TooManyMethods \u2014 128 methods. The bar is 30 methods; this is 98 over it, 4.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b3657fdab6c7989f5d90e7429b8998988d8cf350b4b04478dc188f529bcfcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/MarkdownDocumenter.ts: FileTooLong \u2014 1479 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 979 over it, 2.96\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":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e766676ff6ce04443d0c9f9da8ec180452662b9fc7a5df6c5df71fbcb541db19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MarkdownDocumenter: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/MarkdownDocumenter.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6b280da4f078425872b58e2091cb55ebfbe1b6f335dc357fdb192131baf22d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: base.create: FunctionTooLong \u2014 create runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/themes/base.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d705670eba81f8b3658d7c6164fd9ab761ed1318a562fa081f1df1af9645f26a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataController: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a160275013f73bf871a924e6334fd2eac786a310f634ee46446ca1315964a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: robust-orientation.orientation_5: FunctionTooLong \u2014 orientation_5 runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94fc5a11cd6c5150b686320616aaf7ba552314267341aef961689470c00adcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: robust-orientation.orientation_5.orientation5Exact: FunctionTooLong \u2014 orientation_5.orientation5Exact runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4932a05503b92c1b59f11a420a887e2ebbbb6608cda3ef487ab7c62033866cf3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElementController: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c594b7385fc9f4b2a67aa8e5b8bfad92187810ce15ea2bd289e3298fa401f9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomMarkdownEmitter.writeNode: MethodTooLong \u2014 writeNode 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":"packages/site/src/markdown/CustomMarkdownEmitter.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0ed3c776fc8c427860649d986b192c94630e1f017dd1bbed5c4696ec7f01dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Graph: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 128 methods. The bar is 400 significant lines; this is 124 over it, 1.31\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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aad2d8d02cbf9fbec67b3b0522ae9f903d6df3db20a5e629b18109c1d7d228b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementController: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"215505d52e403d0e3955dfe511935c1e417696cdbd00ae77c86e3fc17a6bf63d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataController: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 80 over it, 1.20\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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd99343ed949f1633aa69dc1861256146491c29bcf7f35288acb8e1c834fdff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/graph.ts: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: Graph (66-2086). The bar is 500 significant lines; this is 88 over it, 1.18\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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d4b038a4246442e04b8ab8692b3ae65b9bd9ed55732288620a64520fe9735"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: robust-subtract.robustSubtract: FunctionTooLong \u2014 robustSubtract runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71f96890963fd656e5270641563866665da304ea5707f2ab3ebd3ca3d6c2b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: robust-sum.linearExpansionSum: FunctionTooLong \u2014 linearExpansionSum runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-sum.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579dffa5eb81fdda4010a284970330e95edd477349231e85715059e0f6afb31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/element.ts: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ElementController (43-899). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c46e4d02a9d0709cd9563fb02954b51c1039afdff8a452d382a7ba5fe300543"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/data.ts: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DataController (33-923). The bar is 500 significant lines; this is 11 over it, 1.02\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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ff977cda41b3f58816357a7b003443f7835996a43e09412256e6f974ca176"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @antv/g6: @antv/g6: abstractness 0.19, instability 0.00, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"060279f0021eb2508c79c6d3abde0c4aa547b4201c0f57110f9c03ba94857b80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Fullscreen (LCOM4 4): Fullscreen\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/fullscreen/index.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c8a9f25d52080f3ae830f86e118893b9a124ebdd8eba23c4a9595afcdc3d0"}},{"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 jest suite in packages/cli/template-extension/ ran and not one test passed (FAIL __tests__/unit/default.spec.ts), so the coverage would describe the failed run, not the code. 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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: attribute changed callback: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-react/__tests__/unit/attribute-changed-callback.spec.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0000d865488f035c47f08f0c6b279560ee0a0e65bb2073f72e5d50118b262ccb"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: getDevice: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/runtime/canvas.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22227088a87a174a0cea0fb13773dd64b85490b025c29dddce6690e11366e7a"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): chart type: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/plugins/timebar.spec.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"de01b1326980c663b4f700b71c2ef4947f8bf08f372b5c2fbafa43048c190690"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: event callback: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/plugins/timebar.spec.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0659767e6ca889ee660f3bd3259e0b7760f895c9a0dab251e088bc45f70a3e4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: destroy: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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":"packages/g6/__tests__/unit/behaviors/optimize-viewport-transform.spec.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"997303abd7d33330e7f1ec89ac61ee429575aa559eaab1185e48e74dd5fc121f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: destroy: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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":"packages/g6/__tests__/unit/behaviors/scroll-canvas.spec.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5866782bb30d389da74654ca6882da429303cb46f6248e00f4f153f229c9091"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: bug: 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*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, 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":"packages/g6/__tests__/bugs/render-change-combo.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a828ca9229ed3282349fad86684d0ca3ac7f27ace4c01891c16545436e8c45"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should be collapsed: This test starts work it did not wait for (\u0060graph\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/bugs/plugin-minimap-combo-collapsed.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0a91496d6fac8b8b6f100039e6af5f20f91169783cef3b9f0c6a7038e65ed3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: print: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/utils/print.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"361f39313bf9400d4532dc2fbe6c8c2c32ea0899f85d76318cca76c4f644bcbf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: print mute: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/utils/print.spec.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"546bd23eb07cf81f3bc460c70259d979c28ca0bfdbb52b7049c426912943af2e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: element lifecycle event: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 16 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/runtime/graph/event.spec.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba4df63dc098eb23ef736372bf8edb63d3784754186e673ce3be491000c0f21"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: element state: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/runtime/graph/event.spec.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b516a6e31b88cd82e8ab96a907ee4b64688885d0548959ea6f060d9439dcca0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: override onCreate, onUpdate, onDestroy: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/elements/override-methods.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d16051d20bf21bdef8b81cfab846e288b6b66be9960f67baeb0fe4a909ddf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: upsert hooks: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 18 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/elements/shape.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d472d2d5631f35d2f611b781086ae936a06e037fa53f9f98c7bff7b3f03b2735"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: canvas event: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/behaviors/zoom-canvas.spec.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e114d1ded79cabbeb436c849c08c14eb8c1de091d09202b9c65b87c1f51d0139"}},{"ruleId":"D12","level":"warning","message":{"text":"One package at two majors across the workspace: @antv/layout: \u0060@antv/layout\u0060 is maintained at 2 different major versions inside this one repository \u2014 major 1 in packages/g6-extension-3d/package.json; major 2 in packages/g6/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8b91d05b6f0d2f764ce4be5fc812388cf76fd43f83ffd213042743938bebc80f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can introduce naming collisions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/src/utils/Utilities.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59bd12decfc519f907844baf2ae9d1cb35bcdb8608b6203d743958903722db8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The test is not working properly, need to fix it later. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-react/__tests__/unit/attribute-changed-callback.spec.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c75ee9092652a92db6e171427e91e7c07c57f4849f2d2fdcf941a16a62cde92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \u7B97\u6CD5\u53EA\u5BF9\u77E9\u5F62\u6709\u6548 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/bbox.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bdea648cea0c713003016193c5a458e40d5e9939547299729607dbecc108a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO sanity check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/path.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4ce8b69ea3f4d20556725e8254443eef48ace8ca6017c02017f627c7d7a807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u6811\u56FE\u60C5\u51B5\u4E0B\u79FB\u9664\u5B50\u8282\u70B9 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/data.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f33b8131902492695975d2781f40cccdeecd8bbe664da8f9fd639aea7f68c76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u91CD\u65B0\u8BA1\u7B97\u8272\u677F\u6837\u5F0F\uFF0C\u5982\u679C\u662F\u5206\u7EC4\u8272\u677F\uFF0C\u5219\u4E0D\u9700\u8981\u91CD\u65B0\u8BA1\u7B97 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"337504501576609608c55330bdcd229270202c0212d77650855dae98860a514f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO g canvas client \u5750\u6807\u8F6C\u6362\u7591\u4F3C\u5F02\u5E38 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/unit/runtime/canvas.spec.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8275ef10e8537856a2f45b18bab524237e55ece3ebc5834a4fe283def8370b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fixme when animation is enabled \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/demos/element-node-donut.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ee58b3344db77b22b660b2dbc017ca92f94a719d532098268cbb30806c4d9e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u4E0D\u5E94\u8BE5\u5B8C\u5168\u91CD\u65B0\u5E03\u5C40\uFF0C\u800C\u662F\u4EE5\u5F53\u524D\u753B\u5E03\u6570\u636E\u8FDB\u884C\u5E03\u5C40 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/demos/layout-fruchterman-fix.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5696803bb45fe4090f1e0c4c512486ccb59d19e8bca21ee01979762396bae3d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060packages/g6-ssr/package.json\u0060 makes this repository a deployable product (line 14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-ssr/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d4018f8cc4bfcad2355ff535fcd397ca36614ee241141a5652f0455937fc94"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060shapeID\u0060 spells \u0060ID\u0060 where 14 names in the project spell it \u0060Id\u0060: 14 of 15 names in project g6 spell the token \u0060Id\u0060 (14 of 15; unit: names in project g6 containing \u0060Id\u0060). Peers: BubbleSets.getPath(forceUpdateId) (packages/g6/src/plugins/bubble-sets.ts:135); Snapline.autoSnapToLine(nodeId) (packages/g6/src/plugins/snapline/index.ts:188); Tooltip.showById (packages/g6/src/plugins/tooltip.ts:218); DataController.getElementDataById (packages/g6/src/runtime/data.ts:231); DataController.addChildrenData(parentId) (packages/g6/src/runtime/data.ts:385). Rename to \u0060shapeId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/element.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51265d84574b8c85fb8c9b4314f153192e6d24c8c58a4c7b40103742c567690"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060packages/g6\u0060 (29501 LoC, 379 module-visible types across 37 directories) overshoots its size bounds. 2 of 9 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 5.6/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4930f1a36fee8eeb087c39fb0011789071f35f671b5d707709e76265646cfa8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060packages/site\u0060 (20690 LoC, 142 module-visible types across 45 directories) overshoots its size bounds. 2 of 9 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 5.6/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6905cd7f805d8a7f1dbbfb77ec98a3cec5643b0ebda4c9e58edd9465ed6306af"}},{"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":"b8acba4d46808eae3cc360dd016d61940d36f191f8aaa8af6bdbbca25368f5a8"},"properties":{"commitSha":"b843ef601e17cae798439bb072561f51d2208d59"}},{"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":"1542ac657294a7960a3ca68607ef7a17d9ed3d2457fb06dcd777067445c6a3cf"},"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":"74e4d9d0be6b8e3d81f682a38fbea383bbb915e487a9f94dfff6f7f8d18c5700"},"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":"d073b4cb9a0f9aa21d667e18a1884e31620b7682629c22b1b8b01cc1c99de746"},"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":"3b20c9e3f5f07cd9ed7d38e1ad9e3677b956fa28fa72534ce39bdba4769b42e6"},"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":"7eb7d72e043f7d9cea7beb021d91fff5badc6c2b6aff9d33c45216f73283fa30"},"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":"e70370835a6098b047e3f89b14be691b6deae1472ae895a8d4c3ac163ee3faee"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e951a748dcddae99a178cc73aabc0b67e85c1842f6cfb6f8bc27ece72dbafb51"},"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":"dcdb5b733ae08d62b6e1e5e3cc74ce79862eeb519952a4eed5e7a5ed44951247"},"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":"57e015dddb58d60f96eb1c2be93be7d89f633a9870b96815d95f74d7e44b7e55"},"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":"5134edea3b4c7652a9f9d56560f231a2e54433d7ebd093ec70c83d9ba711765c"},"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":"db58a5578713dd045533c631e54e78c3ab59568dea4d9406e9ff92f3db3b2118"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c7a4933b82064f018ed4cd4402c8804314c86c22e2fdce533057dd6bfee50ee7"},"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":"d2e4e1ef26611ddc90257881e7fe35a3f55c82b6e948d1d769252189040a58c1"},"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":"ef5228a2f77896a18461f9ae2590348b54430b7ae22b8d9b3ab71cb5a2212992"},"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":"2e4b5912c076a8ca6388c55d400dc3b07ac546dde210ceda663337ffb1e31f23"},"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":"4066ce2b67fc879614d690052199bd0c0b58d6a78f73c12fcdbf0b652980112d"},"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":"bc9da1de4d52cdb312a277a86c3862c81347a8406c1b80f89c80c9094693f517"},"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":"dd75aaff0d4a6790c9a30634c52dc71cb2623087136d28742961bf49ee7cf44d"},"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":"2623bd852ee7e798acaf5ad90a92c23744c4d36f5418f097bdb1f50c7879f6ef"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0369628029f390002bc6940dcbfa40fb8b4c680a8fdae39b1d8c6a0202711904"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e55ad565943bd95a38731bedb6dd3d08dd9e4248e5c4948b48843ceb4b20f5c1"},"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":"bad624613c8b45398139a7ddc3fda0bbf9e128af431c4302e6fcd2f7242b4553"},"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":"3721573bd3edb1311939dc037e7c8e70ccf1f5f724285f7db62a8b92bf4fd5ff"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"930f73cf2d7c5ecd4e9ea0a4f7cc0598b383dfdd2643b00592aa9bbb8d53f375"},"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":"8ee8e76091ce9cfec1f374f3f741409156b034fbc328f1f2ee0296fd1c5f0454"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"698f6fc061fcad4b0ff331de8be5c09183fe7ee755effdce0e62d99b5dde12b7"},"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":"dbf79b7bca555fe46afd0d58f452d0e57b815817bf577b27a470aefec286047b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"44a2182cb78e1a825f157e710d9e1c9bac786b27fd5088cec10fa2a41247890e"},"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":"bce2016f921dfc1e5429429aa9c3ea9d16ddb285e01fe578b78be352d57a711d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ecce70c161b222121677dc4fe1e1ed7870bc103baf263b3a8f51418fa3bed309"},"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":"36f69a3911455c4a04d5e13cfe171d981cb5ea176f3e4f95e6df03b5cb934c47"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"414a06938fea35222e05572e85fb27371ce93ec4e975fd73bf2b71ea86b3e1b6"},"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":"1f1e0dcd7c48bd4aa21f17fe04fce12ffb72afe1c391b58c44b03e83c637748c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"213eaf13389e224bde51bb98e8305a16b9d9a953c78e3cdaea0d9a6dd4355efb"},"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":"21a30ce773ad9e07e0e754c4e9ed695f2e62e08cbcd26126e071d9df257e3152"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"770ff9bd7a0a7c21c25564f7d2b223d2435694f3827ff25d355f51bfed57663c"},"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":"141cc2feb1f0d94bd86c560b61d5d8b1f746923c6372683e30b6d950d3f8ba76"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3deea289f36d754087d81f186e4f327251e6939b5f953f0f3a686c614ac30b33"},"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":"77c3f14f109f69e4f822fa1640174e2b9016937f790c6a2fb9ced2f4609d1e58"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"676326c92f6c6aef6e0fa561db44b3503bff6f7e9417967729396f823be4ac20"},"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":"dfff5ffe2aaa4a67597abc8240e05203ee03a914259c06bc364b1d33c3cb387f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0368062220b7d03a1fa9e9d2bccb854d86c67fc9ecc0cc9ff48703e4ad75233a"},"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":"d75904c8723a31ba01c02a467ad73fa22eed54ca13ff19ae4442cb79f4d82afd"},"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":"08303728022f83e73efc210add81bd315c8a086c289b3d95ae5582b317b91d8b"},"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":"6b2e162dcf776fafcf653445b4cabb5475a79c95c78d5495c3c6ecda0655af5a"},"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":"4a6e001f0fa7883ee41cb3d9aeb1c74670282727bfc75f73c0d101838e7cd1d7"},"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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"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":"c76878a6a277950afacdfa4d36418357d63da2c812e2df101846084d5b2a22c6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c513deb5fd67fbde72486a558afe44d133cdefab3dbe6c49949030f7ae7f301c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08a48b1a5d18dad4d44aa67da6188190ab35e4b064f1f3e46f7005b6d4d03f28"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06faed027f0ded2ec4952b8c4eebb8b1ab83fc22ab11042f0d28a1f18efff7fe"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fef37bb0a1eb878fa3717ac539ca8f24c04519c316fc59428c056eb966453366"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e66588acad214f57b91921bf2e55ba4eae6442dc68e6953a9dc91364de367ae"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"093666b7acca4a6ab8adb3b6de814c4b294a1ed64645a3341f297d93eecc2123"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf51e3fecb08d769e542dc2f32f5e0fd1dda56746d704385cc0f8f7c96466e2"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b4a69ccc77f6f9e456e2d5ffaf586ec73eb5935cd41bf9d1a98c8ee2bd7401"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d523c43b0c07223c5db49d80b5b8eac8f3d0ca681260c66f1c63be922a86328a"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 45 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: packages/g6/src/plugins/minimap/index.ts, packages/g6/src/behaviors/drag-element.ts, packages/g6/src/runtime/layout.ts, packages/g6/src/plugins/toolbar/util.ts, packages/g6/src/plugins/hull/hull/robust-orientation.ts, packages/g6/src/runtime/canvas.ts, packages/g6/src/runtime/viewport.ts, packages/g6/src/elements/shapes/base-shape.ts (and 37 more) (48 orphaned of 107 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; 107 of the 305 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8512b530995f3d457e580ea912802c42f31cfbecc63eba7ccb3fc92305968d24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/drag-element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d876ef12ad6d36108fb1316c410a57da63da753a9f0eeb891521899b133c9b4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/layout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff7aa3a9f6c77a15ea1c86786255f18fc2f813f1da71ee008bdf96e068dda8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/toolbar/util.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f23860b1429ae9be5079adfeac0235d0a3889a22acafd23c990d58c63f26aac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab6fd20e169a82f49192f7dffcb02641c9c9dba1b342930f5e4f5b37e7d116e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/canvas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad46e032f4a2998a82e008d13d84adb380fe9d57fc15db809d5f8391eb34dfc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/viewport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbbda4fcfea50cc91d0a78e99b4d0c7df27ff70e8eb3afe7e29b2d09cb1d1ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/shapes/base-shape.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0b0c36f92b700cd51f15c6eb629743e5445b0713da26226683ad4bbbbb3a73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/timebar.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01c86a0ba6704c337c27591204adc47f5daf38cd5fcdf31459fc4127783a9d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/nodes/html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"087c24e14ca77d793752c3b2a206ed1f2d16821d453b296b7368c6dfe790ed62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/animation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc8b4f8bb6067256bf1f4158dd33a29bf93be677076d64051a0f31f9941c05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/pinch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"779dd479753696803cd924a7d2073e48674547a049d13beea1d67675fb1b2d15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/contextmenu/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28298200c718ecc9c5dcf13954b7873512a76e85cb08eda5c8064e3117369ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/title/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791c6e763dbb12a0a7c27d4f4cd2ac0862984fcfaea3edb9c501395a86a2acd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/animation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec6aa8662464dd9a016fc94135d7055b6684c2e046549c3afa606a99542e8ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/create-edge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40cfde5dda8ae337ae2dd19572431ba057483d29f220bbb5fced25d2c87a66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/zoom-canvas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9215e57bb006e9bdca5e6f61d996a7d1355f143d6559da2284d13053fc4dbfb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/watermark/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88b9c8286ebd17bb0e8f18b0fce413217de6592f8033c79ef3c605252e2ae8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3d90422aa5a58d6f04cc9fde036f1c6bcbbc33742fa19884098779cee9ddb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/shortcut.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793cddd2e39b60c796e6063cb4ef01a7ae0bc2de6850f9ea036f7c431671a963"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/layouts/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f7cabcebe63be23d76b64ce51faf8e430569bde2d1b79ef5aeb75b61d3642c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/behavior.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a873653dc7f9efee4eb926ec646b33d7383532b1af4fbddc82d0be97a4256"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/prefix.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549512fabb3cbe193b0ba4d4dd87a2ca12f20b95608e3a96590f50f6b123f94f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/camera-setting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d351fb670d3065781c798934ee7bfd6d5b9721d12bfaae2954fc51142d9d2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/nodes/donut.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0129abd355ea26d281a1c5b19b6f9bfc34b4a3d89f57f6659fcf62a2177675"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ce4f2a253f9f2a7bf38cc04ab9097733e9ee2d1f3c4b58503ccf9dd142eda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/palette.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d87e7c5ecd6952b79e554bbada105f2155cce04e67c80c23f64b560c0159596"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/toolbar/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52578281c224b9cd4d4fdb490e6cf7e600a93ed33bdb3129d54fdc4d406ca1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/transforms/collapse-expand-node.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d22ddac00ad164caa07a880f7c8b38fb72ca0621675e733700ef15ad1d055"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/registry/extension/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0342ea275939fed91535cd3b3e8ef05f2e0eab2739d066bd97308d09600baf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/nodes/image.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e1fb68a9339e0e3626611da8da7dfa02c1bf5a71764ad359552a44d3f108b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/collapse-expand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc528ef2965c136d885c1dec274ac48538c758e3fef1d1c47c718593b5bfecc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/animations/executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e37518753ef00a28bda915c674ec01e51d9d3e68643e0929bd024613205bfd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-3d/src/behaviors/observe-canvas-3d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8472a5484b81ca20386b72e7385c1af5baf08681f54d8277a9e4fe9f4a500af3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/shapes/image.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500bf81e853e6709c03958dde3002d7b9be60abfd3c71deb261cbc13d7cc0a65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae2c7867d58ed691f24eb1d50cccf054031d51429535892ab8d23d8d3c61847"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/animations/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71bb7b535f3623ef48027af0703d8273df3f3b62530d9eb83a92ba207b44cec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac1d77b055ed214d43ddc0e3fe571bde5bc4ac722e08b1a98e11090d9e7b049"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/utils/canvas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"270fe9ff3338f07f44edd3041fd1f2323d17f0a0ceca36292e66aed43bc37880"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-sum.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424467ecae7ceb699c310d76a06f5930362d177246f25763faaa8826e0f4442"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-3d/src/elements/base-node-3d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ee98f8f3a657553dfe60ec9988b113f32979d284151504ab6c521bbf1efe4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/style.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be82944ae254656ac47e0d310301c5eb8035bf8ade6f18456cdc8f416a2432b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-3d/src/plugins/light.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"154888b78fd8fae6babee124083d716178676b0fbece63850046df6e39f0333d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/watermark/util.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12deb41fdeca20eaf42534224fa481abf2a67a61715e1bd6726e955e8cf37ddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".eslintrc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eef1984f8152479a773faedc9f26e443e07350d90f40e863b8d086214d6876"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: graph.ts \u2194 bbox.ts: \u0060packages/g6/src/runtime/graph.ts\u0060 and \u0060packages/g6/src/utils/bbox.ts\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060b6fb5170\u0060 chore: remove v2 util and tests for utils (#5357); \u00603149eea2\u0060 feat: add AutoLod Plugin (at that commit the file was still \u0060packages/g6/src/util/bbox.ts\u0060); \u00606c298cae\u0060 chore: remove all the absolute path import (at that commit the file was still \u0060packages/g6/src/util/bbox.ts\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eeabfc1fb50c1507466088f400b7bd2f47810f72c3ef02ad7a3d5a6645a31b"}},{"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":"25c67546e61034a911e061f475b510845b139a400f8bde81e3f175b66aafaf0a"},"taxa":[{"id":"CICD-SEC-6","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":"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":"ef69ffb2b1fa92b1cc8c0f56486a72aa96a80e8e4c65a474a0fb4f020bb98ffd"},"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":"5484ebc100852c82624b2f9d29d22b26290a1daeb6a0823c13bb92fe667a9888"},"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":"185060717a8dd3f97e63584b1f55431700067f30525917ae339e7fc5fbc8ab41"},"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":"cfcd82fdb168b13bb41affabdcb2cb35cf5ac7f10a66641c54fea8dc5b92503c"},"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":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D37","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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"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":"packages/g6/src/plugins/watermark/util.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9979669831cb7672cc1b241db95663212f3f9246848a4b3e72405f97dd8a72a3"}},{"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":"packages/bundle/index.html"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bac9189a7c38ada77aaa52bbac8be0fa729182896b2c9c1a9f1cce6d3e23f7"}},{"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":"packages/bundle/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2f82325fc6c4bbeadc00a36499a40bc10abb702523998d48e40e8c7aedbcd1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060marker.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":"packages/site/examples/animation/persistence/demo/fly-marker.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16cebfb62e906d75db52d874f06177c01d7f6d132fa6f3ef2bcf3be57fa703"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: GraphLifeCycleEvent: \u0060GraphLifeCycleEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/event/events.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12658541a9650a553a0d846734310de23a17e2adda523d4bb6de8e96c1f9896"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: AnimateEvent: \u0060AnimateEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/event/events.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"469069abee7c06a7a0944d57c0aa972f2e3931aa9b96c50fad73896c9d14e9da"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: ElementLifeCycleEvent: \u0060ElementLifeCycleEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/event/events.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"725a5103acb0571c1d9a739de7eecb14d848476b7975dde10a2fc473eee4344e"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: ViewportEvent: \u0060ViewportEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/event/events.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd531b4ce2c0a8605ee9d9365e18f16e0b72e12cfb451a1a6db51982d7f5d25"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-react/__tests__/unit/attribute-changed-callback.spec.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d24cb6d164ed00df532a3176dd8e2d6ede1932201d447113251f553bc474e69"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060getTransforms\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/transform.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b7f581e4e44edda434a9bce3000a93162938661360a969542bda2a42a3b8f"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060boundHandlePinch\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/shortcut.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ede0ba64a5c4f2d2f676cb2c87226fc552900afc711e1ff24fa279a773f1e4"}},{"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":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/ClickSelect.en.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/ClickSelect.en.mdx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fda8ed3d4bfebeab0f1b3062d653552577ab4058707fa63ab1af78e4584cf1"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/CollapseExpand.en.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/CollapseExpand.en.mdx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe2ae70abe9a61c4ea53b458660a4d2c2813940698c1218bc8a5b88aeeaef57"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/CollapseExpand.en.mdx names Node.js 5, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/CollapseExpand.en.mdx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e92a16f479530711ebf705d541580ece286683fbf6b011f00ab8905df1763b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/CreateEdge.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/CreateEdge.zh.mdx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2076380a7fc3a0a72cee2b3d35862e95a2dd7427ec1a860f9b91f2f065eeab"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/DragCanvas.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/DragCanvas.zh.mdx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e96e1075963ec34435dcd84f4a0c8a0ff2f8d529dc5aafcf105615c1348a88"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/OptimizeViewportTransform.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/OptimizeViewportTransform.zh.mdx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932bbf2fdc6b1cb59b6b01f2668b9250c3d72a26733aaa2591382ca8d85eb52"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/ScrollCanvas.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/ScrollCanvas.zh.mdx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4533efc288f8b7ad1ee60ea12506fe3b045bb822b8dd1d784d40532a947ac"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/behavior/ZoomCanvas.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/behavior/ZoomCanvas.zh.mdx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0f3dc7296bca465fd970571eabe7509de9eb2ad20f9c2018ece01ccf4a7539"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/further-reading/bundle.en.md names Webpack 4, but the manifest declares \u0060webpack\u0060 ^5.99.8. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/further-reading/bundle.en.md"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6eed279c66d54559180a08069e51f045de8f91bee74b420ad73cf3e43b082d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 4, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"850b8fb6292663f6ec9e2f3d412e11332f6d5bfaf7f380e43118a5c38db67967"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 5, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc49e1571356503132b114616509edd3f7918db527b03299621c308c0d8e844"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 6, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99dbd66555c2d06184e664c1bce70876d10e9d7b19f48886ef6f9489bb97438"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 7, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e785a0658832951ae80dbe4f667f083d8569786a173354ae6d56c264da06f2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 8, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb147de28d659aa836092105dfacb0675c2c587a29452e30cc78156445776d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 9, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1e470b2c2050a9b41ff477cd128631352c98465e2ceea2d87edb7649fb2f75"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 10, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a29d6bf94fa74189579d50d81a53a749dc989a1185dad9957b4c27a884c579"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 11, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e01bb98bb2a7f6fd0b32db94d324432206ef50e5154f393583070ca16d7e67b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 12, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"589302949e90e53070dbf7f0033a3a59bf651e4be42d3e42a7580c432cafb739"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 13, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2ef86a4408499831e5e63a2ce49daf5abc53a62d601bd65aaacd702debc9bf"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 14, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12915c45bd3b4fa4469742863f733cdb77028c61064cd6ef9e0d71b103412d9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx names Node.js 15, but the repository declares engines \u0060^18.0.0 || \u003E=20.0.0\u0060, engines \u0060\u003E=22.12.0\u0060. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/docs/manual/layout/ForceAtlas2Layout.zh.mdx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f30368383872a530f43f10be4ea1d89c95ef7fc6e13a8196ae28f96d4727c5"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 10 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/build.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exportToFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-ssr/src/graph.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbeac7145c87a9e23acdd569b443f94c937896f5315d1f351fc9571c9096962"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060exportToFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-ssr/src/graph.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e990181d386ee165d46f079647a8e932ed99190a3cac0b43c38fe13c0dd33f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060exportToFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-ssr/src/graph.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b36c3ac9154dc5663617003f460ea365b3b032bc60461e92e474f1bbdad71"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execSync\u0060 in \u0060runApiExtractor\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/scripts/generate-api.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa41ee4e127c8ddef9ce5a1fb13ca9efaf3350ebe4637f3ca9458c1dbe8d871b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execSync\u0060 in \u0060runApiExtractor\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/scripts/generate-api.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fdc708755f8364e21ca59684d5bafaedae4c786fa93b6597cd428dc3f198ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (8 clone groups): 8 duplicated blocks under packages/g6/src/ have copies in at least two of the sibling directories behaviors, plugins, runtime, utils \u2014 4 of them are reported below, and 4 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 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 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 8 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":"packages/g6/src/behaviors/create-edge.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a500ed80124f0bea428c236991bcc2b23f182e44b27defdf4fe37ec1ed6d7d94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (8 clone groups): 8 duplicated blocks under packages/g6/src/plugins/ have copies in at least two of the sibling directories background, contextmenu, edge-bundling, edge-filter-lens, fisheye, minimap (\u002B3 more sibling(s) not listed) \u2014 4 of them are reported below, and 4 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 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 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 8 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":"packages/g6/src/plugins/edge-filter-lens/index.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"781b5820bf5fa66a36393a3a5c3efe1fefa4bed8472db241682fc393daef1900"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (6 clone groups): 6 duplicated blocks under packages/ have copies in at least two of the sibling directories cli, g6, g6-extension-3d, g6-extension-react \u2014 5 of them are reported below, and 1 is 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":"packages/cli/template-extension/vite.config.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"88618a84540f3fe5c309662f185e2813c92debb5a3d68e5461b19bab63cb9b54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (6 clone groups): 6 duplicated blocks under packages/g6/src/elements/ have copies in at least two of the sibling directories combos, edges, nodes, shapes \u2014 5 of them are reported below, and 1 is 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":"packages/g6/src/elements/nodes/base-node.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a7089e0b0c812b8014508431b46a40cbbc217ac803127b7a1c9d5ce06f3b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (117 identical lines \u00D7 2 files): packages/g6/src/plugins/hull/hull/robust-subtract.ts:3 \u00B7 packages/g6/src/plugins/hull/hull/robust-sum.ts:3 \u2014 these 2 files are line-for-line copies of one another \u2014 117 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0131c0e1bc9b3d3f1a469f688f724c6cb7f067f9d2e27534c9bf8687c9f0a3a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): packages/g6/src/elements/nodes/circle.ts:25 \u00B7 packages/g6/src/elements/nodes/ellipse.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 214 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":"packages/g6/src/elements/nodes/circle.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7323a912a9f50088b131cf2fbc3dda500979ad210d12c18417fbf9bf85daa7fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/g6/src/runtime/element.ts:816 \u00B7 packages/g6/src/runtime/element.ts:854 \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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"d465e315797239090aa9062b76f24d1c9882ce9b396917d6e00b47c0269483f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): packages/g6-extension-3d/src/elements/capsule.ts:15 \u00B7 packages/g6-extension-3d/src/elements/cylinder.ts:15 \u00B7 packages/g6-extension-3d/src/elements/torus.ts:15 \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":"packages/g6-extension-3d/src/elements/capsule.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"abffc761823b5876dbe4e33d1514ecef2c5c9dbe758a76fc3a5f7426c23ea71c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/g6/src/runtime/data.ts:565 \u00B7 packages/g6/src/runtime/data.ts:649 \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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd43aa71ef85a160fa69099646bd6db727c3597e1db3ee4c6842076593194bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/g6/src/behaviors/drag-canvas.ts:206 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:164 \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":"packages/g6/src/behaviors/drag-canvas.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a76966c6a5be7c1ebd06f18ffc3444d77aa8fe22a18d556829e23e15bd63d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/g6/src/plugins/edge-filter-lens/index.ts:153 \u00B7 packages/g6/src/plugins/fisheye/index.ts:164 \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":"packages/g6/src/plugins/edge-filter-lens/index.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b9ab23c23b60c35c9fe22dff2e7d1bed1a6b81b345fa265ed580c16d8b70ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/g6/src/plugins/fisheye/index.ts:408 \u00B7 packages/g6/src/plugins/fisheye/index.ts:436 \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":"packages/g6/src/plugins/fisheye/index.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"846c3b45f5fcc8d3fc77bc8a7bd7df6b3fc1d05da9373a8a7a11e39a7d43291c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/g6/src/elements/edges/cubic-horizontal.ts:12 \u00B7 packages/g6/src/elements/edges/cubic-vertical.ts:12 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/edges/cubic-horizontal.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d929f7bf71b154de11dedab5f9e32c8e9d38c503c860a87fc33e8e14e95e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/cli/template-extension/vite.config.js:8 \u00B7 packages/g6/vite.config.js:14 \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":"packages/cli/template-extension/vite.config.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5e3f4f4ae4b3898ea8cd73df0f730f12a0a8de1e23b34931dfca114ed97730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/g6/src/behaviors/fix-element-size.ts:308 \u00B7 packages/g6/src/behaviors/optimize-viewport-transform.ts:106 \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":"packages/g6/src/behaviors/fix-element-size.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"30627f781ff3a1b6dff6e102a2afdca356626debfa6cc3cb73c9309e92d65bae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/g6/src/plugins/snapline/index.ts:290 \u00B7 packages/g6/src/plugins/snapline/index.ts:309 \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":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a19e8a804530452252a9b4ee7596b0e702bac63aae49db29cce079bd98d240a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/g6/src/runtime/data.ts:760 \u00B7 packages/g6/src/runtime/data.ts:793 \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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc46ce8c4d8d7d56e3b3b33144e7575e0ad1c29fcd8174a2103f636e3d4fd50f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/g6/src/utils/layout.ts:64 \u00B7 packages/g6/src/utils/layout.ts:230 \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":"packages/g6/src/utils/layout.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4252da7f65321f44b58a9da1f8b9134ce05d5ef9e54c33b444825e555f06649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/cli/template-extension/rollup.config.mjs:17 \u00B7 packages/g6-extension-3d/rollup.config.mjs:15 \u00B7 packages/g6/rollup.config.mjs:15 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/template-extension/rollup.config.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"21906fe92b9a957219c6c1d33dd55b2067cc97cff815ea90218f041290eddccc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/g6/src/behaviors/scroll-canvas.ts:87 \u00B7 packages/g6/src/behaviors/zoom-canvas.ts:95 \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":"packages/g6/src/behaviors/scroll-canvas.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbec6f7fd735145179cc04e07702c523f1f8edb37b99e19822b5c4cf0deb21c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/g6/src/plugins/edge-filter-lens/index.ts:342 \u00B7 packages/g6/src/plugins/edge-filter-lens/index.ts:365 \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":"packages/g6/src/plugins/edge-filter-lens/index.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e1cd559f1b6c76496c9b352f155d9d83a081f768ac29bf9b817d9078218f1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/g6/src/plugins/bubble-sets.ts:231 \u00B7 packages/g6/src/plugins/hull/index.ts:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 151 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":"packages/g6/src/plugins/bubble-sets.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccb09a8c22799f3fbcaecaae2086c70a82e28de8d86ff7282a730cc5d32d001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/g6/src/runtime/element.ts:725 \u00B7 packages/g6/src/runtime/element.ts:774 \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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0c6f2767eb464d6d4b7140313d6956ef2c2db8f8b9f340f0d7bcbe3bbf37cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): packages/g6/src/runtime/graph.ts:303 \u00B7 packages/g6/src/runtime/graph.ts:363 \u00B7 packages/g6/src/runtime/graph.ts:445 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec12df3f139644f59cb6ee28a7e27d41997ac666c9cc1fb013839bfd6ae024"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): packages/cli/template-extension/rollup.config.mjs:19 \u00B7 packages/g6-extension-3d/rollup.config.mjs:17 \u00B7 packages/g6-extension-react/rollup.config.mjs:18 \u00B7 packages/g6/rollup.config.mjs:17 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/template-extension/rollup.config.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e0289cf205b20fdd8c61cae887e2a554d94ee17f550d77e73d27a81555dc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/g6/src/plugins/edge-bundling/index.ts:289 \u00B7 packages/g6/src/plugins/title/index.ts:139 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"packages/g6/src/plugins/edge-bundling/index.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb58e9d2e13172895ca6dd3ddcc224f674ca87b1405ff64a9e05faac5c5a440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/g6-extension-3d/src/behaviors/zoom-canvas-3d.ts:24 \u00B7 packages/g6/src/behaviors/zoom-canvas.ts:163 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 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":"packages/g6-extension-3d/src/behaviors/zoom-canvas-3d.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea739e2c9876d63a307229d5ce7a40f1827de6c6bac634e1e8449d5b542a942"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/g6/src/behaviors/auto-adapt-label.ts:272 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"packages/g6/src/behaviors/auto-adapt-label.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a419e28d1c1bfa09a2b325d38a57a3b41048c6925b9ef5539baba365e758a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/g6/src/behaviors/drag-element.ts:192 \u00B7 packages/g6/src/behaviors/drag-element.ts:462 \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":"packages/g6/src/behaviors/drag-element.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76fd6920808a866179126e0efbd62b457f7ef0aee5b2b70bdff50226df57863"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/g6/src/runtime/graph.ts:1529 \u00B7 packages/g6/src/runtime/graph.ts:1561 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eee821662f9501a7d196bc3ac1befa87e2267c69cd50ca8547e307e18d702b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/g6/src/behaviors/click-select.ts:121 \u00B7 packages/g6/src/behaviors/focus-element.ts:58 \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":"packages/g6/src/behaviors/click-select.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5934b4dc40abe3e9451e1384cb2ffe449838f9eff42f199a871f020c27cf001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:36 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:52 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dbc2b920231a7bfa6295ecd4e20791e4c5bd737d51219ee8d3a030843493b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/g6/src/runtime/element.ts:485 \u00B7 packages/g6/src/runtime/element.ts:575 \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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f0ada83321aaf483f6c2ba0f174fd47edd297fb1784d0dce7695a8311e46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/g6/src/behaviors/brush-select.ts:337 \u00B7 packages/g6/src/behaviors/click-select.ts:281 \u00B7 packages/g6/src/behaviors/create-edge.ts:207 \u2014 the 3 copies are spread across 3 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":"packages/g6/src/behaviors/brush-select.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e727078cd5af05bbe86a4b69d177c6ac6df415790bc87e16746fc98fc7ac59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/g6/src/behaviors/create-edge.ts:199 \u00B7 packages/g6/src/behaviors/drag-element.ts:227 \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":"packages/g6/src/behaviors/create-edge.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49cc26cf534909f6439b6a3dae7dd15f17f4434c9a53f4cda5c987f6740ae4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/g6/src/behaviors/drag-element.ts:370 \u00B7 packages/g6/src/behaviors/hover-activate.ts:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"packages/g6/src/behaviors/drag-element.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2089923a32eacc29b4842312e126ccbf1aabcaa31f052e696558f4ce466f54c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/g6/src/elements/nodes/base-node.ts:245 \u00B7 packages/g6/src/elements/shapes/contour.ts:84 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"packages/g6/src/elements/nodes/base-node.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2443c4ee2de04547f40f05c5bff97770299b81ed12b5642f19eb2eaed0d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:23 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:67 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a14cb1510dbb789f4dbd4f951ebd74525255e5f21d47d6739c3c1282e645e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:109 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:179 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5105151954a9303f683e52fad15151d4c1b749b9a40b5a444d11e9ccf92f87fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:147 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:265 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c96d003ccf34fe844c3e39bedb301e34d6441eec329312e81ed8612422101ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/g6/src/runtime/element.ts:374 \u00B7 packages/g6/src/utils/change.ts:72 \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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d774efe94982914ac25963e87070667304a48d1cd07c23a3b6cbe731547ed62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6-extension-3d/src/elements/cone.ts:25 \u00B7 packages/g6-extension-3d/src/elements/cylinder.ts:25 \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":"packages/g6-extension-3d/src/elements/cone.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2f9a6a8ac588521904ed36410d438ed6cef4b0c272bdd5f1c2ba7eb28fa45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6/src/behaviors/hover-activate.ts:115 \u00B7 packages/g6/src/behaviors/hover-activate.ts:203 \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":"packages/g6/src/behaviors/hover-activate.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adab3f82c364a5b5a84ae167d88d2e905a0ad15562af8588ad1f553b3045f78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6/src/elements/combos/base-combo.ts:260 \u00B7 packages/g6/src/elements/edges/base-edge.ts:460 \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":"packages/g6/src/elements/combos/base-combo.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"743bc7124496336414875b39d830a9094a403a328834e3afccc6e72505dc3823"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6/src/elements/combos/circle.ts:16 \u00B7 packages/g6/src/elements/combos/rect.ts:12 \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":"packages/g6/src/elements/combos/circle.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c05beb5de9cb675681eb8a2f63ab49f63a662ff739f15e5eaa88ae91c71cadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/g6/src/elements/shapes/badge.ts:37 \u00B7 packages/g6/src/elements/shapes/label.ts:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/shapes/badge.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc683602223870eabf60590de971a6d8a3fa644b5ffbe22dff0741fcf0a0710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:240 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:286 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6a530bb2170fac41a65f8ab8ac92cbe99a87fb0b8501ceb4ab1a76bfccce91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/g6/src/plugins/legend.ts:158 \u00B7 packages/g6/src/plugins/legend.ts:188 \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":"packages/g6/src/plugins/legend.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e67857ea90fbaa8c7ebc94924e21a4c853b38c1795497622b9ae752202d18e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/g6-extension-3d/src/behaviors/observe-canvas-3d.ts:57 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:93 \u00B7 packages/g6/src/behaviors/zoom-canvas.ts:101 \u2014 the 3 copies are spread across 3 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":"packages/g6-extension-3d/src/behaviors/observe-canvas-3d.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8405bc43f532721bf907b4d9c38b3833087551f817d61410cd5a90582868c9fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/g6/src/behaviors/click-select.ts:281 \u00B7 packages/g6/src/behaviors/fix-element-size.ts:319 \u00B7 packages/g6/src/behaviors/optimize-viewport-transform.ts:119 \u2014 the 3 copies are spread across 3 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":"packages/g6/src/behaviors/click-select.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb105dc6ecd73619c883bba758e490cce1b18df5da0ed654c2c4f20b7dc68e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/g6/src/behaviors/create-edge.ts:76 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:95 \u00B7 packages/g6/src/behaviors/zoom-canvas.ts:103 \u2014 the 3 copies are spread across 3 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":"packages/g6/src/behaviors/create-edge.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25c5423972620235025a73063cfdecd8f37c4334b8e27de1a86e7e7ffc993a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/g6/src/behaviors/focus-element.ts:55 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:87 \u00B7 packages/g6/src/behaviors/zoom-canvas.ts:95 \u2014 the 3 copies are spread across 3 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":"packages/g6/src/behaviors/focus-element.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"489980a504ca8bde759d380208fe1090ce9c8c2b7a610c2fdf3494c6c319e8d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/g6/src/elements/edges/base-edge.ts:254 \u00B7 packages/g6/src/elements/edges/polyline.ts:100 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"packages/g6/src/elements/edges/base-edge.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c21949f3153f6e37e457144021e9e9aa9c6b7de4a2b48900907e0eba674b941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/elements/edges/cubic-radial.ts:22 \u00B7 packages/g6/src/elements/edges/cubic.ts:44 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/edges/cubic-radial.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64fe87af3314ce1a21ea66b28fa35d4affafad686ee3712cfc1d714a1d87f34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/elements/edges/cubic.ts:45 \u00B7 packages/g6/src/elements/edges/quadratic.ts:45 \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":"packages/g6/src/elements/edges/cubic.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba28993c94de5f7087cf0d91bd228f6344ae0b4378aaf8e5ba88f97c33a71c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/plugins/edge-filter-lens/index.ts:200 \u00B7 packages/g6/src/plugins/minimap/index.ts:200 \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":"packages/g6/src/plugins/edge-filter-lens/index.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b2611fd9bcda4e4f0a5ca20d86f5afe4bf640ca401e303c7c5cf5fe62ac620"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/plugins/fisheye/index.ts:335 \u00B7 packages/g6/src/plugins/fisheye/index.ts:345 \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":"packages/g6/src/plugins/fisheye/index.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f325f6e6cfcfbe2f1a59c4f0fe83723121a0cd5f5a8c238c72c290f6138d630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/plugins/fisheye/index.ts:386 \u00B7 packages/g6/src/plugins/fisheye/index.ts:396 \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":"packages/g6/src/plugins/fisheye/index.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7747a870628607140d0ecbd5a252abce84183c28c35092cf8fa7f8456ab2d218"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:88 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:158 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f1e6c02546f586b65f27e2e5ddcc89e055a1a513069265985f78f5af177cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:122 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:192 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"25055deecc526ea6af17a008045920436a1dedbcc5c7a4192d5ea538c82ed65d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/g6/src/runtime/element.ts:146 \u00B7 packages/g6/src/runtime/element.ts:197 \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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17bf32ede9b33ecc4d035d7db10bf3f698c72d85bd776c3a191014727c39688"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/g6-extension-3d/src/elements/cube.ts:25 \u00B7 packages/g6-extension-3d/src/elements/plane.ts:23 \u00B7 packages/g6-extension-3d/src/elements/sphere.ts:26 \u2014 the 3 copies are spread across 3 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":"packages/g6-extension-3d/src/elements/cube.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f946af1c92fbf8032670fef6b866f7f058165bdaa7de9f049270fb99e0721449"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/g6/src/behaviors/auto-adapt-label.ts:83 \u00B7 packages/g6/src/plugins/legend.ts:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"packages/g6/src/behaviors/auto-adapt-label.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674234373bccc0660704950e363aa5a6352a803bfcbdf2043c48a806c2c04de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/elements/combos/rect.ts:24 \u00B7 packages/g6/src/elements/nodes/ellipse.ts:32 \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":"packages/g6/src/elements/combos/rect.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4620e27af9b0d26a7db9cfd631a1ef5e8cef78ba81e15406935abaef7ebdbbd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/g6/src/elements/edges/base-edge.ts:428 \u00B7 packages/g6/src/elements/nodes/base-node.ts:404 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"packages/g6/src/elements/edges/base-edge.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1818521fbf900256d552fe2737df26cfabab4ebdf5c56d95a6629c0635c43a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/elements/nodes/base-node.ts:425 \u00B7 packages/g6/src/elements/nodes/image.ts: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":"packages/g6/src/elements/nodes/base-node.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5754b2b515caf52fb5c10227a57c766adafebd4209621aa5eaf86a0a9f8b9d77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/plugins/contextmenu/index.ts:213 \u00B7 packages/g6/src/plugins/contextmenu/index.ts:225 \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":"packages/g6/src/plugins/contextmenu/index.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac15845845dc1a2f3ffe2ef92229425de4a01bb41bfda1e8ba39a36d49f3f15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:80 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:222 \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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed167611511f1ad09cbf6cd67c453cc880628f60d45f3e4cd8f95df1c4ed2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): packages/g6/src/plugins/hull/hull/robust-orientation.ts:133 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:203 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:230 \u00B7 packages/g6/src/plugins/hull/hull/robust-orientation.ts:252 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"82abcb874b47e6704432903fd0c3a1e12338cbfca90814ca187914812bb33369"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/plugins/minimap/index.ts:415 \u00B7 packages/g6/src/plugins/minimap/index.ts: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":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9accd589adf37b6793911a34c519b21e4371e5d96f13ef326595c6014faa7e86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/g6/src/runtime/graph.ts:1890 \u00B7 packages/g6/src/runtime/graph.ts:1927 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f2ad513d4eb602cb31b0b81d5928d7123c0de23c8615426c417e031568289e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/g6/src/behaviors/collapse-expand.ts:83 \u00B7 packages/g6/src/plugins/contextmenu/index.ts:210 \u00B7 packages/g6/src/plugins/contextmenu/index.ts:222 \u2014 the 3 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":"packages/g6/src/behaviors/collapse-expand.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aec070e73f3509ded3f0cb9b965556c61909312c0c7a5c22f96f30ccede09b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/g6/src/elements/nodes/circle.ts:29 \u00B7 packages/g6/src/elements/nodes/ellipse.ts:29 \u00B7 packages/g6/src/elements/shapes/polygon.ts:32 \u2014 the 3 copies are spread across 3 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":"packages/g6/src/elements/nodes/circle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6991d3a3403258108a91d586a6ef6d006393a32569607a3b1c80299bc77cf5ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/g6/src/elements/nodes/star.ts:47 \u00B7 packages/g6/src/elements/nodes/triangle.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"packages/g6/src/elements/nodes/star.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f2512123bec5ab066cf40738ef893cbab4808a101b1dbace5cc0c999b3c828"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/runtime/animation.ts:110 \u00B7 packages/g6/src/runtime/animation.ts:128 \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":"packages/g6/src/runtime/animation.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90989b4e5f3bfa4ed56759f4caa6855fb753f00079406a73696cb9bd6791a3c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/runtime/behavior.ts:33 \u00B7 packages/g6/src/runtime/behavior.ts:132 \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":"packages/g6/src/runtime/behavior.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"439d59d51a8f30fd4c778c797fd3f185c7220d7ca76b4edbe56138e21f20ae12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/runtime/graph.ts:1441 \u00B7 packages/g6/src/runtime/graph.ts:1478 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7596631652089af4f54b97d13505f516db89c7f55662f0833a38c1350cace5a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/runtime/graph.ts:1681 \u00B7 packages/g6/src/runtime/graph.ts:1697 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a7cb5cf3178739bd1ed0af8de904cf5bdcac3a53bdd25edbf11679257ab3c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/transforms/process-parallel-edges.ts:235 \u00B7 packages/g6/src/transforms/process-parallel-edges.ts: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":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7146098cd732995fc5b5ad7b4c485ea85f9868e9af9dff33a0656f0fc71b1ead"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/g6/src/utils/scale.ts:16 \u00B7 packages/g6/src/utils/scale.ts: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":"packages/g6/src/utils/scale.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9dbafcf97a8aebfe0cbb4d73497b316ab0b467a6fba847c43d7272a6fe51fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/g6/src/behaviors/drag-canvas.ts:96 \u00B7 packages/g6/src/behaviors/drag-element.ts:167 \u00B7 packages/g6/src/behaviors/focus-element.ts:56 \u00B7 packages/g6/src/behaviors/scroll-canvas.ts:88 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/drag-canvas.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94c2f434a3ff6459d75961138a8dd8bfaa95c7a0d2793a6cd1f8d880b3b59be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/layouts/snake.ts:100 \u00B7 packages/g6/src/layouts/snake.ts:198 \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":"packages/g6/src/layouts/snake.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e2b96b0c9c2bc1d3b24622fa4193ea51e4f225ee1050517cb08c9a22fefb56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/plugins/minimap/index.ts:448 \u00B7 packages/g6/src/plugins/minimap/index.ts:454 \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":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadb13c07ce9607b26ac211302fc4c341d039150cb885a134461f1ca73d2231b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/plugins/snapline/index.ts:200 \u00B7 packages/g6/src/plugins/snapline/index.ts:207 \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":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a1b6f08081d3fe84e5422f119686eac559a56614b5154542498ea31901529c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/runtime/canvas.ts:247 \u00B7 packages/g6/src/runtime/canvas.ts:255 \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":"packages/g6/src/runtime/canvas.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db5e111f101d6ad440c26aedb896d210443f764e9d34b375dd61a78f77ae8d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/runtime/graph.ts:1660 \u00B7 packages/g6/src/runtime/graph.ts:1738 \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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e09c2c10df545e77efb5e93196792be10cfbfe0ffc4a4394b59613e98361f0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/g6/src/transforms/process-parallel-edges.ts:138 \u00B7 packages/g6/src/transforms/update-related-edge.ts:21 \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":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4f28712d8c18b8a55041f2643b94d0b874bb339c1a440a937160ff4cd3d79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/g6-extension-3d/src/elements/cone.ts:37 \u00B7 packages/g6-extension-3d/src/elements/cube.ts:29 \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":"packages/g6-extension-3d/src/elements/cone.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8ff05139c3b65bd042f0e657925af6007f98c030edbc437d6cfe4959167c46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): packages/g6/src/behaviors/auto-adapt-label.ts:258 \u00B7 packages/g6/src/behaviors/auto-adapt-label.ts:267 \u00B7 packages/g6/src/behaviors/brush-select.ts:356 \u00B7 packages/g6/src/behaviors/brush-select.ts:365 \u00B7 \u002B4 more site(s) not listed \u2014 the 5 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/auto-adapt-label.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0d1a78de85e3ef138d3009f419d6de65422d7bf8ff41258456fff1c3953415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/g6/src/elements/nodes/html.ts:169 \u00B7 packages/g6/src/elements/nodes/html.ts:185 \u00B7 packages/g6/src/elements/nodes/html.ts:190 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/nodes/html.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d5f33e058eeda71b4d4c45d388ff35f9666fc74a9941b0cb4a6c2ec5015f79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/g6/src/plugins/contextmenu/index.ts:246 \u00B7 packages/g6/src/plugins/toolbar/index.ts:124 \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":"packages/g6/src/plugins/contextmenu/index.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad8a0c49364fa257a69fa634a80d1e71192b4bef5f061ec93a0474d42d4e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/g6/src/utils/edge.ts:435 \u00B7 packages/g6/src/utils/edge.ts:470 \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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8ea074a9da7e87d4c7b505b037023cc015817d2a5ad72a503eb4fafd6c4dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/g6/src/utils/vector.ts:82 \u00B7 packages/g6/src/utils/vector.ts:134 \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":"packages/g6/src/utils/vector.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"55791e9f7b1cbe486fa77d9b43b2e99d8913836e40c29f2521cedb4a3de6457d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: packages/g6/src/plugins/legend.ts:2 imports @antv/component/lib/ui/legend/types, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/legend.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b94829076c6e75107640a9583566ecb207bf5b44ef89096141ed8b1d139e11"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: packages/g6/src/plugins/minimap/index.ts:5 imports packages/g6/src/spec/index.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb5064bc00ebd560fdd457367fcb5f4f56bdfb13a64e8b7de283dc7b58835ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferStyle (cyclomatic 27, cognitive 36): inferStyle has cyclomatic complexity 27 and cognitive complexity 36; 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":"packages/g6/src/runtime/animation.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbfd021f0ae225a868470c557685d9fb6d018edc5ce8f7a53069a9524457b9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function robustSubtract (cyclomatic 26, cognitive 42): robustSubtract has cyclomatic complexity 26 and cognitive complexity 42; 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":"packages/g6/src/plugins/hull/hull/robust-subtract.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2609897cf2986282a3e2bf312716ea97145228b4bee3c5582b26d5662522f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linearExpansionSum (cyclomatic 26, cognitive 42): linearExpansionSum has cyclomatic complexity 26 and cognitive complexity 42; 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":"packages/g6/src/plugins/hull/hull/robust-sum.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5461668068ecdbc42551f15901861ec0dfa904b7fd493b3900ef66b14692ae2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function caseMindmap (cyclomatic 25, cognitive 23): caseMindmap has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/demos/case-mindmap.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded55882f4909df31271a319152ac2d8fa92840837ba543eaa1ea424f0bb26c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceTranslateInTransform (cyclomatic 21, cognitive 32): replaceTranslateInTransform has cyclomatic complexity 21 and cognitive complexity 32; 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":"packages/g6/src/utils/transform.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8a825003446b7ac7669449b823bdd5cdb544d8a2f782ba3f15171f600f2c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelPositionStyle (cyclomatic 18, cognitive 22): getLabelPositionStyle has cyclomatic complexity 18 and cognitive complexity 22; 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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2500049290101bbb800cc68d52f85ea59cf3862b4f989e8dec7c0db566616a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aStarSearch (cyclomatic 17, cognitive 33): aStarSearch has cyclomatic complexity 17 and cognitive complexity 33; 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":"packages/g6/src/utils/router/shortest-path.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"be226f7972ff99a48c0c5f5ba057837171c18fd2a58c8c7ed2b2348d2fc5f333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPolygonTextStyleByPlacement (cyclomatic 17, cognitive 31): getPolygonTextStyleByPlacement has cyclomatic complexity 17 and cognitive complexity 31; 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":"packages/g6/src/utils/polygon.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430e0279fcd916c2722b8230a873fa0a6ad80382327152d6c3280a2f0ebc8c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3162924b81f48c361001ca0dfb71e4e83e1d70ce765cfa830a441f02209c16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function orth (cyclomatic 16, cognitive 30): orth has cyclomatic complexity 16 and cognitive complexity 30; 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":"packages/g6/src/utils/router/orth.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dcba03b5ac1373a24623f9d7ca9db32ad9897774ad6a1c1e7e09dde33f7eed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupByEndpoints (cyclomatic 16, cognitive 28): groupByEndpoints has cyclomatic complexity 16 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"291cfbff7a27dbae4d3c8fb5a5eddad689310d1e16f6898639bcf4111fe94a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 16, cognitive 16): init has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/index.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a411cb681fca72db24dc3b8cd0f1cb1f04e332b4e3ab96ffa98de37e6d9f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forwardCanvasEvents (cyclomatic 15, cognitive 19): forwardCanvasEvents has cyclomatic complexity 15 and cognitive complexity 19; 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":"packages/g6/src/runtime/behavior.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8c06e486efdacc7f5c538b7c75ce63c54bee3d08a5639700411237f2719e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMaskDrag (cyclomatic 15, cognitive 16): onMaskDrag has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b627b2ed68682c9b16a786e89c3cf746f78ddf527234cba47789f95c844b1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/change.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fb2685103ea3d05ba055a1bc4121e6612600ea352d9bc9799da9bc33989b65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function caseIndentedTree (cyclomatic 15, cognitive 14): caseIndentedTree has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/__tests__/demos/case-indented-tree.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb0e12954ee952457031d76bb36277c0f2eb2cb76f2746284f8f4d725393547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; 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":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda16426e71b127b4a27fcfab4413f96baa7c8e00e0c59fd7945421510a3b22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getArcLoopPath (cyclomatic 14, cognitive 17): getArcLoopPath has cyclomatic complexity 14 and cognitive complexity 17; 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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc859dc0b3806dfb94e54ca835bf728920fb96b1916dd6c10f27516d45fc23b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function monotoneConvexHull2D (cyclomatic 14, cognitive 16): monotoneConvexHull2D has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/monotone-convex-hull-2d.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1db0d51aaa6d137c2a157b989cf307d9970de2023508eb1cdcea2f85b88b171"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoSnapToLine (cyclomatic 13, cognitive 20): autoSnapToLine has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6255e102b6977ed5a8a7fe4677e1ac326d6a35f3787260ea8e771d1bfd44b562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitView (cyclomatic 13, cognitive 11): fitView has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/viewport.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ec287cc37b22c842aea6ead3b39d311929947cf5e9919aaf25991a4151f01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentsIntersect (cyclomatic 13, cognitive 10): segmentsIntersect has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/robust-segment-intersect.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"03451d8d6e06af2a26e2c079e98133095fc96f153b51fecb8fd6693ea9e0a960"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _concave (cyclomatic 12, cognitive 16): _concave has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/index.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1220794d01492d3943c12dcd20ba6eca6344ce7927cd64cf605b0609ca059711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setOptions (cyclomatic 12, cognitive 12): _setOptions has cyclomatic complexity 12 and cognitive complexity 12; 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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc574723a7410b5995e7b2809b94985495a8bc6d0d4d14163f48866d5b1db7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 11): execute has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/layouts/snake.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b9116727653ec1adb13f339660e72e2f585b3355aefc520f02e9a1e7fc3f83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enableSnap (cyclomatic 11, cognitive 11): enableSnap has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"packages/g6/src/plugins/snapline/index.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"504e207c514b533541431fa9073ffee6c061a651cfc84473ce1f010c84985816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEndpoints (cyclomatic 11, cognitive 10): getEndpoints has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/edges/base-edge.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f09f04c11127d862b7311b67af4533d21e2ee868e4cefcc9cc2a82a5774c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPolylineLoopControlPoints (cyclomatic 11, cognitive 10): getPolylineLoopControlPoints has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/edge.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a1361812be3b87673ff35ba48b945fe9b54062d1cf686587dabe2a526551c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/runtime/graph.ts: 1928 lines of code: packages/g6/src/runtime/graph.ts has 1928 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":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eb3e7fafc7e0dee812c656215a946f1278e0b888aef41ae19cbade107a2763"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/runtime/element.ts: 811 lines of code: packages/g6/src/runtime/element.ts has 811 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":"packages/g6/src/runtime/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"932a3c46e4e15acfaec7cca2974f799c537d19440653a788269d1b8e86f8a30f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/runtime/data.ts: 795 lines of code: packages/g6/src/runtime/data.ts has 795 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":"packages/g6/src/runtime/data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24244a5bc612a8c5f43deaef567b3e05a0e9f8414132a39cee557022969f47b2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/utils/edge.ts: 680 lines of code: packages/g6/src/utils/edge.ts has 680 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":"packages/g6/src/utils/edge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b0571c4462bd71b718668e720bbc3f502e538301359de17defa7508e088575"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/utils/element.ts: 501 lines of code: packages/g6/src/utils/element.ts has 501 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":"packages/g6/src/utils/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06d625a8a4d325a4e261869026d1d10b453cca92d09c396d6400ae04ef27c5e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/plugins/minimap/index.ts: 449 lines of code: packages/g6/src/plugins/minimap/index.ts has 449 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/minimap/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d42516f09ec0496d529f368964f3355ebf7ed2d1cd2cbb1b9359e23c5a096c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/behaviors/drag-element.ts: 447 lines of code: packages/g6/src/behaviors/drag-element.ts has 447 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":"packages/g6/src/behaviors/drag-element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee309a1d7175413ea602f41f6a88c2badcf7757e329907585d0e9533e6f88991"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/plugins/hull/hull/robust-orientation.ts: 429 lines of code: packages/g6/src/plugins/hull/hull/robust-orientation.ts has 429 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":"packages/g6/src/plugins/hull/hull/robust-orientation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b8707f71fc34c0dbc8e0436ac279d2caba3e70c600ca3191f068a38d1f1d3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/elements/edges/base-edge.ts: 418 lines of code: packages/g6/src/elements/edges/base-edge.ts has 418 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":"packages/g6/src/elements/edges/base-edge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"526fcf1441d21a4597c2ad61b0cc9fd9bf4b598c4f62ffb24e44074f423ae3f3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/elements/nodes/base-node.ts: 415 lines of code: packages/g6/src/elements/nodes/base-node.ts has 415 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":"packages/g6/src/elements/nodes/base-node.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e438f34c89f26f421653d0f445efa27482f2d5c3d09380942e0fabc8e0fa28"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/g6/src/utils/router/shortest-path.ts: 402 lines of code: packages/g6/src/utils/router/shortest-path.ts has 402 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":"packages/g6/src/utils/router/shortest-path.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d9a36459eddb99e44d9f5e6977e5b77be929fb997658821be2d477f9ab9630"}},{"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":"packages/cli/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f301efcf63782a18a370737eb1d02bb4f262d7011711a8bb22acc47d457ec03"}},{"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":"packages/g6-ssr/bin/g6-ssr.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a63400eeeb2f4e7530aaa9c4910ce897ad819d0fa314857ce9cc841a847ec91"}},{"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":"packages/bundle/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe229c0ecbb0389da8908c19cc4552c0eec595c38469294082f738e3e372185"}},{"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":"packages/g6/scripts/tag.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5554cb828e72d7270a92508565b1b3e722415be132b66c0fb6f0ac6b988805cd"}},{"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":"packages/g6/scripts/version.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9331bf5e0cb13ad7db78e4df495eb2865118b44bff4b5740863ffe7a1ccc7c24"}},{"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":"packages/cli/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d849c8b08aa0514e83b76b4246a9aa2d7bee39c1942a4c943297ab1db88cdae9"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060packages/site\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060format\u0060 script (\u0060prettier --write \u0022**/*.{js,jsx,ts,tsx,json,md}\u0022\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e8318269620419bef2044de26d70abb815fa71947cfc3bcbd227f71eb4bc89"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060packages/site\u0060 declares the lint script \u0060lint\u0060 (\u0060eslint ./src  --quiet \u0026\u0026 prettier ./src  --check\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060packages/site\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/site/package.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"290d5ca53763e4fc36401a886cc9bec77a4d6559f957a802d7ff7742df00462f"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060packages/cli/template-extension\u0060 declares the lint script \u0060lint\u0060 (\u0060eslint ./src __tests__ --quiet \u0026\u0026 prettier ./src __tests__ --check\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060packages/cli/template-extension\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/template-extension/package.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5296b6d3a1ac28515cc4b8bc8cb145b1dae63969a27482eb34b9c433edf0f71"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6 LoC): no import path from any entry point (26 application, 33 tooling, 470 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":"packages/g6/src/types/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad24e9950b4312aa62ae572d5b9959ee30e02c1d22a79e03f8eb91e89bb7b3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (26 application, 33 tooling, 470 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":"packages/g6/src/types/utility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb4d75223f5f42645005e7812fab1a07334049bd88d98e5a3e2896c10d0c73a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ComboCollapseExpand\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/animations/index.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6048d9391e10f2142cc7fd01820fa03bc16eac0e31586215c220c0d8d8a767a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ChangeEvent\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/g6/src/constants/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/g6/src/constants/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/constants/change.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dcac35f605e19f35a36fe82b18a464b7b0cce84fe71474402147ad639422cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PointConverter\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/hull/hull/format.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"190a3e0cfe69a7ce56bb7275f8c230afeb80164db1743e0c63985368bd2d049e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AnimationTask\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/g6/src/types/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/g6/src/types/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/animation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ddb70deaa14dd72673d72d0f3f5de453fa4b3e35796e32db2b69b4ddcfd5e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ElementOptions\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/g6/src/types/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/g6/src/types/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/element.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b63f70d90c1c33c8f1b628f6e43cc4da8accd934e89198de1d5b4ad40966491"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GraphLibGroupedChanges\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/g6/src/types/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/g6/src/types/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/graphlib.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1609b6657826b995d66fa6bf5518b073e58b8ff6fea5c06eb6d666bb3bab81"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RouterOptions\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/g6/src/types/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/g6/src/types/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/types/router.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a991191cda9a1431cac6d004f8f5c3d96494610869dbca98780b78ef2ff99a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPositionByRectPoints\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/position.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"844d827a30651110d573d16ec1d0ca918dabd37fbc9ee085a10969b150a95e30"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ShortcutOptions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/utils/shortcut.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c6c3c1d1aa1fde80f0d7ce2d05cccedaaa7837a6ae636ba2b38748f3c846b6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027setElementCollapsibility\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/graph.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18fe3a4330b2b0d4a0ae248b5d9ce762385f574ce5548b198901b05fc773d32"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027lodash\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/demo-to-test/core/parser.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3e03bd2ee3f03f1c27a8362be8ff32ba984fa34db5a21a3d409e5c4ccb4e6e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027xml-formatter\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/template-extension/__tests__/utils/to-match-svg-snapshot.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c589b0ab43bff0e0b456e2d2c4389eb68bf4fe2bf5a11311a4dea2bc664f1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@changesets/cli\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6c161bda5134640bdb6709b6d263a6e7ccca4f1b08ebbbabf6b55489194d5d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/core\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d7aebeb5cf9553f41709cae7087f3839eec24b06c90bf891ddbae9e3e3ae09"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027d3-hierarchy\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d7bf8f2e74a5bced01ad71669e74f7835d36f4db9ae679de8a8c66e4ea4745"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tslib\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"247030b2f0af4b758c04aef11851cfc256a95378bd92cc46651b5308a81409ff"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/core\u0027: Declared in packages/bundle/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/bundle/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82ec86fed283a21625c3f6eb0027f3604e8951f72301839914dc62e28580a4"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@antv/g-device-api\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-3d/src/utils/geometry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef31b1e1035bbf17bcd937adeafefef4eacae27cdbafe4e7588c5553b276220d"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@antv/g-plugin-device-renderer\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-3d/src/elements/base-node-3d.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bdd04f8e4b575534e10338da1b13dc25fa340fb5e4ad1f1d0e6d1c5b7a4245"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@antv/g\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-extension-react/src/react-node/node.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c54bd8653522c703c28440faaadf8b72a11090e5c9ddbd57431f15fc7d27203"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@antv/g\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6-ssr/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f05ece5dd760e3a8b8c4b9730e5ea31a45c7b044cc05027ed57f4603f4cd493"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (10 files): packages/g6/src/elements/base-element.ts \u2192 packages/g6/src/elements/shapes/index.ts \u2192 packages/g6/src/elements/shapes/badge.ts \u2192 packages/g6/src/elements/shapes/base-shape.ts \u2192 packages/g6/src/utils/element.ts \u2192 packages/g6/src/elements/index.ts \u2192 packages/g6/src/elements/combos/index.ts \u2192 packages/g6/src/elements/combos/base-combo.ts \u2192 packages/g6/src/elements/nodes/index.ts \u2192 packages/g6/src/elements/nodes/base-node.ts \u2192 packages/g6/src/elements/base-element.ts (one verified cycle inside a mutually-dependent group of 36 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/base-element.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ede46fae03bd5fde1b372b0d66f1fe9132a9b1b26f8382476a71841e76c3a4"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): packages/g6/src/exports.ts \u2192 packages/g6/src/runtime/graph.ts \u2192 packages/g6/src/runtime/transform.ts \u2192 packages/g6/src/transforms/index.ts \u2192 packages/g6/src/transforms/get-edge-actual-ends.ts \u2192 packages/g6/src/exports.ts (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/exports.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba68e674e317ae91910bc146d3d6dd525a497fc53fa3b99dbeb47f0845d72da7"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!edges.has(idOf(edge)) \u0026\u0026 edges.set(idOf(edge), edge)\u0060 appears character-identically in 2 files \u2014 packages/g6/src/transforms/process-parallel-edges.ts, packages/g6/src/transforms/update-related-edge.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/transforms/process-parallel-edges.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"28905f237f79d4b656d5cc08897ae282e692fba3bd48a9610e9592550284c295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(nextViewportCenter[0] \u003C minX \u0026\u0026 dx \u003E 0) || (nextViewportCenter[0] \u003E maxX \u0026\u0026 dx \u003C 0)\u0060 appears character-identically in 2 files \u2014 packages/g6/src/behaviors/drag-canvas.ts, packages/g6/src/behaviors/scroll-canvas.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/drag-canvas.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f57924e0538f844a96051194a6432d776d86c6e62269d8400baa321140e2ab0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(nextViewportCenter[1] \u003C minY \u0026\u0026 dy \u003E 0) || (nextViewportCenter[1] \u003E maxY \u0026\u0026 dy \u003C 0)\u0060 appears character-identically in 2 files \u2014 packages/g6/src/behaviors/drag-canvas.ts, packages/g6/src/behaviors/scroll-canvas.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/behaviors/drag-canvas.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c5408e91e2ae549079487050b877d672b63a793d9cb66891a831d803462835"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attr \u0026\u0026 (\u0027x\u0027 in attr || \u0027y\u0027 in attr || \u0027z\u0027 in attr)\u0060 appears character-identically in 2 files \u2014 packages/g6/src/elements/nodes/base-node.ts, packages/g6/src/elements/nodes/image.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/nodes/base-node.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0877ebbbfffbc34b1171d3a7c57efc28c87d478cd1308eb2082bf4795f9ee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributes.label === false || !attributes.labelText\u0060 appears character-identically in 2 files \u2014 packages/g6/src/elements/edges/base-edge.ts, packages/g6/src/elements/nodes/base-node.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/elements/edges/base-edge.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b27212f59445d634276d74a29580140e112c9d57bbc44416751857a7681539"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.options.trigger === \u0027drag\u0027 \u0026\u0026 this.isLensOn\u0060 appears character-identically in 2 files \u2014 packages/g6/src/plugins/edge-filter-lens/index.ts, packages/g6/src/plugins/fisheye/index.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/edge-filter-lens/index.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0ab896a28d99336ba38008b5ede2edccadcc0f0b5b6559f925965958c8a1db"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060alignFields\u0060 is exported and takes \u0060refObject: Record\u003Cstring, any\u003E\u0060 from its caller, and it calls itself at line 20 (\u0060alignFields\u0060) with a piece of \u0060refObject\u0060 \u2014 and nowhere in \u0060alignFields\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060alignFields\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/plugins/history/util.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf5078505f2d1ba2b4e2832350d847914447a422c718516e286e380b7504a56"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060innerHTML\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":"packages/g6/src/plugins/utils/dom.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c479babea7488bf87dff735eb29fa85ef61fb6b02e2b4fd19982050f67df72"}},{"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":"packages/g6-extension-react/src/react-node/render18.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"66546400a1ffbc6824fcb42ae4c743ebfb377b88c334819906ea31a1f5decc30"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 14/17 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~5.1 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 201 assertion(s) across the 39464 source line(s) of the 315 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/g6/src/runtime/graph.ts (40), packages/g6/src/runtime/element.ts (12), packages/g6/src/layouts/fishbone.ts (7). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getElementState\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/g6/src/runtime/element.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dbc28e936e275c2f7b7f054b9da235a748b429f54b4257f5654e3d20731818"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":70,"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."]}]}