{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"constructor (cyclomatic 94): constructor has cyclomatic complexity 94 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 20 belong to 8 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":"src/platform/graphics/render-target.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e2a43c2e71569a810cc3d43e1a6bfd6e1922267eb0cc3c3b472a8f72eaac38"}},{"ruleId":"D1","level":"warning","message":{"text":"TextElement._updateMeshes (cyclomatic 90): TextElement._updateMeshes has cyclomatic complexity 90 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c132f505ea9b30ac6d59ea69609cdc33cd6fcd96800502937ea0d15b8e8e5d68"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementComponentSystem.initializeComponentData (cyclomatic 85): ElementComponentSystem.initializeComponentData has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf943015f70faf809590d26198272d798fc9ed5a21bbc38d9917725c11e2ce9"}},{"ruleId":"D1","level":"warning","message":{"text":"WebglTexture.upload (cyclomatic 80): WebglTexture.upload has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"5971d3a96b6bc7ec64e85365bebe3d64b9db98b2ca1fc1770325e9b8f3617c58"}},{"ruleId":"D1","level":"warning","message":{"text":"layout-calculator.createCalculator (cyclomatic 72): layout-calculator.createCalculator has cyclomatic complexity 72 (threshold 15). Most of this is not in the body itself: 1 of the 72 points is its own statement and the rest belongs to 19 function items inside it that branch (reverseLinesIfRequired, calculateSizesOnAxisB, splitLines, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b1c2375ee11d30060cbc666b75bb68143aa46ac4e8c3b93fc2be41fd0491b"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSortWorker (cyclomatic 61): UnifiedSortWorker has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 16 function items inside it that branch (computeEffectiveDistanceRangeLinear, sort, computeEffectiveDistanceRangeRadial, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22e66d60013f23e031da4665bfd22df0f6bd38a522f68eea8dd74bbf65fc867"}},{"ruleId":"D1","level":"warning","message":{"text":"GltfExporter.writeStandardMaterial (cyclomatic 60): GltfExporter.writeStandardMaterial has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db62b3fbfcc3889d834817d5fb7c28d75386d6ccdc8e88042e60fd892511d90"}},{"ruleId":"D1","level":"warning","message":{"text":"TextElement._updateText (cyclomatic 58): TextElement._updateText has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1578915fd0866a825c829947be5e374549749c28a734182e6559c23ef6b0c4aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadowRenderer.cullShadowCastersOmni (cyclomatic 58): ShadowRenderer.cullShadowCastersOmni has cyclomatic complexity 58 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db18ffce50e2c1aadc4f2ada7a3a99909f1a2931e5fbc1611ca031f9fb607a3"}},{"ruleId":"D1","level":"warning","message":{"text":"_validateCopy (cyclomatic 57): _validateCopy has cyclomatic complexity 57 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5084f6d7b74d6e6ca9607058692ca2421b6fc884c5106453da87cb3e4af1eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"script-attributes.rawToValue (cyclomatic 56): script-attributes.rawToValue has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afbe30d488248b6829b5c37541920dd826ba873b6edfaafd8c39acd36ce9280"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 49): constructor has cyclomatic complexity 49 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 30 belong to 30 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba605e32e78241a422eecc27b4e75c337bf388ba321a10c96270253c94500333"}},{"ruleId":"D1","level":"warning","message":{"text":"Preprocessor._preprocess (cyclomatic 45): Preprocessor._preprocess has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6003bf7b3e231d0328bd07760f90024e941b9cea04ef3af5334c8de2c6173"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleCPUUpdater.update (cyclomatic 45): ParticleCPUUpdater.update has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aa954e03321a52828526c4b245a194afe4c0d912bfb92bf80e1bec6bbe10c5"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 44): draw has cyclomatic complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to 2 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"04509c1c463b0f90ce10669eaea36cb15c40f81d69a33c77cbd9301967865829"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 44): constructor has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fac5dd9f6fa742c0d855de00af75ba2854f716975c37347b9d06dc866fc0230"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardMaterialValidator.validate (cyclomatic 43): StandardMaterialValidator.validate has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-validator.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd70d378d693683a08acc83d74f34e4c9eb6ba03cbefa5c90e2cd3202335cfc"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderGeneratorStandard.createShaderDefinition (cyclomatic 42): ShaderGeneratorStandard.createShaderDefinition has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"850683ca24d4d3ff0c5df52cf7e94c79cc8f49cab9a861d086efe0b4e88f925c"}},{"ruleId":"D1","level":"warning","message":{"text":"RigidBodyComponentSystem.onContactPair (cyclomatic 40): RigidBodyComponentSystem.onContactPair has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"04446f8548f56c4abd7e434778cfac84897e231c315a3a6bc5c2f85ea52168cc"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniStats.rebuildGeometry (cyclomatic 40): MiniStats.rebuildGeometry has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"3053e5c8b2b1526f85983c05d9c49a8d92214648345177e7ee86694e50b8d6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatOctreeInstance._applyTreeCut (cyclomatic 39): GSplatOctreeInstance._applyTreeCut has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"839d420029050fdf709cff63c1a79abc57419ad45eb8a4e7a981eadac0cb372d"}},{"ruleId":"D1","level":"warning","message":{"text":"sprite-sheet.parseSpriteSheet (cyclomatic 39): sprite-sheet.parseSpriteSheet has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sprite-sheet.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a65fb556a42daed13fe4270b693f43e06cba8a79b975775b113cecfeabe64"}},{"ruleId":"D1","level":"warning","message":{"text":"ForwardRenderer.buildFrameGraph (cyclomatic 37): ForwardRenderer.buildFrameGraph has cyclomatic complexity 37 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad1af435c67e24b4663ae774a05224abaf0ff2277d922ed46acfb93021557df"}},{"ruleId":"D1","level":"warning","message":{"text":"VoxelOccupancy.raycast (cyclomatic 37): VoxelOccupancy.raycast has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"926bb6e53d168d0aab10c04dceca0b650df1de98b47025e678c132833cc85bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"start (cyclomatic 37): start has cyclomatic complexity 37 (threshold 15). Of this number, 35 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a406a7e866cdbc0e078e98cd864cfd392951a2487341d0706e1178806b673"}},{"ruleId":"D1","level":"warning","message":{"text":"log (cyclomatic 36): log has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5225b7369d4247a5913a4310d47cf432c74b623690c479894b9f1fc37cbb48"}},{"ruleId":"D1","level":"warning","message":{"text":"gsplat-sort-worker.SortWorker::update (cyclomatic 34): gsplat-sort-worker.SortWorker::update has cyclomatic complexity 34 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c2c9fe334ce0fb7d19cc46f688f8379f6dcf31c17006eb9bfc2d9a4aec1c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchManager.create (cyclomatic 34): BatchManager.create has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a7926669b6ff5628fedafec6a95726cae628ec1d49a0e8ec9194de9c4db673"}},{"ruleId":"D1","level":"warning","message":{"text":"TextureRenderer.draw (cyclomatic 34): TextureRenderer.draw has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd878f6a8b8a672012e7ed5a61fffa3665191de9e7b7d84a34776f557968e92"}},{"ruleId":"D1","level":"warning","message":{"text":"Texture.setSource (cyclomatic 33): Texture.setSource has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0e0405368a54d2a3ae1d05bb89a329036732d2eb5568082d7529d7afe8227e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConeBaseGeometry.constructor (cyclomatic 33): ConeBaseGeometry.constructor has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b59f778a4e2a30afa61aa8e5e8c8f13f00cabd50dbf85fc86458fc2c16fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"Lightmapper.bakeInternal (cyclomatic 33): Lightmapper.bakeInternal has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0f96f3365351ba5b328b2826dacfb1e85a9081eb0fbbcce7c3ca008c7e805e"}},{"ruleId":"D1","level":"warning","message":{"text":"glb-parser.createAnimation (cyclomatic 33): glb-parser.createAnimation has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d19410f555af807c8d4cf804e0a127e694e2af610a4d60458e7804fd2f44df"}},{"ruleId":"D1","level":"warning","message":{"text":"_rebuildElements (cyclomatic 32): _rebuildElements has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2769aaeada45f3d2a823ccfa676704293fa455acbf88f366962ced6a8f3e32"}},{"ruleId":"D1","level":"warning","message":{"text":"Mesh._initBoneAabbs (cyclomatic 31): Mesh._initBoneAabbs has cyclomatic complexity 31 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 4 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":"src/scene/mesh.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efaf2eac03230be1355f04178b84064c06a1255b17cc105776cd264c9f7516d"}},{"ruleId":"D1","level":"warning","message":{"text":"CubemapHandler.update (cyclomatic 31): CubemapHandler.update has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e61fa80510a1224861b998fa7f3bfd42cb637d2a55cff68aba9c8fff828a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptComponent.create (cyclomatic 31): ScriptComponent.create has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f567eb418a423626655a600223679ceafe252478932c9e37df2f240f983b2"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationComponent.onAssetChanged (cyclomatic 31): AnimationComponent.onAssetChanged has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed742f6bf17ae303135b11c6bbc922cb9beac79977163de7b1274cbb6c9631"}},{"ruleId":"D1","level":"warning","message":{"text":"renderForwardInternal (cyclomatic 31): renderForwardInternal has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"03947a1bf775f01e5bccec27a25d5c0d8685fab72f09ec487b4b3c6d874369cb"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatSogIterator.constructor (cyclomatic 30): GSplatSogIterator.constructor has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 86). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b32b47f939eef7c92bd32146b2593446bcb9839370f6c6e1ad05bd3d0765a9"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchManager.prepare (cyclomatic 30): BatchManager.prepare has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ea5f2319bc1abcd10b35d989090d18edf8bef537a64872df6f8633b88c171"}},{"ruleId":"D1","level":"warning","message":{"text":"WebgpuTexture.uploadData (cyclomatic 30): WebgpuTexture.uploadData has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1181054662461d09741f2b1e8b09c01eb7be264a7115d272e68b85e19ddbde79"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatWorld._updateWorldState (cyclomatic 29): GSplatWorld._updateWorldState has cyclomatic complexity 29 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 5 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":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c9e09565817883c5f0b8e4ba352fc02b67cfc8d6c19d6a9713a83977a94823"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleEmitter.rebuild (cyclomatic 29): ParticleEmitter.rebuild has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5869fd60f33c0e3bb20449a254b5f6a8f3a04c7af91b3e84ded5ad5ab8eee2f2"}},{"ruleId":"D1","level":"warning","message":{"text":"DdsParser.open (cyclomatic 29): DdsParser.open has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbcce9d3ab755e891729225ca8c46e6c40e56f41011f7a51cc3aa07f5ef43b"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetRegistry.load (cyclomatic 29): AssetRegistry.load has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (_opened, _loaded, _fireLoad). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8b8c9808d158a2717eb292169a881d1ea68b74388c1c770b579c1675699b5"}},{"ruleId":"D1","level":"warning","message":{"text":"LensFlareEffect.frameUpdate (cyclomatic 29): LensFlareEffect.frameUpdate has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"516d5249bf38e6291de8218372956cba407891ee17f8d0aefc76ba60556f9ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"draw (cyclomatic 29): draw has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b8a31a951e4914b398513bf973153ff0e6d6271814c7a8ad2a807704bf5d43"}},{"ruleId":"D1","level":"warning","message":{"text":"copyRenderTarget (cyclomatic 29): copyRenderTarget has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d686160092ae1a0fef5aa67d03341b43cf8b2ac0f3e2687684c0cb48b7c97776"}},{"ruleId":"D1","level":"warning","message":{"text":"init (cyclomatic 29): init has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa327079b3cb2e37ff05916475c50a88d1f77ccbed33a0e5f78e871e4b359e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"reprojectTexture (cyclomatic 29): reprojectTexture has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1f57c44a74b19984e60ec5e6e98f335519b86bc2144c33a467626398739d9"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatWorld.update (cyclomatic 28): GSplatWorld.update has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to 2 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":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79b61faf324e2296c1d0c0f05022e6d6db094fa75c64318fc03aa1ceb75e56a"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatProjector.dispatch (cyclomatic 28): GSplatProjector.dispatch has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bf75301a4b3b52f52d37ef340a773324dcbd092967846ed93dc99b6e3262a3"}},{"ruleId":"D1","level":"warning","message":{"text":"setupForRenderPass (cyclomatic 28): setupForRenderPass has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3631c17427b8fbea9b8e542bc6252745638a779ae2a12f976fe3c31239ab886"}},{"ruleId":"D1","level":"warning","message":{"text":"glb-parser.createImages (cyclomatic 27): glb-parser.createImages has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 1384, a function literal at line 1421, a function literal at line 1481, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b209712839f45b412c9f63f43ab443c9a6811012dedeea58d68f5de87b091c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Http.request (cyclomatic 26): Http.request has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/net/http.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0be57b505b951b3e4d9c0b74641b4297d988582bd0b5b91fa2ea2fca62279a"}},{"ruleId":"D1","level":"warning","message":{"text":"ResourceLoader.load (cyclomatic 26): ResourceLoader.load has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/loader.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd1c5f46f681935312100312e51b35df3933bd2c5865b0d333e95e5a4ba60af"}},{"ruleId":"D1","level":"warning","message":{"text":"LightGizmo._drawArea (cyclomatic 26): LightGizmo._drawArea 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":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edb3b732dd36b3e27a76685a6698ca4dfce04d7fcf5038ccbb2cb1595555da6"}},{"ruleId":"D1","level":"warning","message":{"text":"renderForwardLayer (cyclomatic 26): renderForwardLayer has cyclomatic complexity 26 (threshold 15). Of this number, 19 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":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8c3ef5b2ccd93feccc4ed4184bea2e0c4ef7bc3a6741ffb0ea368866645bc7"}},{"ruleId":"D1","level":"warning","message":{"text":"_setupLight (cyclomatic 26): _setupLight 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":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f186164c918badf3dba39ee954f6e22cc8d3b939fec3858a08528595a874b"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatDirector.update (cyclomatic 25): GSplatDirector.update has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to 2 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":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bef7f187bbcc6820bd6456a2a6ca5fcb21134ea6701237e227f868bac823347"}},{"ruleId":"D1","level":"warning","message":{"text":"initFromGpuDevice (cyclomatic 25): initFromGpuDevice has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"d032ca96f3222ac3fcfd3ac61446f8e41937607fd899a88e7940343f4262e5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"load (cyclomatic 25): load has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 16 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd90870a8362949659e4ab17cd5863bbf0c4b88487ff2d3cf08a48fe1f074f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Preprocessor.processParentheses (cyclomatic 24): Preprocessor.processParentheses has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820861efa03eb25210d8a24e48b37deaf9b708002806a5c1361f0fadf5d5679"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerComposition._update (cyclomatic 24): LayerComposition._update has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab969e6f81cb70ecf2e85f3c5a55d1c78974a2c72d3cc451ca8e70d3375070d"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementComponentSystem.getImageElementMaterial (cyclomatic 24): ElementComponentSystem.getImageElementMaterial has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a299fb283e7a31ce85b0ed0395ec702cf9fd19761e89bd2b976417fead3f896"}},{"ruleId":"D1","level":"warning","message":{"text":"WebglGraphicsDevice.copyRenderTarget (cyclomatic 24): WebglGraphicsDevice.copyRenderTarget has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f928e44de7ac6a807afeccd96ccae4ca2349726f388581046eccb59bc6a2ccc7"}},{"ruleId":"D1","level":"warning","message":{"text":"glb-parser.createMaterial (cyclomatic 24): glb-parser.createMaterial has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea54bad4e5f5e43ebfdfcbd56a3b7837bc6ef7c6a81714043b06e11feaab3c42"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardMaterialOptionsBuilder._updateEnvOptions (cyclomatic 24): StandardMaterialOptionsBuilder._updateEnvOptions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e8d57fa8796815b4650f5c5c89640f9a50ca65c82640f8fbcc7e93cc8fd92"}},{"ruleId":"D1","level":"warning","message":{"text":"copyTextureToTexture (cyclomatic 24): copyTextureToTexture has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"eded4d25d1d74ab2d0574a4677dd5bad20c203a13a3d95b24e430b28fb549496"}},{"ruleId":"D1","level":"warning","message":{"text":"_createProjectorCompute (cyclomatic 24): _createProjectorCompute has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 12 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ac53f9067fec567f28cbd6900b496fa31fe019621b98bf13d9bb400a7346a2"}},{"ruleId":"D1","level":"warning","message":{"text":"WebglGraphicsDevice.endRenderPass (cyclomatic 23): WebglGraphicsDevice.endRenderPass has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f19d6dbce36c9f94cd32acdd21b465cd955cfa102eaf12c92a5f9bd4fce6a"}},{"ruleId":"D1","level":"warning","message":{"text":"texture._completePartialMipmapChain (cyclomatic 23): texture._completePartialMipmapChain has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7cc2b6e88c4a94c3878034f7f954e6d837b5e87190222015ae1513b886b148"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimEvaluator.update (cyclomatic 23): AnimEvaluator.update has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353a8f4f1cd87a8d6b05a7c9fa02c99fe58ab950df323bcf26a9ee62af8d05c"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardMaterialOptionsBuilder._updateMaterialOptions (cyclomatic 23): StandardMaterialOptionsBuilder._updateMaterialOptions has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"79986177313f52c607c87020fa547d3152f1fbe280844299ecc2a19d358d2883"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 23): constructor has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 223, 203, 209, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2ff2ac4ef5927666eddebc0ce013723d723519b878d6ca6cd412a766147c75"}},{"ruleId":"D1","level":"warning","message":{"text":"get (cyclomatic 23): get has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4153e6d1773ffb839c19c905f40366c8f976e875222c3927430962cac989466"}},{"ruleId":"D1","level":"warning","message":{"text":"_draw (cyclomatic 23): _draw has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"290cbbb813d5464e83722ed0f5017c024a09c2151f0cf7a03611b38ede181d96"}},{"ruleId":"D1","level":"warning","message":{"text":"FrameGraph._compilePasses (cyclomatic 22): FrameGraph._compilePasses has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/frame-graph.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1871360e5cf490711ff93fd70929dcc32222fc0a2992e6b14667b65854e671d5"}},{"ruleId":"D1","level":"warning","message":{"text":"system.recreateShapes (cyclomatic 22): system.recreateShapes has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6da89dfb4e7984c52235bce61f13598472350277f48c4ba4b03d32c69e3cfb"}},{"ruleId":"D1","level":"warning","message":{"text":"khr-gaussian-splatting.createGSplatData (cyclomatic 22): khr-gaussian-splatting.createGSplatData has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-gaussian-splatting.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f64e0bb2cf1102e4c45072492b45a6d5ff44f6557c9670a93418ecde6546c03"}},{"ruleId":"D1","level":"warning","message":{"text":"XrHand.update (cyclomatic 22): XrHand.update has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-hand.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"188c864742e34259c845661bf348adb07b9406913e449a6ab60f1c48733bbb1b"}},{"ruleId":"D1","level":"warning","message":{"text":"SpriteComponentSystem.initializeComponentData (cyclomatic 22): SpriteComponentSystem.initializeComponentData has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/system.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0733225c28a339e5e0b88690c2476c111248c94c9c42d49ab8634cbca0b43f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"TextureAtlasHandler.patch (cyclomatic 22): TextureAtlasHandler.patch has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture-atlas.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3b2d38e27f572f989912281d3cd006166184daa870a4fa99059e4be4ad02da"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimController.updateStateFromTransition (cyclomatic 22): AnimController.updateStateFromTransition has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1817ca195d8c3dbbc946320f73799446a8e619dd6330c59de9787ee8e0bfc98f"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultAnimBinder.constructor (cyclomatic 22): DefaultAnimBinder.constructor has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (findMeshInstances, a function literal at line 76, a function literal at line 116, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/binder/default-anim-binder.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d86c1030174be456f0e0e75df452c2e459323817a63ebc349d4e4b914dc9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"Skeleton.addTime (cyclomatic 22): Skeleton.addTime has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/animation/skeleton.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa2619a2c0572f99dbdd4be54c87ef09a4ddd388440fb0cb1221321506896bf"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationComponent.update (cyclomatic 22): AnimationComponent.update has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"6855f094fdf8cdd8b84f80ed7a4fbd9902a87a365261265bb6cf6f3f893f0e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"webgpu-shader-processor-wgsl.getTextureDeclarationType (cyclomatic 22): webgpu-shader-processor-wgsl.getTextureDeclarationType has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c255d3e5c396c87e8523b3c4d7d899271fec4778ffd25bf356b50d5da07ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"setCameraUniforms (cyclomatic 22): setCameraUniforms has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49200d923f33261f72caaec2e9f32f6f51291df6b517290d82c64b8b8309fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveDuplicatedEntityReferenceProperties (cyclomatic 22): resolveDuplicatedEntityReferenceProperties has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"defbde3fd5733a3922ed42c939617acfdbc593c011f8b53000c2062ef76c31bf"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor::read (cyclomatic 22): constructor::read has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6286cb152f56537861e82e5c73d0cf908d57bab4a985b5ddd1e5ad05ea12acf4"}},{"ruleId":"D1","level":"warning","message":{"text":"createDefinition (cyclomatic 22): createDefinition has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (getDefines, getDefinesWgsl, normalizedOutputTypes). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-definition-utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e94a3c4ecc45a87d0030e3e960549c06b2ac2ba9c26108ad6e02909d4d59a7"}},{"ruleId":"D1","level":"warning","message":{"text":"TagsCache.find (cyclomatic 21): TagsCache.find has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags-cache.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c8107306c0f8ca19eef8851acc797994acc1e8831c3dd4ab690f067d25b509"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadowRendererDirectional.cull (cyclomatic 21): ShadowRendererDirectional.cull has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f18d8a29792ebcd69151a9a14367c36056218bd75f49fc70b00f3b28ebb83a"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementInput._onElementSelectEvent (cyclomatic 21): ElementInput._onElementSelectEvent has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f8a97ad21e1f6a693d23def89587f9d8bd727a00e3c2452bf21f3e67c3a79"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptRegistry.add (cyclomatic 21): ScriptRegistry.add has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 159, 134). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-registry.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ba2f517149c03f56aa79bbf0172e97ef3782f5118f38f89479999b09d3d38"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimController.update (cyclomatic 21): AnimController.update has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab2e162a9014cb766d8012574b05b71a019bdebc4291d99418fea833a4fa37f"}},{"ruleId":"D1","level":"warning","message":{"text":"readTextureAsync (cyclomatic 21): readTextureAsync has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdaff8fbc1e174bc10cc038762b6aa7b3c98218eb160626c914edfd92cc0d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"applySettings (cyclomatic 21): applySettings has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8ed931141f0b7aa6cdcc58548e33c1ac1a76504efa6d2fc06993957e27236b"}},{"ruleId":"D1","level":"warning","message":{"text":"beginFrame (cyclomatic 21): beginFrame has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a67a3191992b5e26a80e2de96c2140513cc8473724b14c895c35cb3bc945f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphicsDevice.initCapsDefines (cyclomatic 20): GraphicsDevice.initCapsDefines has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b54b4159df1be1f4b71d81c63e62e720ff53b890e06bfab20eb93d8e663edb2"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatShadowRenderer._cullEntry (cyclomatic 20): GSplatShadowRenderer._cullEntry has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"82baaacfc0d4fe82aed97e226927c97c238fecd0cfeb3c77e8693a14fb3451fa"}},{"ruleId":"D1","level":"warning","message":{"text":"khr-draco-mesh-compression.createDracoMesh (cyclomatic 20): khr-draco-mesh-compression.createDracoMesh has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 23, 75, 20). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-draco-mesh-compression.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fab91ff268dfbb118cbb764f86b97bd1cfa1ae150503a54150b18e5d45d61a8"}},{"ruleId":"D1","level":"warning","message":{"text":"basis.basisInitialize (cyclomatic 20): basis.basisInitialize has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa13515fb39367cef024c8be04215956273d49baf9531b6aad604cc260753f6"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialHandler._bindAndAssignAssets (cyclomatic 20): MaterialHandler._bindAndAssignAssets has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc54b36f34212d46cd17d870e554972b45ddadc7719dc6b61c6fbb8fd0f6530f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppBase._parseApplicationProperties (cyclomatic 20): AppBase._parseApplicationProperties has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"067baf422278ccb6582d0922df3cb4b68f5322bb359381f6dc73e3c51d1f2238"}},{"ruleId":"D1","level":"warning","message":{"text":"CameraGizmo._draw (cyclomatic 20): CameraGizmo._draw has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/camera-gizmo.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4378ba680770b00c33ff9d7fd58eb994ae809c885b6018f92b80b92b276824eb"}},{"ruleId":"D1","level":"warning","message":{"text":"LightGizmo._drawSpot (cyclomatic 20): LightGizmo._drawSpot has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee173bf6e1610e4a451c4a09f6d04ad6d470d294ae0c4bc359e16407cbec45"}},{"ruleId":"D1","level":"warning","message":{"text":"init (cyclomatic 20): init has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c597747a021347355a4880a9eb2b77223e69a0b8afb9ea29cc1702bd5170507"}},{"ruleId":"D1","level":"warning","message":{"text":"shadowType (cyclomatic 20): shadowType has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd64b1474be4e4f86ae1c400717fab75f87d56a9395e633175798483d207e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"EventHandler.off (cyclomatic 19): EventHandler.off has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/event-handler.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e33d27070e1756641fd00b20047d51d551fc2392bb8a90b009e41a260f4e8a"}},{"ruleId":"D1","level":"warning","message":{"text":"gsplat-lod-tree.readEntries (cyclomatic 19): gsplat-lod-tree.readEntries has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-lod-tree.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4e5cf6eda16cfc12e6615cc6bac0d101d065f9196f094d31e4b0dcab9c5e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleSystemComponentSystem.initializeComponentData (cyclomatic 19): ParticleSystemComponentSystem.initializeComponentData has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/system.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d320a69234bcc24f8f1194807082dd6a501629e2159735f645414121849b282"}},{"ruleId":"D1","level":"warning","message":{"text":"Lightmapper.collectModels (cyclomatic 19): Lightmapper.collectModels has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f09d52023f33c479c0b8c69a5fc9bce7e348023ad5f6c3513a2d90dbecbd42b"}},{"ruleId":"D1","level":"warning","message":{"text":"draco-worker.DracoWorker::decodeMesh (cyclomatic 19): draco-worker.DracoWorker::decodeMesh has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-worker.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"87912ca4ad43cadc81cca04655e105b2d8bddae93f077132ebbbcc2aaff7ea13"}},{"ruleId":"D1","level":"warning","message":{"text":"CubemapHandler.loadAssets (cyclomatic 19): CubemapHandler.loadAssets has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e313d3baf14540c45179079564986962022172b71fbcb70934a8546893ae02"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonStandardMaterialParser.initialize (cyclomatic 19): JsonStandardMaterialParser.initialize has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/material/json-standard-material.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c057bf93f8c46b5ee963070be1b36b5b12cb812c981e27ce0b62ba75a247c9"}},{"ruleId":"D1","level":"warning","message":{"text":"HdrParser._readPixels (cyclomatic 19): HdrParser._readPixels has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/hdr.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afec716745d20a72d576e7fdab7db102eb12f33942aef7896cc872d5960594"}},{"ruleId":"D1","level":"warning","message":{"text":"WebgpuBindGroup.createDescriptor (cyclomatic 19): WebgpuBindGroup.createDescriptor 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 5 function literals inside it that branch (lines 121, 107, 163, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2635ddf7ad67089f5d7e31b876ae05b8fa17095aa3547aeac2c9e0745a86c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"startRenderPass (cyclomatic 19): startRenderPass has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 2 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acda55f7cae3134573244f0a64360ec37d7f0efc9a75cbe9792f9ed43058370"}},{"ruleId":"D1","level":"warning","message":{"text":"frameStart (cyclomatic 19): frameStart 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 7 function items inside it that branch (a function literal at line 1949, a function literal at line 1973, a function literal at line 1931, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"633a35469c532656973eafb3d09c75f24f4e148b7324687575a9f356e2a4eb23"}},{"ruleId":"D1","level":"warning","message":{"text":"attachTexture (cyclomatic 19): attachTexture has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db92eeee48769b6d8f6ce9637171f60954c76ff4e9769876999d5a7234d603"}},{"ruleId":"D1","level":"warning","message":{"text":"renderLayerRenderStep (cyclomatic 19): renderLayerRenderStep has cyclomatic complexity 19 (threshold 15). Of this number, 17 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12085979b306ce29cf25bb7be71c3161c659ce7faea495d542085f3f4ed50b1"}},{"ruleId":"D1","level":"warning","message":{"text":"build.main (cyclomatic 18): build.main has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"772cda4efc716e01d6f878d13fc6579130a5a8d18357027dabfea2aa89a8422c"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphicsDevice.getRenderableHdrFormat (cyclomatic 18): GraphicsDevice.getRenderableHdrFormat has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628b9c0272105c7374f3bb76bf8a6df1ebbee8331acb47fbbe68b1986a8a0cb"}},{"ruleId":"D1","level":"warning","message":{"text":"StandardMaterialMapTransforms.update (cyclomatic 18): StandardMaterialMapTransforms.update has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d284870b9e6029c75d384f3eb190cbaa8107e3381191d947046ea24b01a2abfd"}},{"ruleId":"D1","level":"warning","message":{"text":"Mesh.update (cyclomatic 18): Mesh.update has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c255fc98cdbb9a546b0d52773c771e2dec3255307c6d0a5839e80f559c3324b"}},{"ruleId":"D1","level":"warning","message":{"text":"ply.readPly (cyclomatic 18): ply.readPly has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (find, startsWith, a function literal at line 544, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"df205a976550403638bf614775bd448ec46492620ba1d1864b3b7a651b24c8cd"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshInstance.getMaterialBindGroup (cyclomatic 18): MeshInstance.getMaterialBindGroup has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"922a6851e03e70e0ae46b14136db2f7216f668c1d963e25ffa30c0ed66c22ab3"}},{"ruleId":"D1","level":"warning","message":{"text":"Culler.updateLightVisibility (cyclomatic 18): Culler.updateLightVisibility has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"500004e95121e194515237d583f7a7bed301caab9549bc1144d5801461798ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageElement._updateMesh (cyclomatic 18): ImageElement._updateMesh has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"546a0dbba50c4d40173490ae8869387ff79790beba4dd9935bbba84d2967c3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelComponentSystem.cloneComponent (cyclomatic 18): ModelComponentSystem.cloneComponent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/system.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6789a1c94d9e7f81cb8b8b1a973c646e79255ed52d436267416f7f3024024360"}},{"ruleId":"D1","level":"warning","message":{"text":"WebglGraphicsDevice.setTextureParameters (cyclomatic 18): WebglGraphicsDevice.setTextureParameters has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"7210678f96bea35f0110cdc38c273dfa7b034545920cd9149cb41f9cf020518f"}},{"ruleId":"D1","level":"warning","message":{"text":"MouseEvent.constructor (cyclomatic 18): MouseEvent.constructor has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/mouse-event.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b0332d7d5f3eb8cca0a9281d68a30c17cb98d0f253e588ea3e5ae2a3008261"}},{"ruleId":"D1","level":"warning","message":{"text":"GlbContainerResource.instantiateRenderEntity::cloneHierarchy (cyclomatic 18): GlbContainerResource.instantiateRenderEntity::cloneHierarchy has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-container-resource.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c5130265bbe128fe9e4846b708fcde1ed3ad4b9a265aedc942bd533fd07970"}},{"ruleId":"D1","level":"warning","message":{"text":"WebgpuMipmapRenderer.generate (cyclomatic 18): WebgpuMipmapRenderer.generate has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"418fbc37ff2b5d812addffdcf7fc6892cc846c46c0e370f90d1ea9b1cd8d36eb"}},{"ruleId":"D1","level":"warning","message":{"text":"destroy (cyclomatic 18): destroy has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"3225c06b90dd384a551dd49a826c5512d9f52315efddc2c8f46a21cbaba6b2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"update (cyclomatic 18): update has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 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":"src/framework/xr/xr-anchors.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108632e0dcdb67994820242c98b304458a4057457836049e36194a0d2362115"}},{"ruleId":"D1","level":"warning","message":{"text":"LightsBuffer.addLightData (cyclomatic 17): LightsBuffer.addLightData has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fab540dd87cfccd1c4f579dbd5977d6a0303fbadc0c519af3e8ac04ddf61b33"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatManager.update (cyclomatic 17): GSplatManager.update has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff87b46825ffb414881592d18156d0b00d1bfb8bf5295a252d4419ca862e8c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"CollisionComponent.onEnable (cyclomatic 17): CollisionComponent.onEnable has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaa28d9b5564f09c90857998b310f0f43b2490ce211cb65b151f75deb39f599"}},{"ruleId":"D1","level":"warning","message":{"text":"TextElement.font (cyclomatic 17): TextElement.font has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7989561088ffcaed154bd0b17521aa71f0da6a8a1a1749f7ea160c6cfb6dcbc"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementComponent._sync (cyclomatic 17): ElementComponent._sync has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d183f1c3a2746a6abffc3736bc0a14bd57eef5ee495f8900786ffc8d198e7964"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelComponent.onEnable (cyclomatic 17): ModelComponent.onEnable has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"538eb16f69d92d97506e2d2932d5c119d1e7a55f2ded4a74842f848f6a3b524a"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementInput._onElementMouseEvent (cyclomatic 17): ElementInput._onElementMouseEvent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca6bb902da5c8c3d6a19e27d96c10a15edd986558e771c5c093e9f46970f75e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpriteComponent._showFrame (cyclomatic 17): SpriteComponent._showFrame has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"be16befbeda42a42a0b27772aaa7fb20d41db19f255f454f9be7cbc8442ced7e"}},{"ruleId":"D1","level":"warning","message":{"text":"glb-parser.createMesh (cyclomatic 17): glb-parser.createMesh 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 2 function literals inside it that branch (lines 425, 491). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82f36e81bfbd5b4c47bd32d1f7d4424d31a828533e09d49c7fc7f71ffbdc5a"}},{"ruleId":"D1","level":"warning","message":{"text":"basis-worker.BasisWorker::transcodeBasis (cyclomatic 17): basis-worker.BasisWorker::transcodeBasis 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. This shape REPEATS in the file: one other method here (basis-worker.BasisWorker::transcodeKTX2) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297deae945cfe3414020ee3f824bb7c2415249a9377791e46c5ea7186e53ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimComponentBinder._createAnimTargetForProperty (cyclomatic 17): AnimComponentBinder._createAnimTargetForProperty has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component-binder.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e59ba7a15b1caad211449559038403680ca770840eddfb6fe95e3ea2b8c471e"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadowRenderer.submitCasters (cyclomatic 17): ShadowRenderer.submitCasters has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bef45a27223fa56774d3cd9c9509d3ddd67ca9c30ab31fae23995aad7c083f"}},{"ruleId":"D1","level":"warning","message":{"text":"WebgpuTexture.getSampler (cyclomatic 17): WebgpuTexture.getSampler has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"972d2dbeaabe685c4bec83130a38b266d8b678d152b124014ef92d3327a35e68"}},{"ruleId":"D1","level":"warning","message":{"text":"ResourceLine.equals (cyclomatic 17): ResourceLine.equals has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a83ac781d8c4beec0c13139033d9e309a7165619544a52225488861c383766"}},{"ruleId":"D1","level":"warning","message":{"text":"typedoc-plugin.load (cyclomatic 17): typedoc-plugin.load 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 7 function literals inside it that branch (lines 161, 109, 97, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/typedoc/typedoc-plugin.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2c82a406ccaf9e5c38e5325453c808ed14c858f288a7eeebca579e8a881495"}},{"ruleId":"D1","level":"warning","message":{"text":"initGraphs (cyclomatic 17): initGraphs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d77692175589edd58e3c5e57a9cf5065427fd33457c3d20bc351a5f5dca082"}},{"ruleId":"D1","level":"warning","message":{"text":"update (cyclomatic 17): update has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbf0ff0004162e7d15298205006404ca80aa74250cd1e4321cb4a770ca6b645"}},{"ruleId":"D1","level":"warning","message":{"text":"_updateTexOptions (cyclomatic 17): _updateTexOptions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"330087baa889fbe364a9ca430d82da18fe03710f5aa0926407dbfb7bf1bde13a"}},{"ruleId":"D1","level":"warning","message":{"text":"BlockAllocator._defragIncremental (cyclomatic 16): BlockAllocator._defragIncremental has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c35b3d0be1d53bc231e23f5a5c3997e8abd1bd4ddf1f46bf5b3e0f1abdb4d35"}},{"ruleId":"D1","level":"warning","message":{"text":"uri.createURI (cyclomatic 16): uri.createURI has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/uri.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb12a0c88935a11254bd11eab6f46b63b3e62898afaebadcd6e5c4dfd76221f"}},{"ruleId":"D1","level":"warning","message":{"text":"Compute.setupDispatchThreads (cyclomatic 16): Compute.setupDispatchThreads has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/compute.js"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c17c0d12ee3302dddcd6e3ae9cae2478abb9ecc114911d25629ed6d9d3ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderGeneratorStandard._addMapDefines (cyclomatic 16): ShaderGeneratorStandard._addMapDefines has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a2954d5732a976b355ac65d39cb83125b73e9627cc71044f0a59db1a6da49"}},{"ruleId":"D1","level":"warning","message":{"text":"MeshInstance.aabb (cyclomatic 16): MeshInstance.aabb has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf3a672358eac343ac9b900b38a0fc0bc1dcda0bf21a7d79d55ed06f78ab522"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatWorldState.assignSplatOffsets (cyclomatic 16): GSplatWorldState.assignSplatOffsets has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b5e5a32b22c0760f9e7c4b0e201cc6653169ca8063d4fbc0ec7367bafb2fa"}},{"ruleId":"D1","level":"warning","message":{"text":"GSplatWorld.applyWorkBufferUpdates (cyclomatic 16): GSplatWorld.applyWorkBufferUpdates has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 961). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fab885579baae2f4ea7133cf17079a87cd8f441e0b8635dfd9bedfe4d537b9"}},{"ruleId":"D1","level":"warning","message":{"text":"system.convertValue (cyclomatic 16): system.convertValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/system.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf3b78c574dceeb70dea533d80680833185804f379017c428a2eeba66eade5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelComponent.mapping (cyclomatic 16): ModelComponent.mapping has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"d000a8c910ee2942f59558c53049bc681d04869d156c6509096d0ded4916360b"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderGeneratorParticle.createVertexDefines (cyclomatic 16): ShaderGeneratorParticle.createVertexDefines has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/particle.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee35116851ddaf3c0e5628903952f7701a5f2485025cdf5610b223d5ed829cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleEmitter._allocate (cyclomatic 16): ParticleEmitter._allocate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f681ee4d3ed88191cd518f616288a6902c782f1bc1afcababba5f2e95113a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ParticleEmitter.addTime (cyclomatic 16): ParticleEmitter.addTime has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"52672846a829d0945fc9afbf58ad64d1c94ca6aeac0fcfdf9dd99861e300b0d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderProcessorGLSL.processUniforms (cyclomatic 16): ShaderProcessorGLSL.processUniforms has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 336, 296, 306, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f46d4175eb86b73e27ef74d745b8eec64b3e6efd00bdb5619d5ab05c8b2b1c"}},{"ruleId":"D1","level":"warning","message":{"text":"basis-worker.BasisWorker::transcodeKTX2 (cyclomatic 16): basis-worker.BasisWorker::transcodeKTX2 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 shape REPEATS in the file: one other method here (basis-worker.BasisWorker::transcodeBasis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d633751652171d06e3589ecd6b28e6223e18569280ed56048803a3879098f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Asset.file (cyclomatic 16): Asset.file has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5bce2c34e057fbb8c1bcfeeee489a906b57afee44d97c32a447e2bbc9c1a7"}},{"ruleId":"D1","level":"warning","message":{"text":"GltfExporter.collectResources (cyclomatic 16): GltfExporter.collectResources has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 208, 258, 216). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d82bd9a19d12160b7487972c89f2e401c5466b8a277eaafd369edd9e9e9a84"}},{"ruleId":"D1","level":"warning","message":{"text":"clear (cyclomatic 16): clear has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc1802f793c62f200dedc26c2e472f95aeb282d59ca0be72b27236290fc7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"frameUpdate (cyclomatic 16): frameUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5480790c6cd015a890d373be06668ef722687b8c3051e631c0bc0c2db6800702"}},{"ruleId":"D1","level":"warning","message":{"text":"createPrimitive (cyclomatic 16): createPrimitive has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 867, 878, 877, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"def0fb3dfd24b79eb12798e285853a399fbb2d5d53543ae6130ed7a20f24204b"}},{"ruleId":"D1","level":"warning","message":{"text":"load (cyclomatic 16): load has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed9c1efabcecee0dfc446b8beb5ab7bf57c95e032e741487a1f974a8b90257a"}},{"ruleId":"D1","level":"warning","message":{"text":"constructor (cyclomatic 16): constructor has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/transform-feedback.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c2c7de11522251737b89d9e653c4ba2693c3d02b294ef7ee230f01f97bb511"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateMeshes (cognitive 232): _updateMeshes has cognitive complexity 232 (threshold 15). Drivers by points: if/else 50 (146 pts), loops 12 (37 pts), boolean chains 25, ternaries 9 (24 pts) (nesting depth added 136). Of this number, 223 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b606dbf0166189c45b5fa56b3b2c5c15ac256f290b6421ebce9126a1ac8ab3f"}},{"ruleId":"D2","level":"warning","message":{"text":"upload (cognitive 212): upload has cognitive complexity 212 (threshold 15). Drivers by points: if/else 57 (166 pts), boolean chains 24, loops 6 (22 pts) (nesting depth added 125). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"959226f142b8eb1dcbaf4e23a426742995f15b1aa82beb9e90206daebce7dfcd"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 160): draw has cognitive complexity 160 (threshold 15). Drivers by points: if/else 40 (129 pts), loops 5 (19 pts), boolean chains 5, ternaries 1 (5 pts), other 2 (nesting depth added 107). Of this number, 149 points are the body\u0027s own statements and 11 belong to 2 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa37abd8696bc0c653312c74a144f36c924b10c8a4a4ebbaf227f690a70ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeComponentData (cognitive 130): initializeComponentData has cognitive complexity 130 (threshold 15). Drivers by points: if/else 72 (119 pts), boolean chains 10, ternaries 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e65cfad7d3f383743221fdd07686ee92ad2ad40e34d8bdc4407b0e634627230"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateText (cognitive 123): _updateText has cognitive complexity 123 (threshold 15). Drivers by points: if/else 33 (80 pts), ternaries 8 (28 pts), boolean chains 12, loops 2 (3 pts) (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"893dc7c1a719857780b8e72c3d3c1513bfa63742ad1a78bdf77bbcc154e01661"}},{"ruleId":"D2","level":"warning","message":{"text":"Preprocessor._preprocess (cognitive 113): Preprocessor._preprocess has cognitive complexity 113 (threshold 15). Drivers by points: if/else 27 (83 pts), ternaries 5 (16 pts), loops 2 (8 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d15a70a974a891a073d73f0a708af81869ff893a842120f235011632e87e728"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 109): constructor has cognitive complexity 109 (threshold 15). Drivers by points: if/else 40 (55 pts), other 21, boolean chains 19, ternaries 10 (14 pts) (nesting depth added 19). Of this number, 84 points are the body\u0027s own statements and 25 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdaa8221747c4032df60421cd6586a267133d0c0dc0fbe85d607a8b4f27234c"}},{"ruleId":"D2","level":"warning","message":{"text":"rawToValue (cognitive 106): rawToValue has cognitive complexity 106 (threshold 15). Drivers by points: if/else 29 (64 pts), loops 5 (17 pts), ternaries 4 (17 pts), boolean chains 7, match/switch 1 (nesting depth added 60). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87abb78866962e16924864d6f7574ba70ab7cf214eaf936d9f3a4dbfa833f23"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 105): update has cognitive complexity 105 (threshold 15). Drivers by points: if/else 29 (70 pts), ternaries 8 (17 pts), loops 6 (12 pts), boolean chains 6 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ed44b2284e7191565c4d454f62270ac39242d8fabec4ab9baf646d1195675a"}},{"ruleId":"D2","level":"warning","message":{"text":"Mesh._initBoneAabbs (cognitive 101): Mesh._initBoneAabbs has cognitive complexity 101 (threshold 15). Drivers by points: if/else 22 (86 pts), loops 6 (12 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 71). Of this number, 99 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c7f82b825151e85ca16df24df44698ca902f96f38c4245a768eb475ef1e31f"}},{"ruleId":"D2","level":"warning","message":{"text":"Lightmapper.bakeInternal (cognitive 97): Lightmapper.bakeInternal has cognitive complexity 97 (threshold 15). Drivers by points: if/else 13 (50 pts), loops 11 (28 pts), ternaries 3 (15 pts), boolean chains 4 (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae39730ac0c8c260337abb0e3c522579a53cb905bb5c0a3f8406a4a50d193ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"create (cognitive 97): create has cognitive complexity 97 (threshold 15). Drivers by points: if/else 18 (49 pts), loops 10 (35 pts), ternaries 2 (8 pts), boolean chains 5 (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d3e8b20001e334221131bba10c925ae2d0824734632479757ca19d1c95d00d"}},{"ruleId":"D2","level":"warning","message":{"text":"RigidBodyComponentSystem.onContactPair (cognitive 96): RigidBodyComponentSystem.onContactPair has cognitive complexity 96 (threshold 15). Drivers by points: if/else 25 (80 pts), boolean chains 13, loops 1 (3 pts) (nesting depth added 57). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"439ef71a32d6779979ceb42625cd4919065be8a32c852f70baab5f3d4eb10f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardMaterialValidator.validate (cognitive 91): StandardMaterialValidator.validate has cognitive complexity 91 (threshold 15). Drivers by points: if/else 32 (79 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-validator.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c55995819be1d6bb14d9c4a8cc002f94f41dda6aba367c29a6525418872a90b"}},{"ruleId":"D2","level":"warning","message":{"text":"log (cognitive 88): log has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 26 (73 pts), if/else 4 (9 pts), boolean chains 2, loops 1 (2 pts), other 2 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cba603724308caed9064424f000b01001a8201fb2905572778d9e1d627303bf"}},{"ruleId":"D2","level":"warning","message":{"text":"onAssetChanged (cognitive 88): onAssetChanged has cognitive complexity 88 (threshold 15). Drivers by points: if/else 19 (60 pts), loops 4 (18 pts), boolean chains 10 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf77b9c2574e8d0174fbc569aa8014453abb523f865ae7828c7263a83cebf36"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatOctreeInstance._applyTreeCut (cognitive 85): GSplatOctreeInstance._applyTreeCut has cognitive complexity 85 (threshold 15). Drivers by points: if/else 20 (48 pts), loops 12 (27 pts), boolean chains 6, ternaries 1 (4 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaed34dace211a76885f354db35d84617c2af9f69633d924fe4bef788d5cb34"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderGeneratorStandard.createShaderDefinition (cognitive 83): ShaderGeneratorStandard.createShaderDefinition has cognitive complexity 83 (threshold 15). Drivers by points: if/else 24 (53 pts), ternaries 6 (23 pts), boolean chains 7 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a580090cbba3c4b62484422bfbe2565278d79e2755c6acdafb3d869cc7c7369b"}},{"ruleId":"D2","level":"warning","message":{"text":"GltfExporter.writeStandardMaterial (cognitive 83): GltfExporter.writeStandardMaterial has cognitive complexity 83 (threshold 15). Drivers by points: if/else 40 (64 pts), boolean chains 12, ternaries 5 (7 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"72115bf7be9ed1933d8832e3153ce9a7ae4db68f293b62f0cc4569e80660cb85"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuTexture.uploadData (cognitive 81): WebgpuTexture.uploadData has cognitive complexity 81 (threshold 15). Drivers by points: if/else 27 (64 pts), loops 3 (13 pts), boolean chains 4 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bfa48da8bf7ee72ec0bd6260697ff14dae75311e01a84fc47291e628fd28e1"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 78): init has cognitive complexity 78 (threshold 15). Drivers by points: if/else 20 (52 pts), ternaries 5 (17 pts), loops 2 (5 pts), boolean chains 2, other 2 (nesting depth added 47). Of this number, 75 points are the body\u0027s own statements and 3 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a312394ee8ed32f4b64e57da6c173ae7628e8e47d700436b76ec74ef1f150f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardRenderer.buildFrameGraph (cognitive 77): ForwardRenderer.buildFrameGraph has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (58 pts), boolean chains 12, ternaries 2 (6 pts), loops 1 (nesting depth added 44). Of this number, 74 points are the body\u0027s own statements and 3 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":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"515707dd745956e5433a72bb0718b73750dd643c7dd32d9eb41f4271af844e26"}},{"ruleId":"D2","level":"warning","message":{"text":"ConeBaseGeometry.constructor (cognitive 77): ConeBaseGeometry.constructor has cognitive complexity 77 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 12 (31 pts), boolean chains 5 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30e363c4db17cf405d61a530253a79b799be2b3853499f2b99d77f1a32021b"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementComponentSystem.getImageElementMaterial (cognitive 76): ElementComponentSystem.getImageElementMaterial has cognitive complexity 76 (threshold 15). Drivers by points: if/else 30 (76 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5731c86c7f471d6cc5c20525c1f060960c70d6d13048cdacf816ea14052c3acd"}},{"ruleId":"D2","level":"warning","message":{"text":"frameUpdate (cognitive 71): frameUpdate has cognitive complexity 71 (threshold 15). Drivers by points: if/else 21 (40 pts), ternaries 8 (26 pts), boolean chains 4, loops 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3eb3cbcaa46762f42d1c40d38b71e2b7fd56e75dfeed66eb7195ad01ae4f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerComposition._update (cognitive 69): LayerComposition._update has cognitive complexity 69 (threshold 15). Drivers by points: if/else 14 (53 pts), loops 5 (12 pts), boolean chains 4 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27385d979f5f75fc420ee2fd2e862b3789c1b59d1bf6348975c35fda3f9fce7"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuildGeometry (cognitive 66): rebuildGeometry has cognitive complexity 66 (threshold 15). Drivers by points: if/else 12 (30 pts), ternaries 8 (22 pts), boolean chains 13, loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e24d65e54a97fd40ccdef9cd3733f4061b2b9886ea8549f641fbed8dc37910"}},{"ruleId":"D2","level":"warning","message":{"text":"draw (cognitive 65): draw has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (47 pts), boolean chains 6, ternaries 2 (6 pts), loops 1 (3 pts), other 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cf7d002db9a509b61be84aae9439e1b211c56ba826bbdbd3cd96d4b0a554c7"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatDirector.update (cognitive 64): GSplatDirector.update has cognitive complexity 64 (threshold 15). Drivers by points: if/else 15 (50 pts), loops 5 (9 pts), boolean chains 5 (nesting depth added 39). Of this number, 54 points are the body\u0027s own statements and 10 belong to 2 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":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f23d91e50fdd77c2051a714bf66ef35b468fb418ed562e6bafa94f5515827c"}},{"ruleId":"D2","level":"warning","message":{"text":"create (cognitive 64): create has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (50 pts), boolean chains 9, ternaries 2 (5 pts) (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"5076c5c01c0a4f87b547ee72df3882ad98763f762b169813f856ba0ad6e00907"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 60): start has cognitive complexity 60 (threshold 15). Drivers by points: if/else 26 (52 pts), boolean chains 7, other 1 (nesting depth added 26). Of this number, 56 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd1b452f03906c510ba560c3ba0957053d5d72a547c642995c28c6d307fa20f"}},{"ruleId":"D2","level":"warning","message":{"text":"TagsCache.find (cognitive 59): TagsCache.find has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (45 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags-cache.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"446fe6f462bc54025e3defc41d24c04e5f9b3aa120a1cd47cd7e6f01c82c591d"}},{"ruleId":"D2","level":"warning","message":{"text":"Texture.setSource (cognitive 59): Texture.setSource has cognitive complexity 59 (threshold 15). Drivers by points: if/else 23 (41 pts), boolean chains 9, loops 3 (9 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"971344b92f593d822ce9e6a572f92cf9fde15cc30f6ed972e5fbcb7c59b652d2"}},{"ruleId":"D2","level":"warning","message":{"text":"_drawArea (cognitive 57): _drawArea has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 6 (21 pts), loops 5 (12 pts), match/switch 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa471882a86cde2fb8f2c4adb387f4f0c7f87959a5ed71dc0ba68e8abc189e7"}},{"ruleId":"D2","level":"warning","message":{"text":"GlbContainerResource.instantiateRenderEntity::cloneHierarchy (cognitive 56): GlbContainerResource.instantiateRenderEntity::cloneHierarchy has cognitive complexity 56 (threshold 15). Drivers by points: if/else 13 (45 pts), loops 4 (11 pts) (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-container-resource.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78868f43d38c5992c4051588d9bf20845b8094263b95c80d50a55f1a9e8eda0"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceLoader.load (cognitive 56): ResourceLoader.load has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (45 pts), error handling 2 (6 pts), boolean chains 5 (nesting depth added 30). Of this number, 28 points are the body\u0027s own statements and 28 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/loader.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c0caef4fb1e143dab326adaef7f97e00f83a2f3b680ae2c8f496c56155fdcb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadowRenderer.cullShadowCastersOmni (cognitive 56): ShadowRenderer.cullShadowCastersOmni has cognitive complexity 56 (threshold 15). Drivers by points: if/else 11 (35 pts), boolean chains 11, loops 6 (10 pts) (nesting depth added 28). Of this number, 54 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd050aa1eb8da3b587717094510d84d6846e26b84f776555cef3583f84f5a2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"copyRenderTarget (cognitive 55): copyRenderTarget has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 15 (32 pts), if/else 9 (17 pts), boolean chains 3, other 3 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace77a8d195501adb2d869e901248c0504c173236c4ab710fc1698a2548fa8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CubemapHandler.update (cognitive 54): CubemapHandler.update has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 14, ternaries 4 (12 pts), loops 4 (10 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d232fd5c24433260fc55d725c37c97db845e54da60fb012c73ac66049f93c0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimController.update (cognitive 54): AnimController.update has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 6 (19 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7061a5f7567649d319e667bfdd0df317a6ee5653ac040a5f1de3557bd84d9348"}},{"ruleId":"D2","level":"warning","message":{"text":"VoxelOccupancy.raycast (cognitive 54): VoxelOccupancy.raycast has cognitive complexity 54 (threshold 15). Drivers by points: if/else 24 (39 pts), ternaries 6 (9 pts), boolean chains 5, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba6bb2d92c770ddee550b09572d6ff8f71812c4ca8209901aff381f218cc19"}},{"ruleId":"D2","level":"warning","message":{"text":"system.recreateShapes (cognitive 53): system.recreateShapes has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (45 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b1b8b99278c78a9f72c403e4a3a0a0997bec54e2ed3c31990e0080f257d30e"}},{"ruleId":"D2","level":"warning","message":{"text":"createAnimation (cognitive 52): createAnimation has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 11 (15 pts), ternaries 4 (7 pts), boolean chains 5 (nesting depth added 20). Of this number, 40 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"c004c19b5a43689034ccbb9aebad22e40357b9289391878ee466e6dd8fec5ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveDuplicatedEntityReferenceProperties (cognitive 51): resolveDuplicatedEntityReferenceProperties has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 4 (13 pts), boolean chains 4, ternaries 1 (4 pts), other 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"216a8b7e9f715c96a89c22bc79fe915073eb3b02655ab535249db7f94464060e"}},{"ruleId":"D2","level":"warning","message":{"text":"request (cognitive 50): request has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (38 pts), loops 2 (5 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 23). Of this number, 46 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/net/http.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110deb3e0e1710e9acb0b65b7e820c789f23f3b0055e3c2c81c9ef0128d931d"}},{"ruleId":"D2","level":"warning","message":{"text":"processParentheses (cognitive 49): processParentheses has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 4 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea2361db3294ce6b843f02587aa348505f7ec5e2e4e3bf3fdba659a2d497610"}},{"ruleId":"D2","level":"warning","message":{"text":"renderForwardInternal (cognitive 48): renderForwardInternal has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 8 (11 pts), boolean chains 6, loops 2 (4 pts), other 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b7f61258c0a8661d8e31f60106f18cdbc6669cd2613dd488e1104fffda4921"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystemComponentSystem.onUpdate (cognitive 47): ParticleSystemComponentSystem.onUpdate has cognitive complexity 47 (threshold 15). Drivers by points: if/else 8 (33 pts), loops 4 (13 pts), boolean chains 1 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/system.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5127fe591c7210e509a87c4230457889c9b7a4acdfa9fda3879c2586c3cc038a"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialHandler._bindAndAssignAssets (cognitive 47): MaterialHandler._bindAndAssignAssets has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 3, loops 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87e747d1c92cca9c21ce4036e49e4c3b4d23af5dc0c821920cbd3c575049639"}},{"ruleId":"D2","level":"warning","message":{"text":"createImages (cognitive 47): createImages has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (33 pts), loops 2 (8 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 18). Most of this is not in the body itself: 2 of the 47 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 1384, a function literal at line 1481, loadTexture::(anonymous)::continuation, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2249b7a84da929895081988f9fc6c8b290fc4f4ceac8cb5eba01216785b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateWorldState (cognitive 47): _updateWorldState has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 9 (17 pts), boolean chains 7, ternaries 2 (6 pts) (nesting depth added 20). Of this number, 35 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8159936f11058410d0d7e3b940b584d486a1cbe3676a124226ac62d1601436fa"}},{"ruleId":"D2","level":"warning","message":{"text":"_rebuildElements (cognitive 47): _rebuildElements has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 5 (16 pts), other 11, loops 5 (10 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2efc36dbe8915baaa173293b685eec2712a9428c17b8a8778251166f8296e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadowRendererDirectional.cull (cognitive 46): ShadowRendererDirectional.cull has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 6 (10 pts), ternaries 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"671b24959e339eea3cfd6e1949b86b48b87f03f13ff07d3970acbe2409fd203d"}},{"ruleId":"D2","level":"warning","message":{"text":"DdsParser.open (cognitive 46): DdsParser.open has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (32 pts), ternaries 4 (9 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9d5f45000ed93d44730b751c5cd3bdc25e52733950242997d1a84f54f47e69"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 45): constructor has cognitive complexity 45 (threshold 15). Drivers by points: other 24, if/else 9 (10 pts), boolean chains 7, ternaries 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"601f90957bc835f694766bcf3adcf251b9bf3a57434c02b80084ed3e62fac4a2"}},{"ruleId":"D2","level":"warning","message":{"text":"updateStateFromTransition (cognitive 45): updateStateFromTransition has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (28 pts), ternaries 4 (9 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"24005a74d0125d8bd05c89a1cd28228ef775a0462dacd37a7e4c1dcd8c754c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"RigidBodyComponentSystem._cleanOldCollisions (cognitive 44): RigidBodyComponentSystem._cleanOldCollisions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (39 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fadb973dd0c128017289ac52c9923a1b0c2ba8fc3f8b6dee5cdde08e69bf4d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.endRenderPass (cognitive 44): WebglGraphicsDevice.endRenderPass has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7d8eb58787cb20d8cffabc932ca82271b732e12c1d8331b8a0e657ea6922d6"}},{"ruleId":"D2","level":"warning","message":{"text":"_logRenderActions (cognitive 44): _logRenderActions has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 9 (36 pts), if/else 3 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942eba32ada0a08add522b6b6fe75daf0f6d2cc999e003ec4b36947e690c433"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchManager.prepare (cognitive 43): BatchManager.prepare has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"512146f5b4ee22a17d21186a995b862dc4e7056916112b8a3b051a80bd657ed8"}},{"ruleId":"D2","level":"warning","message":{"text":"_validateCopy (cognitive 43): _validateCopy has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 11, other 9, ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"de301ea5fd8cb35e53ee384558fce04730aa51cd5ef7f8c73495bccb6149fca4"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameGraph._compilePasses (cognitive 42): FrameGraph._compilePasses has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/frame-graph.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d57874f594b981394b54dbebad7cacf738158591edf2046264a66dd2c043797"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 42): constructor has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 16, ternaries 2 (4 pts), other 2 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 21 belong to 30 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065491e6ddef8780ce629ce1f6ab2f2a9aa71ce28c19db498530b04a84debf0"}},{"ruleId":"D2","level":"warning","message":{"text":"setupForRenderPass (cognitive 42): setupForRenderPass has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 7 (14 pts), boolean chains 7, loops 1, other 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c464ef3c034b1825814a0ac686fccdeed33ac744178ee5e9d284e872ec08dd"}},{"ruleId":"D2","level":"warning","message":{"text":"HdrParser._readPixels (cognitive 41): HdrParser._readPixels has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 5 (16 pts), boolean chains 3, ternaries 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/hdr.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20ae698c4b0b0c5d7edac439a164dd1eb1188f7d63b9ccaa29a7c627d4c9308"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimEvaluator.update (cognitive 41): AnimEvaluator.update has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 6 (11 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1d1080d1cc8ddcd4a4c4f45cf7071175ceb99334ee1c424a02ab3b652b261"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorldState.assignSplatOffsets (cognitive 40): GSplatWorldState.assignSplatOffsets has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a35ea255fd2111d75a6eb9a81a1547ed32ee2a6b0d14d8843e49e3e66875f"}},{"ruleId":"D2","level":"warning","message":{"text":"EventHandler.off (cognitive 39): EventHandler.off has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 5 (12 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/event-handler.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58252364aab86c843111c41b5f0312b85ee54219f835fa961347fd03e65c454"}},{"ruleId":"D2","level":"warning","message":{"text":"gsplat-sort-worker.SortWorker::update (cognitive 39): gsplat-sort-worker.SortWorker::update has cognitive complexity 39 (threshold 15). Drivers by points: loops 10 (18 pts), if/else 10 (11 pts), ternaries 4 (7 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515cab97187ad1e0009c2c2eb4ddfa58022637357cdbe19a810277ac32376db"}},{"ruleId":"D2","level":"warning","message":{"text":"Mesh.update (cognitive 39): Mesh.update has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (37 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"93555c81789fae47c4e13fe88c2324ffec9f20cdca1020e41ce8590bb6a6fac6"}},{"ruleId":"D2","level":"warning","message":{"text":"Skeleton.addTime (cognitive 39): Skeleton.addTime has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/animation/skeleton.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aff2ee7bd6ccd7b8adf92d50f01f57ce4391d52ff7663f4658f0df2fd0ccc7"}},{"ruleId":"D2","level":"warning","message":{"text":"_allocate (cognitive 39): _allocate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (8 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"6621f840b9338d71a6df8d29633426dc47fd17aba86b5f7bb3f01ab912ef5276"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor::read (cognitive 39): constructor::read has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 4 (14 pts), ternaries 3 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7039e49b21af308c06f617e01f2ef594723d731de50931a114b63adc60c2aa0e"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorkBufferRenderPass.update (cognitive 38): GSplatWorkBufferRenderPass.update has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 4 (9 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afe0a49c2a2e0834f33f8401274197e1833478f96729ac4f86181ee9957a080"}},{"ruleId":"D2","level":"warning","message":{"text":"Lightmapper.collectModels (cognitive 38): Lightmapper.collectModels has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b4b4cabfdec27d1a912e5c7e416e033bef430811fb0608793ab6f190680582"}},{"ruleId":"D2","level":"warning","message":{"text":"khr-lights-punctual.createLights (cognitive 38): khr-lights-punctual.createLights has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (31 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 27). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-lights-punctual.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"346b37037265f7cab8e46b9bb3ad809809ffbd47e13dab70f421e6e4db41f1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureAtlasHandler.patch (cognitive 38): TextureAtlasHandler.patch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (33 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 17). Of this number, 35 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture-atlas.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6da8ff58e9c4fdf4a1f1b9a8aab591ea89a19d9bb7d309d9f4877512d2e6c7c"}},{"ruleId":"D2","level":"warning","message":{"text":"createMaterial (cognitive 38): createMaterial has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (32 pts), loops 1 (2 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5fcfdfcbea3fcc2808fd290107f99c98182f437121e50723d6019649566f12"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 38): update has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 7 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"edced09d2720b531e895b2d957c79374be196510ea65558532ce0af8593816ff"}},{"ruleId":"D2","level":"warning","message":{"text":"renderForwardLayer (cognitive 38): renderForwardLayer has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 3 (10 pts), other 8, boolean chains 3 (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 18 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":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"febedeb1d61ac166f11d87cae1171b17782c478394b0d4f1ab85969289ec37c2"}},{"ruleId":"D2","level":"warning","message":{"text":"khr-draco-mesh-compression.createDracoMesh (cognitive 37): khr-draco-mesh-compression.createDracoMesh has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (9 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 19). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 23, 75, 20). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-draco-mesh-compression.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1030a1c242c2cf9fbd2e29e8c481b6b8f7f097d5172f8003a3631438a46bb3e"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild (cognitive 37): rebuild has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 12 (14 pts), boolean chains 4, loops 3 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"056970f6e589652340485afa4cdab74709f3324d5c1e247fd084eac76a917ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshInstance.aabb (cognitive 36): MeshInstance.aabb has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 1 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"20303139d3dfaca3994f589e9af759931e2737ab4c82c3acef971625e5e2ee96"}},{"ruleId":"D2","level":"warning","message":{"text":"glb-parser.createMesh (cognitive 36): glb-parser.createMesh has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 16). None of this is in the body itself: all 36 points belong to 2 function literals inside it that branch (lines 425, 491). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f878f95188e2f67b5380a25304663eccef3d0d8add7272b41ca9b7792c1c7065"}},{"ruleId":"D2","level":"warning","message":{"text":"CubemapHandler.loadAssets (cognitive 36): CubemapHandler.loadAssets has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c34a61eb2139dd4144693c8b67bca9aa03552667f80732fabe9ac202ea15a08"}},{"ruleId":"D2","level":"warning","message":{"text":"reprojectTexture (cognitive 36): reprojectTexture has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 8 (11 pts), boolean chains 4, other 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":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cf9f441e5ef3b8f14ce1fa84554b0b90bcd5191bb5fea0853768897a2f7782"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimStateGraph.constructor (cognitive 35): AnimStateGraph.constructor has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 5 (14 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/state-graph/anim-state-graph.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd117e020a6cd6b7e3e2c5f5246aec5706d656fde2808cd0e1f837dbf6a8c1c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementComponent._sync (cognitive 35): ElementComponent._sync has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a23f4cacf17cd0a4bb8293c898093a7fffb0d04962f4926fb0abb63bcfeb69"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.copyRenderTarget (cognitive 35): WebglGraphicsDevice.copyRenderTarget has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 7 (9 pts), boolean chains 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a905fa6d36df06399125a8c4514b820395216864a308f9c9afe7913c48c3f6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch (cognitive 35): dispatch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 8 (12 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"668e1543b93495c2cab1ed83da0afda4e844cec824a1858f5bc3a9b09459273f"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphNode._sync (cognitive 34): GraphNode._sync has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 1 (5 pts), boolean chains 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7085ed60e951866643b8944d34477e13a11b48b95e7c98f11acc21c4035c95a"}},{"ruleId":"D2","level":"warning","message":{"text":"gsplat-lod-tree.readEntries (cognitive 34): gsplat-lod-tree.readEntries has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 7 (12 pts), boolean chains 4 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-lod-tree.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e4c04d8b70b4e354a82da71836895c4571023a3758b8c82604a66ba16c7cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorld.cleanupOldWorldStates (cognitive 34): GSplatWorld.cleanupOldWorldStates has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0a9e1931475f8faef11544f431ffebbfb020707410138a6a6622598f886ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationComponent.update (cognitive 34): AnimationComponent.update has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 6, 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":"src/framework/components/animation/component.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3ecb5642d0e24138978c129450d55430570a920b745b7e82d84d1132e29dba"}},{"ruleId":"D2","level":"warning","message":{"text":"startRenderPass (cognitive 34): startRenderPass has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 2 (8 pts), boolean chains 3, loops 1 (2 pts), other 2 (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b336aa2f54d89fb60e5321699de97483cf6052e78ff0ca6a9dff17c60c7d0513"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 34): update has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 3 (8 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 17). Of this number, 24 points are the body\u0027s own statements and 10 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":"src/framework/xr/xr-anchors.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"57294d890da823bfa49cde18db05cdb61191ccfc058fd28947ff61c3373a73a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Culler.updateLightVisibility (cognitive 33): Culler.updateLightVisibility has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 6 (7 pts), boolean chains 3 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc564a35452811e2e84bdf1f70d1bf3bb7da7edb852224476794068dc8b135b"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatComponent.castShadows (cognitive 33): GSplatComponent.castShadows has cognitive complexity 33 (threshold 15). Drivers by points: loops 4 (16 pts), if/else 7 (15 pts), boolean chains 2 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3586abe274c77ab026bdd5ed452c8a542a112e360b5fe2451921d3a65d15259"}},{"ruleId":"D2","level":"warning","message":{"text":"sprite-sheet.parseSpriteSheet (cognitive 33): sprite-sheet.parseSpriteSheet has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 6 (10 pts), boolean chains 7, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sprite-sheet.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd726691fd0526073a045e904d8e067533df8d58f97da967647173a1af2238e3"}},{"ruleId":"D2","level":"warning","message":{"text":"HandleGizmo._boxHandles (cognitive 33): HandleGizmo._boxHandles has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (8 pts), ternaries 3 (8 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89979f28f2a694a2ce975d529ae38d6aa02147cda8e61c4b0b93912ccc6ef5b"}},{"ruleId":"D2","level":"warning","message":{"text":"RoundedBoxGeometry.constructor (cognitive 33): RoundedBoxGeometry.constructor has cognitive complexity 33 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 4 (10 pts), boolean chains 1, ternaries 1 (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/rounded-box-geometry.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f2c9bec276493d4ed4f980a83d9f9e69da2e46b054faf7248be0ce1a008014"}},{"ruleId":"D2","level":"warning","message":{"text":"LightTextureAtlas.subdivide (cognitive 32): LightTextureAtlas.subdivide has cognitive complexity 32 (threshold 15). Drivers by points: loops 4 (20 pts), if/else 6 (11 pts), boolean chains 1 (nesting depth added 21). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item 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":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dbfa860ab9abf5d1f7e4df26c70bf71bf66307f5464d537d7da083785eb64f"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderComponent.castShadows (cognitive 32): RenderComponent.castShadows has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (11 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca592fe5e6e76139a6cfe6039848643f08a55ebcc2a33057562a517dd16b237"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptComponent.scripts (cognitive 32): ScriptComponent.scripts has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 2 (5 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b83f2b33418694725b983e18c32b5451cd28b5f06faf2c24b8d7442e60b9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimEvaluator.addClip (cognitive 32): AnimEvaluator.addClip has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"12475d5ddfea1c30ed1e82e16979750ee60c481f3f4b82b0440f7d6a4312714f"}},{"ruleId":"D2","level":"warning","message":{"text":"entity.resolveDuplicatedEntityReferenceProperties (cognitive 32): entity.resolveDuplicatedEntityReferenceProperties has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 3 (7 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/entity.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d652cadebb336639847de0548888a21c8a9d08db556d85255c10384ac2f7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"setCameraUniforms (cognitive 32): setCameraUniforms has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 11 (15 pts), if/else 7 (12 pts), other 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d369bab75e0731788e7c7ba5be948b9c0b6770fba709f530f0b9ce71cb1828c"}},{"ruleId":"D2","level":"warning","message":{"text":"computeDistanceRange (cognitive 32): computeDistanceRange has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), ternaries 5 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd6da8c31f09a6b60fc354940b213a333f8db4f13459492c6f6276cd3c3c96"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteAnimationClip.sprite (cognitive 31): SpriteAnimationClip.sprite has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/sprite-animation-clip.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e044e66a3ab9a82dfc07ab2deac9afe1e8d3af2c62ec8a21b3c405446fb62428"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptRegistry.add (cognitive 31): ScriptRegistry.add has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 11). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 159, 134). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-registry.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"036e7560767811accd6dd6e397c1f6c1e22230bae6ae6406e69f950ab52a6c97"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadowRenderer.submitCasters (cognitive 31): ShadowRenderer.submitCasters has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d668966203fc545b72cdc1371fd45da810e54af0cb9afd2c37b837f78a3a3043"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundingBoxGizmo._drawBrackets (cognitive 31): BoundingBoxGizmo._drawBrackets has cognitive complexity 31 (threshold 15). Drivers by points: loops 6 (15 pts), ternaries 2 (11 pts), if/else 2 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/bounding-box-gizmo.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0acc070f8f1c7d50479cf236793380673dd72cfba44f94daf0b734983b1eba"}},{"ruleId":"D2","level":"warning","message":{"text":"attachTexture (cognitive 31): attachTexture has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, other 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca4d04137f63882d737837b444136c369784d4a7ec80e3e0c4a138b717d207f"}},{"ruleId":"D2","level":"warning","message":{"text":"get (cognitive 31): get has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (14 pts), other 7, ternaries 6, loops 2 (3 pts), boolean chains 1 (nesting depth added 7). Of this number, 30 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":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4b33b59a423b5feee4962b573e33f75bab6d0fd8fb4a7efdbc9554e3064245"}},{"ruleId":"D2","level":"warning","message":{"text":"beginFrame (cognitive 31): beginFrame has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, error handling 2 (5 pts), loops 2 (3 pts), other 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc91a7978d8912a1172c42e6dec3dd4606be0d465215368cfc93c98913cf793"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderGeneratorStandard._addMapDefines (cognitive 30): ShaderGeneratorStandard._addMapDefines has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (26 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"589e84cff73a904393cfb792a65978c120f8ab3ec50911d0798a141f5cbd0101"}},{"ruleId":"D2","level":"warning","message":{"text":"GltfAccessor.getData (cognitive 30): GltfAccessor.getData has cognitive complexity 30 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 9 (13 pts), boolean chains 3 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/gltf-accessor.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d824cf8058d7db37e431bca694e3ff6015519da57ad6b189d6169d8061c8dcd3"}},{"ruleId":"D2","level":"warning","message":{"text":"XrHand.update (cognitive 30): XrHand.update has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 3, loops 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":"src/framework/xr/xr-hand.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"537048defd9ee6dd669586779a9eaecb10dbea5f7d585fb4f722d59f48b67741"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementInput._onElementSelectEvent (cognitive 30): ElementInput._onElementSelectEvent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"9351a7fbf8776e7c7383446c128dcee639b889108afdd7639967a4f284a57a68"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuCompute.updateBindGroup (cognitive 30): WebgpuCompute.updateBindGroup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 6 (12 pts), boolean chains 1 (nesting depth added 15). Of this number, 29 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":"src/platform/graphics/webgpu/webgpu-compute.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b51420b2528ab4db8547a443a82f6877c73196b20519595c209e91ebe79e67"}},{"ruleId":"D2","level":"warning","message":{"text":"initDepthStencil (cognitive 30): initDepthStencil has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85bc307c6045a3c228573c7719c9412d1f3a9adc72500364f53893202311075"}},{"ruleId":"D2","level":"warning","message":{"text":"Tags._processArguments (cognitive 29): Tags._processArguments has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (4 pts), boolean chains 2 (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":"src/core/tags.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5ce5189b7f9c2076ec4e2c88bcbd4f19a260e1b6e5132ebb67dc3bdfc833a4"}},{"ruleId":"D2","level":"warning","message":{"text":"markup.resolveMarkupTags (cognitive 29): markup.resolveMarkupTags has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 6 (7 pts), ternaries 1 (3 pts) (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/markup.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9646cfe3d11ad553f1c907543e2830b06a4fad52d741daa6ec69a8ad4fa7501b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelComponent.mapping (cognitive 29): ModelComponent.mapping has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 2, ternaries 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a013595cc0c6c65b35b5a4609906e2e380c3ad95f4261f189ce817ce06f4d7da"}},{"ruleId":"D2","level":"warning","message":{"text":"draco-worker.DracoWorker::decodeMesh (cognitive 29): draco-worker.DracoWorker::decodeMesh has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 7 (8 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-worker.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6495de72d3152c649e2d579b2fb9223f872c69a2afeb9a5d635bdec2edbb982"}},{"ruleId":"D2","level":"warning","message":{"text":"texture._completePartialMipmapChain (cognitive 29): texture._completePartialMipmapChain has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (19 pts), boolean chains 6, if/else 3 (4 pts) (nesting depth added 13). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 2 function items inside it that branch (downsample, isHtmlElement). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"53766b2083e1916a708a9e748ad6b57b2a00279b843b800a02972ea3facba88a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppBase._parseApplicationProperties (cognitive 29): AppBase._parseApplicationProperties has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c7309adba0cab8c3e6a3f13e451d7f95cfe1f85b31d34b650deeffcea4128a"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuGraphicsDevice.endRenderPass (cognitive 29): WebgpuGraphicsDevice.endRenderPass has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (12 pts), boolean chains 3, loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceb7c103dcffa6213632c45d100bd42364196fda2f52cbf66ec4b294be24bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"play (cognitive 29): play has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 1 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f1ef6444d1f9daadc4aeb3f7672f340363d6bcbc286859dd6911fa386d2710"}},{"ruleId":"D2","level":"warning","message":{"text":"_setupLight (cognitive 29): _setupLight has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 6 (7 pts), boolean chains 4, other 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7f2f9c92d49dd540d03e5c9f08021f7b102e0a2b9e0ce623d6ef67af05faa6"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 29): load has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), other 3, error handling 2, loops 2, boolean chains 1, ternaries 1 (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 4 belong to 16 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5420b1863708980eb6e5db28e38633402b3212b76005482afa8f0f636510ad"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorld.applyWorkBufferUpdates (cognitive 28): GSplatWorld.applyWorkBufferUpdates has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 11). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 961). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d96f56a6257140a8cdc823ea2bb95abcebefbf652b9f7bfd055506895a2b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"khr-gaussian-splatting.createGSplatData (cognitive 28): khr-gaussian-splatting.createGSplatData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 5 (10 pts), boolean chains 3 (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-gaussian-splatting.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a4bf6436e8aba9e59c253aaab463caac4be18a1ddac230bd8cbef02de94c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelComponent.onEnable (cognitive 28): ModelComponent.onEnable has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"79afa34f36cbb8d721bf7cc6174b8de336ee165ca9d580fe47df1315b9c542bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ParticleSystemComponentSystem.initializeComponentData (cognitive 28): ParticleSystemComponentSystem.initializeComponentData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/system.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f032ae5a5c8a3bf533d7c450ca568d060338aaf2b032a387deeab9878c77adf2"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchManager.collectBatchedMeshData (cognitive 28): BatchManager.collectBatchedMeshData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c9eb4ef5a8f59053f475f0a68d04a73ee23bd1edcea2695b086ea6a5c9eb53"}},{"ruleId":"D2","level":"warning","message":{"text":"glb-parser.createCameras (cognitive 28): glb-parser.createCameras has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (23 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 19). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 1203). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49e229f3160c7cda43b7f209cec56c394a288a5c7f50bcee137de6195222079"}},{"ruleId":"D2","level":"warning","message":{"text":"basis.prepareWorkerModules (cognitive 28): basis.prepareWorkerModules has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 2, error handling 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (wasmSupported, a function literal at line 68, a function literal at line 86, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff414f37437c47b9f295a723d454fb6167af9a7fe218a7b7b8f8ca4b27e6a04f"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassPicker.execute (cognitive 28): RenderPassPicker.execute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (7 pts), loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/render-pass-picker.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8e91d542cc05d06367f133ea1139380dee5f8e7f6d4308289b5385cb20a7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"LightGizmo._drawSpot (cognitive 28): LightGizmo._drawSpot has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 7 (11 pts), loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe3476eb04338efe073cd34eba8fd8aaf6dd0ff5f22669bd65e7ecbdd9e9ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniStats.postRender (cognitive 28): MiniStats.postRender has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (9 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb94d4d3f02cfccd7d272ad9b210e5616853b509134595f534919ec86b48b2"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureRenderer.draw (cognitive 28): TextureRenderer.draw has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (10 pts), if/else 5 (6 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0b02afcb97a247424d43fb91225fbe529c94c753a9bdae0797da8808afadaf"}},{"ruleId":"D2","level":"warning","message":{"text":"copyTextureToTexture (cognitive 28): copyTextureToTexture has cognitive complexity 28 (threshold 15). Drivers by points: other 11, if/else 6 (9 pts), ternaries 4 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4306645fb04ffb35aa165530a586e217368f1fdb79e04c761bcd4cd92f0b06c2"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 28): update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 3, other 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4cda3ed75bda3246deb3b74ec006cde75c1f6f144d76705b5b43efe0371336"}},{"ruleId":"D2","level":"warning","message":{"text":"renderLayerRenderStep (cognitive 28): renderLayerRenderStep has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, other 2, ternaries 2 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e8be2237eac97e58014ebf01bc333f7597741233baf64265ef8e1e81821229"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockAllocator._defragIncremental (cognitive 27): BlockAllocator._defragIncremental has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4e65fbec240d65677510158149ca801e091d9a2735c1bc8b54973491519e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimClip._update (cognitive 27): AnimClip._update has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-clip.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b6b6a78f6e707ffe8eb895df1e8a3c62eff559f4d63acd6358c3889857613"}},{"ruleId":"D2","level":"warning","message":{"text":"LightSlotUniforms.appendFormats (cognitive 27): LightSlotUniforms.appendFormats has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (27 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab15956df07d589c770a37730193730d0d4726d9b7dcfc60da67df25a9d8a8d8"}},{"ruleId":"D2","level":"warning","message":{"text":"SkinInstanceCache.removeCachedSkinInstance (cognitive 27): SkinInstanceCache.removeCachedSkinInstance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (27 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/skin-instance-cache.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb90320afb34f59d13419fdd67242094f808d430e03e6df8f92d3b65357bb2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementInput._getTargetElement (cognitive 27): ElementInput._getTargetElement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"807e6efce441997428892b2ebecce263dcf605acb348b5a95683c9850bed812d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonStandardMaterialParser.initialize (cognitive 27): JsonStandardMaterialParser.initialize has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/material/json-standard-material.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be1d072dfbd97de4654cd4b513f95941abd6453a4c3e8d09205b9f19b649474"}},{"ruleId":"D2","level":"warning","message":{"text":"Asset.file (cognitive 27): Asset.file has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 6, loops 1 (3 pts), ternaries 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":"src/framework/asset/asset.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"551a060eaf2bbccadf59c7ba9433980faadd955c7ee19a5a0545d6fadaec8e67"}},{"ruleId":"D2","level":"warning","message":{"text":"initGraphs (cognitive 27): initGraphs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (7 pts), loops 3, boolean chains 2, other 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132bec2a39d085a82ca2b98269300893a9b317b12450d560f64c3698ec2ecd2"}},{"ruleId":"D2","level":"warning","message":{"text":"LightTextureAtlas.update (cognitive 26): LightTextureAtlas.update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (9 pts), boolean chains 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":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d955e7e6911cee011068468382eeca009b907f0e64361b623a2fa811a630c9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer.collectLights (cognitive 26): Renderer.collectLights has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"da76ae452f8a8c87a9ba613fc0d73ee38fde1be35471da322e578da23669a615"}},{"ruleId":"D2","level":"warning","message":{"text":"TextElement.font (cognitive 26): TextElement.font has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f3c875a52fe537f0cc71699d2cc700716b9d330b39d9d0f4024bb53b0cc7e"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateMesh (cognitive 26): _updateMesh has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1614afcd3e1a0155df03bbb82f54adb91262cca4244540d6508fdcc44b1682a1"}},{"ruleId":"D2","level":"warning","message":{"text":"_getSelection (cognitive 26): _getSelection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), ternaries 1 (5 pts), boolean chains 3, other 1 (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":"src/extras/gizmo/gizmo.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d607610d2f2f2edcf21d4955c13ebec8546474679c733600ed617ac27bae4dc"}},{"ruleId":"D2","level":"warning","message":{"text":"collectDirectionalShadowLights (cognitive 26): collectDirectionalShadowLights has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 3 (9 pts), boolean chains 1, other 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1827655bc015a54b511ee1a55825fc8433f5438340c8de66aa7738e515a17915"}},{"ruleId":"D2","level":"warning","message":{"text":"BundleRegistry._onAssetRemove (cognitive 25): BundleRegistry._onAssetRemove has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (8 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":"src/framework/bundle/bundle-registry.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d69a45ad1c8d86bc5bd756cbc9b333c7d1144a233b40684119e5d8e96c432de"}},{"ruleId":"D2","level":"warning","message":{"text":"LightSlotUniforms._dispatchDirectional (cognitive 25): LightSlotUniforms._dispatchDirectional has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 5 (9 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 14). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c034e2839a12e9a48aa91669f7e8fac5891dab86c985178694ab8aaabb17f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ply.readPly (cognitive 25): ply.readPly has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 4 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (find, startsWith, a function literal at line 544, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e7b32913a8881e11d2d4b115f882a0bf95471a694147abd22be98754eb673"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglShader.finalize (cognitive 25): WebglShader.finalize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (4 pts), loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3da0b4d9d41f237bcca28c60c124f6fdfdc6a8066a5ad0e8011e1ddfaa1a761"}},{"ruleId":"D2","level":"warning","message":{"text":"Lightmapper.calculateLightmapSize (cognitive 25): Lightmapper.calculateLightmapSize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b82dd32ba1b72c20c0d9028a77f4f23aafb1493463e99ece60405c4ad69a3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementInput._onElementMouseEvent (cognitive 25): ElementInput._onElementMouseEvent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8a68f54cb3753bad00e97e5c05074d5a3fa6e61e7ee5bb1f0f385710be30f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelHandler.patch (cognitive 25): ModelHandler.patch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (25 pts) (nesting depth added 11). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 45, 47, 55). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/model.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f1c7738f725addad60615245719e49f69abf68207acfa5a35faf065bbd1e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"createBufferViews (cognitive 25): createBufferViews has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 11). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1816, 1791, 1805, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e197dec2b0af34d1cff8cc07685d229de842c69be48472bee96e76f964e7cbd"}},{"ruleId":"D2","level":"warning","message":{"text":"material (cognitive 25): material has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"6232831a485318a770282b6711afea093fb9a6c1e7f5270a6ccf44f649bdc4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"processAttributes (cognitive 25): processAttributes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (10 pts), boolean chains 2 (nesting depth added 15). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 452). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39a7147215b44cf0222f5075183c13d0cece0c85760476e8cdcf764ff72b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateEnvOptions (cognitive 25): _updateEnvOptions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d642eab9e3fddefb17ac5a13481e9940635cb1105d1bb3b83e5c69e8030e02"}},{"ruleId":"D2","level":"warning","message":{"text":"createDefinition (cognitive 25): createDefinition has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), other 5, loops 2 (4 pts), ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (getDefines, getDefinesWgsl, normalizedOutputTypes). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-definition-utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e5678196486ca0ed9e9a2448fc5ee31194ac69de0e4a92b4df4f950cce046e"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexFormat.constructor (cognitive 24): VertexFormat.constructor has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 7 (10 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-format.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0156041a6cb06eda477f87aab0ee9212eb08091790d3d7903538a3599bc50a"}},{"ruleId":"D2","level":"warning","message":{"text":"Culler.cullLights (cognitive 24): Culler.cullLights has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (22 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7005eaa310077f5ab266b98cb92e88ff43598b26be4fb853b5ad62398fbee2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser._parseTag (cognitive 24): Parser._parseTag has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/markup.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a842a5ff53295f77506167c588c690e4b0ffa46eb8b9af883999ac935e97d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelComponent.castShadows (cognitive 24): ModelComponent.castShadows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6c737fda527a19f6d8cd35e6940f8871e7bf234022775f365215be4748377f"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderProcessorGLSL.processUniforms (cognitive 24): ShaderProcessorGLSL.processUniforms has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 pts), ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 336, 296, 306, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f113ffdc59a7494d58b8658394caf5ecc2f512c50b6b3ec02e3d198bcf9ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.setDepthState (cognitive 24): WebglGraphicsDevice.setDepthState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb70efdce4e127086b9348e78ffd7474204bf2d9afa64e2d81447bd3e121670b"}},{"ruleId":"D2","level":"warning","message":{"text":"VoxelOccupancy._decodeBlocks (cognitive 24): VoxelOccupancy._decodeBlocks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (11 pts), boolean chains 1, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf3e2387b2445d4e4cd6b6db609ce5f39008cc701594f30fc129489c581dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.isPressed (cognitive 24): Controller.isPressed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Controller.wasPressed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5c90b8105eece21af7829c82b564d97f22cea52a8bb13eed564cb89963c6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.wasPressed (cognitive 24): Controller.wasPressed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Controller.isPressed) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cac30506ab41a37abc13859c6b0d0da4af38bedb89f59b46165fda1cda1092"}},{"ruleId":"D2","level":"warning","message":{"text":"onEnable (cognitive 24): onEnable has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d0e3b53d4be2ed75e6d61cca34cafcc475c63a2969a6199873e39fab9b3df5"}},{"ruleId":"D2","level":"warning","message":{"text":"addTime (cognitive 24): addTime has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 4 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bac61b84b7e3df2835382c7061662ab2035f7b7ba086836e18099e4ca40ef"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 24): constructor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, other 5, ternaries 2 (4 pts), loops 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 209, 223, 203, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1fcde7ffe7e97bd81989295d757a8367e19f6ea8d760f81300bc7baba06fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"_createProjectorCompute (cognitive 24): _createProjectorCompute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 8, other 3, boolean chains 1 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 3 belong to 12 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc21c8894181b83436eeed3c1da27a37e0a703990fece53b86b026b51cbb46f"}},{"ruleId":"D2","level":"warning","message":{"text":"getSampler (cognitive 24): getSampler has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f247217000a07e166d0b17f3174850a0e2cd4d8b4ebc4820d4249e69481ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardMaterialMapTransforms.collectUnapplied (cognitive 23): StandardMaterialMapTransforms.collectUnapplied has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1285e159d198ac4b0606bff4dade14ed32f6dc5ab5dd4405c9fafd6670dc09cf"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexIterator.writeData (cognitive 23): VertexIterator.writeData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"07084f191d47d7944ebcd021f1c4333a15f0b3572def080cefcf6496fbc8ee87"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexIterator.readData (cognitive 23): VertexIterator.readData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (7 pts), ternaries 1 (4 pts), boolean chains 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":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec4e5750884950dbc4622756774a84234a815f1985344a9415c6943afd04b65"}},{"ruleId":"D2","level":"warning","message":{"text":"Morph._initTextureBased (cognitive 23): Morph._initTextureBased has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (8 pts), ternaries 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/morph.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"750a5ce99c82d89b6a5138544f11c452ee5e894be14eb88782bd7425e23b4dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer.updateShaders (cognitive 23): Renderer.updateShaders has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (20 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5028096b651597639362aea532abafd65c7b490bd237e192aae91e5d6586fe"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.activateShader (cognitive 23): WebglGraphicsDevice.activateShader has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (23 pts) (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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"99713b4b610ccac2759853f9ffe3655d6701d3a694cf99437e3e018ae468b172"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteComponent._showFrame (cognitive 23): SpriteComponent._showFrame has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"164021395aee13384339491b2bf1224813fa31bfca7ae680c6005a423942e3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteComponentSystem.initializeComponentData (cognitive 23): SpriteComponentSystem.initializeComponentData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/system.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5b01929f86a97c6ad3061a947cd0227e7fb6b19509bd3ae533bc9979750ea"}},{"ruleId":"D2","level":"warning","message":{"text":"HandleGizmo._resizeBox (cognitive 23): HandleGizmo._resizeBox has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafb12a2147f3da9f42e6eb9a0bc4d045263af0d4af5f3f3d80ec8dfec9fc09c"}},{"ruleId":"D2","level":"warning","message":{"text":"readTextureAsync (cognitive 23): readTextureAsync has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7, other 6, loops 2 (5 pts), ternaries 3, boolean chains 1, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2837, a function literal at line 2830, release, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"541e882a51da1b381af117492466f37009b8a71c2f7347ceab6f18e812027866"}},{"ruleId":"D2","level":"warning","message":{"text":"createPrimitive (cognitive 23): createPrimitive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 2, boolean chains 1, other 1 (nesting depth added 8). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 867, 878, 877, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02359e60789465311ba85d5a90024a9f36aa7e19406440f02242690aa1bf4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"generateWireframe (cognitive 23): generateWireframe has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (8 pts), loops 3 (7 pts), if/else 3 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc22e7e66928d2a5c84a0be171b76b80b9efd0ca5f43fa39515107783c1cd80f"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 23): load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), other 4, ternaries 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbbf869b12bc39a2b6fceffc4ed10aac458f22449c03009a41d25a91151c573"}},{"ruleId":"D2","level":"warning","message":{"text":"cullMeshInstances (cognitive 23): cullMeshInstances has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (14 pts), ternaries 2 (5 pts), boolean chains 3, 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":"src/scene/renderer/culler.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f5df0062bce76cb507e2e36ce636268259f31f6ea0061914945add03cda5f1"}},{"ruleId":"D2","level":"warning","message":{"text":"collectAttributes (cognitive 23): collectAttributes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-definition-utils.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"87915dda07a67895d173ed25b780cf13a6924c460e3eb2c2f314308c66530ca1"}},{"ruleId":"D2","level":"warning","message":{"text":"updateClusters (cognitive 23): updateClusters has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (9 pts), ternaries 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/world-clusters.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"920a731d8e3cbc5b8041dcf160719c37d32af013b6cb1690daa902607f1250e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Frustum.add (cognitive 22): Frustum.add has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 2 (10 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/shape/frustum.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe878d07a4b278a0a26b1a024e75b8f51f216739ad8d30422277b321b941e047"}},{"ruleId":"D2","level":"warning","message":{"text":"ply.readCompressedPly (cognitive 22): ply.readCompressedPly has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 4 (8 pts) (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function item 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":"src/framework/parsers/ply.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c22abb3eddf2cb0364e6f88bce5ac593917c1450da2c71689d7fc40b4d1eb2b"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatManager.update (cognitive 22): GSplatManager.update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, ternaries 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de4714a8a586e3246f4d0386855df1a7f5261c6a6f300d1540ee2c8758f50bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Atlas.upload (cognitive 22): Atlas.upload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (10 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/font/canvas-font.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3bc371de1a11089602dac4dcfcbb1aba98020c90d75615186702d6f677d772"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.setTextureParameters (cognitive 22): WebglGraphicsDevice.setTextureParameters has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"522c26da6f2ef614151495576030a55112f4a181c3af197576962d0f8387037e"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice.setBlendState (cognitive 22): WebglGraphicsDevice.setBlendState has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (4 pts), boolean chains 3 (nesting depth added 12). Of this number, 19 points are the body\u0027s own statements and 3 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92759d7fbacc4585d418b36ac442d7a7a74fe4b9c45cd33a6008d11ba4e51b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Lightmapper.renderShadowMap (cognitive 22): Lightmapper.renderShadowMap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"742ccbbe60f4719afaa5a0244ec03254302ac14b00211af19136f302b299614c"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchManager.generate (cognitive 22): BatchManager.generate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c27618b8533b722468b5a40a13d2a5012c83942b2b07cbe75ebd72843d4110f"}},{"ruleId":"D2","level":"warning","message":{"text":"SpriteComponent.clips (cognitive 22): SpriteComponent.clips has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc0d12c1348193885c8fa93eebd8146c891ec03d5d7d640dcac8f2d56fd1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"glb-parser.createVertexBufferInternal (cognitive 22): glb-parser.createVertexBufferInternal has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 6 (10 pts), boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"17039ad407acf468e027e1bb28a22915352117970807ecccf59eeba0e6c395d9"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraGizmo._draw (cognitive 22): CameraGizmo._draw has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (6 pts), loops 4, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/camera-gizmo.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ae6f6d6864599c2f3b86622aff23b3b0b9ff510dea8dcf45e3236db4d7c618"}},{"ruleId":"D2","level":"warning","message":{"text":"clear (cognitive 22): clear has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), other 4, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18ae3b53b3f971323a000d60239f09a2de4b7957afeac399177ac9139298400"}},{"ruleId":"D2","level":"warning","message":{"text":"_parseAssets (cognitive 22): _parseAssets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (8 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"400b3c6e0487bcb9b6904a04e947e0a87fc68986ba389d568b55cddf1fcfdbd7"}},{"ruleId":"D2","level":"warning","message":{"text":"loadBuffers (cognitive 22): loadBuffers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 1 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 1609, 1586, 1595, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6dfc9d8313ebe73c76a22530e3201e54ce0f17bb633606681f622bbed15ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"_cullEntry (cognitive 22): _cullEntry has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 2 (3 pts), ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a993dcd0ccb0e4301eca89b52a6a3947ff15e3fdc7aebb3b1bd7e8a010d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"onEnable (cognitive 22): onEnable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166c2f3e99b69e6c3a030d2c653a2dd86b3e3aca6f10735dbe4bc143820995d"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve (cognitive 22): resolve has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8759520db03c34763c51657b33572d409ac780b66244c78f4c329ff0d833e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"_intersectsRay (cognitive 22): _intersectsRay has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 7, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/shape/bounding-box.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff646e64d765ff9712887a8c9572c037023dff6e8aa9340fd855a8bf83d990bf"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockAllocator._findFreeBlock (cognitive 21): BlockAllocator._findFreeBlock has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ac60e5da2df5075cf4b6e5c2a340683f65a73185a19a2d758f3c5ee4864a70"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundingBox.computeMinMax (cognitive 21): BoundingBox.computeMinMax has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (19 pts), 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":"src/core/shape/bounding-box.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c21e841a0f1d3af2eaef582423b50bf739a6a35c7c9351769ce7113d961622"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassForward.updateClears (cognitive 21): RenderPassForward.updateClears has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 3 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a368d585465c811e5be48481c798842d698543052f6074cfa27143b10dd827"}},{"ruleId":"D2","level":"warning","message":{"text":"CameraComponentSystem.initializeComponentData (cognitive 21): CameraComponentSystem.initializeComponentData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/system.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5ee127149a2e1f74d05a9c04058ccda4259c611e1b0eb951a9edd43bc2ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderComponent.materialAssets (cognitive 21): RenderComponent.materialAssets has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a03b65154363a39b152c97d55811552b4eb9ba3e4904f2722759fc63237e13b"}},{"ruleId":"D2","level":"warning","message":{"text":"XrInputSource.update (cognitive 21): XrInputSource.update has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-input-source.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1581d3c115a4b23ae238dcabf3a5e6ccd9bd1671a9f8d67facd0834352a7aab5"}},{"ruleId":"D2","level":"warning","message":{"text":"basis-worker.BasisWorker::transcodeBasis (cognitive 21): basis-worker.BasisWorker::transcodeBasis has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (basis-worker.BasisWorker::chooseTargetFormat, basis-worker.BasisWorker::transcodeKTX2) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"552e03b4a0f451c09ca4f1de91a19d565d1fcdbb28ce3dbe05ca2d390ad0af4c"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureHandler._getTextureOptions (cognitive 21): TextureHandler._getTextureOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b7c27f9a2ad9d84266092ef94accef971f89e805a317f14e40eaacce8b617"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetRegistry.load (cognitive 21): AssetRegistry.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20 (37 pts), boolean chains 9, loops 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (AssetRegistry.load::_opened) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a60eea5befcb9e6352c83ddf511824200386dcbf7d3f75be5bb0e863bbba12"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimController._transitionHasConditionsMet (cognitive 21): AnimController._transitionHasConditionsMet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (2 pts), 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":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7886833bb33665cf0ffa71862b33f089d691cb2a17951a7d00ecb05723c5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationComponent.assets (cognitive 21): AnimationComponent.assets has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"src/framework/components/animation/component.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ed3efca7c45303e616f5b87a5535606b176f6c687f9beb2e4c2a6f90ed1120"}},{"ruleId":"D2","level":"warning","message":{"text":"initFromGpuDevice (cognitive 21): initFromGpuDevice has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9, boolean chains 5, if/else 3 (4 pts), other 3 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"266caa57402220246f157c74aa70ebe0c615680e63e9d6a57f94440961ef277e"}},{"ruleId":"D2","level":"warning","message":{"text":"createNodes (cognitive 21): createNodes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 1, other 1 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e98567972d1f1d2b816375009fc807ef7a6cefa3310c8a5cf8596725d8af3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"buildResourceFormats (cognitive 21): buildResourceFormats has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), boolean chains 4, loops 1, other 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"841f925e1e7f2bded90504ef78f8c6c90036c263c54c6c3130f056b754de3f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"writeNodes (cognitive 21): writeNodes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3 (nesting depth added 9). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 780, 808, 822). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"6328a057d1fa5d75a4343321e3a00b0cd1d8c80c67faa68cbc398c7cf59007ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_resolveEntityScriptAttribute (cognitive 21): _resolveEntityScriptAttribute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (7 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b1854a3ced939c2d72e9b3e8d70abf02a004ea2c487fa5b584ad3a935bbd14"}},{"ruleId":"D2","level":"warning","message":{"text":"_drag (cognitive 21): _drag has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 2 (6 pts), match/switch 1 (2 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":"src/extras/gizmo/transform/translate-gizmo.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a712c42c61de7d63d36d041ca4e2465c5fd0282870cc90ccf409ba2c1e9817"}},{"ruleId":"D2","level":"warning","message":{"text":"_drag (cognitive 21): _drag has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 2 (6 pts), match/switch 1 (2 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":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dabeafdcb6ee91580b1dd51ee4110eaf5b1cdc4958cfeda3c28cf1a71587b6"}},{"ruleId":"D2","level":"warning","message":{"text":"BindGroup._revalidate (cognitive 20): BindGroup._revalidate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (6 pts), boolean chains 2, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"66045c3164db60eba7f873aaa462e484bb6d3337fdd0dd556b3e7de7feb557cd"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardMaterialMapTransforms.update (cognitive 20): StandardMaterialMapTransforms.update has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b8864d948c3be9db99a3c1fac0e8f6be1f623ba7f8ee6052d0e775fd49f804"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshInstance.getMaterialBindGroup (cognitive 20): MeshInstance.getMaterialBindGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 4 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":"src/scene/mesh-instance.js"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05aae63a22e2175b73437a30a7239dccd9e3f499766677300f429a690e2adb4"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGraphicsDevice._multiDrawLoopFallback (cognitive 20): WebglGraphicsDevice._multiDrawLoopFallback has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 6 (8 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaf2738d154265e35630e1d8a61d58297266044f460eeb0221f4e62acdbafb7"}},{"ruleId":"D2","level":"warning","message":{"text":"basis.basisInitialize (cognitive 20): basis.basisInitialize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 6 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a87a68ad436a5f7d6cdbfb19ea3e851c4bdba2b419c70982cbfe4e6e2bb68f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TextureAtlasHandler._onAssetChange (cognitive 20): TextureAtlasHandler._onAssetChange has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture-atlas.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480f99e0345738b3bff42199d997535f27f7514417531f47a4609999b0db2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptAttributes.add (cognitive 20): ScriptAttributes.add has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 1 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 7). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 350). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbafcbe71f0e43b69378168ae56cfedbe5f1886a774762b2c4436449bc827509"}},{"ruleId":"D2","level":"warning","message":{"text":"WireRenderer._writePoints (cognitive 20): WireRenderer._writePoints has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 5 (6 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"00048d153bfcb81565d8a8ce38025052b9c3c7bde5274249d7e1be5b3533c4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuBindGroup.createDescriptor (cognitive 20): WebgpuBindGroup.createDescriptor has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4 (5 pts), boolean chains 4 (nesting depth added 5). None of this is in the body itself: all 20 points belong to 5 function literals inside it that branch (lines 121, 107, 163, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a99f57113b97b38ac611169f505426390f96be4f6a359d98155dbde63276d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 20): init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 1 (2 pts), ternaries 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcce0d05b8df656824b6ea13264f4fc3ccdde084db29be41b4d7b043fbc9d82"}},{"ruleId":"D2","level":"warning","message":{"text":"getRenderableHdrFormat (cognitive 20): getRenderableHdrFormat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"00491564f0785a3ee9c018b5f6f9ad99310a8993ffdb2d7a86662a15f61885b7"}},{"ruleId":"D2","level":"warning","message":{"text":"applySettings (cognitive 20): applySettings has cognitive complexity 20 (threshold 15). Drivers by points: other 20. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"39882bc09e68d50b6d358f16024b126aac0d23bb1605cd9dd28bff38da17741a"}},{"ruleId":"D2","level":"warning","message":{"text":"initColor (cognitive 20): initColor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (4 pts), boolean chains 2, other 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"464ee61f9330db5f1cc730f6bddd7e9044f04fdd3c958e159ddfb1c797e1764f"}},{"ruleId":"D2","level":"warning","message":{"text":"_execute (cognitive 20): _execute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (7 pts), loops 1, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35afa1825fa7d90b6cb80e896e7b8c94aa1b00e9d65e444747fed16f48c8fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"decompress (cognitive 20): decompress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 3 (6 pts), ternaries 4 (6 pts), boolean chains 1, other 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72718bf1ee1d4bf47da54bc0c3d7d6655d362bb6b6938af537253b8310aae6d"}},{"ruleId":"D2","level":"warning","message":{"text":"getRenderInfo (cognitive 20): getRenderInfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (4 pts), boolean chains 1, loops 1, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af687751287516125bbc19362e4c9fbfda6fb1dd3249cc1ef70dc4684ebec6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Tags._has (cognitive 19): Tags._has has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b46df198ea41be0468d6be839edc470b3bcbf0b718a4230ec69afa5eae5f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Shader.constructor (cognitive 19): Shader.constructor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75fb14440b7371fc8b22a5a138e29e97ed199c6cb0ab6b626bd117aa2d23278"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsDevice.initCapsDefines (cognitive 19): GraphicsDevice.initCapsDefines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8bdbe82b79775c2d447f3d6556edcc22ddd6818dd81164dc8892f4b44ac6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatResource.updateSHData (cognitive 19): GSplatResource.updateSHData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-resource.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e9590f4b3a71360aab635dd250b67621d98f99f4b1b1b0a3b59ca6078177f6"}},{"ruleId":"D2","level":"warning","message":{"text":"ply.readGeneralPly (cognitive 19): ply.readGeneralPly has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). Of this number, 13 points are the body\u0027s own statements and 6 belong 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":"src/framework/parsers/ply.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec4efca11252a91d6d143db5cd2e8678738f19cc3b1b1c073f24f561493aeaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ComponentSystem.initializeComponentData (cognitive 19): ComponentSystem.initializeComponentData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/system.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b0603857e3cdcb60a21635ca10dd3aad517b633482462eb5f6ac0a8cd77be9"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelComponent.model (cognitive 19): ModelComponent.model has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, 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":"src/framework/components/model/component.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dabbbc185592dd353fe314507766a0dffe076fa1db8195115653e70940b6bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"XrView._updateDepth (cognitive 19): XrView._updateDepth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-view.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a2b8b6211a25db234c33ed88e1d26d0289efbfdfeff4f6db14cbb69ea69f9"}},{"ruleId":"D2","level":"warning","message":{"text":"XrManager.update (cognitive 19): XrManager.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0701308708beffa71fb3a3a0a2183471aac824ed62591d18b7937513c0eea"}},{"ruleId":"D2","level":"warning","message":{"text":"ext-mesh-gpu-instancing.createInstancing (cognitive 19): ext-mesh-gpu-instancing.createInstancing has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 9). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 12). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/ext-mesh-gpu-instancing.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d216c00b578a0b34490c70594ae2853b398f12b2926deecf2807854c1b46b0"}},{"ruleId":"D2","level":"warning","message":{"text":"GlbContainerResource.createModel (cognitive 19): GlbContainerResource.createModel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), ternaries 1 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-container-resource.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d557d83c5744c28339f4cc841e83a13c24c7d6ee0197d66c93aba017afa6d3"}},{"ruleId":"D2","level":"warning","message":{"text":"basis-worker.BasisWorker::transcodeKTX2 (cognitive 19): basis-worker.BasisWorker::transcodeKTX2 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (basis-worker.BasisWorker::chooseTargetFormat, basis-worker.BasisWorker::transcodeBasis) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a1aa026cbb23028e4d6f4203e6d00631f8c38e9963e8c7e569ae0c07a995a6"}},{"ruleId":"D2","level":"warning","message":{"text":"dynamic-sky-noise.createNoiseTexture (cognitive 19): dynamic-sky-noise.createNoiseTexture has cognitive complexity 19 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 2 (3 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-noise.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd81dbd9a134c300bf326870a75bd819ffd20f6a35ab47c28d8f4fdd3536753d"}},{"ruleId":"D2","level":"warning","message":{"text":"UsdzExporter.buildMaterial (cognitive 19): UsdzExporter.buildMaterial has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 5 (8 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function item inside it that branches (addTexture). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/usdz-exporter.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da3914e6afa8d503c91851f3bdb2c923b65d358d070177930b1aef37b07b653"}},{"ruleId":"D2","level":"warning","message":{"text":"RotateGizmo._drag (cognitive 19): RotateGizmo._drag has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd56a75494f74b1ef58e3e01120968755a46c7500c20c183aa23e78f812cd77"}},{"ruleId":"D2","level":"warning","message":{"text":"OutlineRenderer.getMeshInstances (cognitive 19): OutlineRenderer.getMeshInstances has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 3 (5 pts), boolean chains 4 (nesting depth added 8). Of this number, 11 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/outline-renderer.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65a8ead91bc8a7c3fc59283e5ced52d4c04b5170d3d6989a6b3f2d2d80b7304"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuMipmapRenderer.generate (cognitive 19): WebgpuMipmapRenderer.generate has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (10 pts), loops 3 (4 pts), if/else 3, boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c28f9345201a8058f8954d69006ff2ce0c19ee2da372db2242aa3606a07e99"}},{"ruleId":"D2","level":"warning","message":{"text":"graphics-device-create.createGraphicsDevice (cognitive 19): graphics-device-create.createGraphicsDevice has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device-create.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b165d3e325d71a12f9d5fbee7971b7a03b05859d0b1026d5681d8c681b163"}},{"ruleId":"D2","level":"warning","message":{"text":"layers (cognitive 19): layers has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (7 pts), boolean chains 2 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfbe9fe907b94e919d3895a70f94e09a0d66edf7197fff4b42e26878c6df114"}},{"ruleId":"D2","level":"warning","message":{"text":"destroy (cognitive 19): destroy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, loops 2 (3 pts), error handling 1 (2 pts), other 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a3921a4e03d5f1dd25a87642144c755018f136bc1e44a7d65f82d158472743"}},{"ruleId":"D2","level":"warning","message":{"text":"_showReadout (cognitive 19): _showReadout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3148baa9da435ea5fda331f3e23008c1cf1c3bd0ff803666041a896f40f555e6"}},{"ruleId":"D2","level":"warning","message":{"text":"_draw (cognitive 19): _draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (4 pts), other 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":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4dc376c44128dfb8223d06199bf77f855ea49d1aaf30ca2702295cd1f9e95"}},{"ruleId":"D2","level":"warning","message":{"text":"LightsBuffer.addLightData (cognitive 18): LightsBuffer.addLightData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd1fee73dfbfaa8ae656d6d1c02ae4ca765861b5dd2638fb3ce4934557fe85"}},{"ruleId":"D2","level":"warning","message":{"text":"gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeLinear (cognitive 18): gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeLinear has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeRadial) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e70d59b96da03b3af16a6657fb5f7670e8696d502e5aeaea6b749d9f0128254"}},{"ruleId":"D2","level":"warning","message":{"text":"layout-calculator.createCalculator::calculateSizesOnAxisB (cognitive 18): layout-calculator.createCalculator::calculateSizesOnAxisB has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (6 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"87409c4824bd2b2fde66b320acd54fbeea5f48e79177ce1809f997157b94039b"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglShader.link (cognitive 18): WebglShader.link has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd44e215034035d8f3ba7931b72318c149c18a935358df6dc3cb658de474d832"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchManager._collectAndRemoveMeshInstances (cognitive 18): BatchManager._collectAndRemoveMeshInstances has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 3 (7 pts), boolean chains 2 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e9ffb8c4f8571c482cc5dbe68e2dfa28628f4490f09a66f590a4e668e6dc2"}},{"ruleId":"D2","level":"warning","message":{"text":"JobQueue.init (cognitive 18): JobQueue.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 32, 31). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-decoder.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a8ed5ea0628bfe9e39daceabba2c915963619516d4af23b3c7207eb939b18b"}},{"ruleId":"D2","level":"warning","message":{"text":"draco-decoder.initializeWorkers (cognitive 18): draco-decoder.initializeWorkers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (5 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-decoder.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bc13db341aef77f04236a92a0e36e708c0839acb73b90922a778948f10af92"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialHandler._onCubemapRemoveOrUnload (cognitive 18): MaterialHandler._onCubemapRemoveOrUnload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c570bba2aca040e91f8af1ae0a623ae2fb98e5bb653ab6bca403cdcb7f7ffb6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptHandler._loadModule (cognitive 18): ScriptHandler._loadModule has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 154). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/script.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1354c485d672ecb3c20cf976dd608453cdce5e1539e338fff7d05e8514599f77"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimComponent.loadAnimationAssets (cognitive 18): AnimComponent.loadAnimationAssets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"81526b265f5a99f3d62d8b59aea50a229f490f2a8902fb4e6595aa92b74a2e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"PostEffectQueue.removeEffect (cognitive 18): PostEffectQueue.removeEffect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/post-effect-queue.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f665f94a8b942a928bf32d34165774f0a8823322af70f00693c83c6bea07f9"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldClustersDebug._renderCells (cognitive 18): WorldClustersDebug._renderCells has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (7 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/debug/world-clusters-debug.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa41ce21e0590c75db0edee913d794688ed20e7aca6055338ba0f5e8b9745249"}},{"ruleId":"D2","level":"warning","message":{"text":"WebgpuGraphicsDevice.createDevice (cognitive 18): WebgpuGraphicsDevice.createDevice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"4411085ea02bc69bf690d679ac898734111a8f53836aefae5c2fa596f2f53b14"}},{"ruleId":"D2","level":"warning","message":{"text":"frameUpdate (cognitive 18): frameUpdate has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, loops 2 (5 pts), if/else 3, other 1, ternaries 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":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3bdd4325d00a44ba4e4c382fa1c27b44bb28fa75f2a9298f1e54e4e77452d6"}},{"ruleId":"D2","level":"warning","message":{"text":"frameStart (cognitive 18): frameStart has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), other 5, ternaries 1 (2 pts) (nesting depth added 3). None of this is in the body itself: all 18 points belong to 7 function items inside it that branch (a function literal at line 1949, a function literal at line 1973, a function literal at line 1931, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"66468f3636e6ba4bd23ad6176e39bc6182e588b12776a6ccd7e7f726a052d5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"renderForwardPrepareMaterials (cognitive 18): renderForwardPrepareMaterials has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, other 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8496905cdc3267e52b23a395ad1014edfcfcbd36c54f5e1b0bcbed68ca66224"}},{"ruleId":"D2","level":"warning","message":{"text":"type (cognitive 18): type has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82f4c7c6dd399540eef39c0d64bcddaf56052c0573394837696618936593140"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateTexOptions (cognitive 18): _updateTexOptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, other 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0770c8750193bb82247a7c0b9b4993ff40f3e0b1bb181cf6634a58cb56cd90bc"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatVaryings._generateChunks (cognitive 17): GSplatVaryings._generateChunks has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), loops 2 (4 pts), if/else 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-varyings.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9124c2c0154615cc87cd799f2d7c77c6dd876d4fb200ac59e7cb4ef6623785ba"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatOctree.flushRequests (cognitive 17): GSplatOctree.flushRequests has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d4afb6bed3f95b755f647614b8e865465a0a1bcf5dba5c4e55c92a592fdc91"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorld.reconcile (cognitive 17): GSplatWorld.reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf51c19b12f50c857cb56ab3857347d6f2997590aceabd3f70292c0ed2def39"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatLayerData.updateConfiguration (cognitive 17): GSplatLayerData.updateConfiguration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5786112a515ee2459648d1d4a363d0635d9ecd714b8f1d5ba64341954c221"}},{"ruleId":"D2","level":"warning","message":{"text":"ammo-physics-shape.getTriMesh (cognitive 17): ammo-physics-shape.getTriMesh has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), loops 1 (2 pts) (nesting depth added 8). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-shape.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c482b00b33d36c7e2a39d955097ce5aee05c69763e5663b46d38a97b9bc471b7"}},{"ruleId":"D2","level":"warning","message":{"text":"MouseEvent.constructor (cognitive 17): MouseEvent.constructor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/mouse-event.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ce211329ed64ea90b0c952b1b92d3e8f8ca03dfe4202a5a85ab8551a0a7b92"}},{"ruleId":"D2","level":"warning","message":{"text":"basis-worker.BasisWorker::chooseTargetFormat (cognitive 17): basis-worker.BasisWorker::chooseTargetFormat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (basis-worker.BasisWorker::transcodeKTX2, basis-worker.BasisWorker::transcodeBasis) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0903202ece0280e3a7289874194f3c9b88475e3806e6f056f283dc470f4f5fd"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetRegistry.load::_opened (cognitive 17): AssetRegistry.load::_opened has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (AssetRegistry.load) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c75a700578ccee9c6847403741266bf8b27c1a9fbcb73bf11bc57dff0b7eebe"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicSkyEffect._createLightingTargets (cognitive 17): DynamicSkyEffect._createLightingTargets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (7 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efc27dbbe74d9910c8511d6480e88684c5cc7543e2e60ba68dcdc5012cfa3bc"}},{"ruleId":"D2","level":"warning","message":{"text":"GltfExporter.collectResources (cognitive 17): GltfExporter.collectResources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 3 function literals inside it that branch (lines 208, 258, 216). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ec918bf54933370a9178c93fcee6d2869dfb3639f917163f036e3c5bece086"}},{"ruleId":"D2","level":"warning","message":{"text":"usdz-exporter.skinVertices (cognitive 17): usdz-exporter.skinVertices has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (7 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/usdz-exporter.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea104543d131d0f973c74fd9b05eddb7edad60ce7f184cc6ce3761519de7a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"CapsuleGizmo._drawShapes (cognitive 17): CapsuleGizmo._drawShapes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), loops 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":"src/extras/gizmo/handle/capsule-gizmo.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"59935c99c161c7baa9e9ce96ba51ef9b0fa9344b8508d8383a186e7fb8b1a412"}},{"ruleId":"D2","level":"warning","message":{"text":"outlineColor (cognitive 17): outlineColor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4, boolean chains 3, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30d9bc157be594ef97d30bc3b3728ad5f4d39441050503cf0bf5d28b943182"}},{"ruleId":"D2","level":"warning","message":{"text":"_prepareUniformBuffer (cognitive 17): _prepareUniformBuffer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), boolean chains 3, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material.js"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e2b525a2d8fefcd23789dce37ce46a914fd6d0f03804960ccba639a60e3504"}},{"ruleId":"D2","level":"warning","message":{"text":"writeMaterials (cognitive 17): writeMaterials has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). 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 739). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f897403f32ed0dc588bd77dd9a9c2804a7fd2d0174d7c2edfb11fd400801f2"}},{"ruleId":"D2","level":"warning","message":{"text":"setupScenePass (cognitive 17): setupScenePass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, ternaries 2, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/frame-pass-camera-frame.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb2a4ee062e107a9396ceca4b35c413c6df2594d994ae2fea29cfd1fff70ef"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSubStat (cognitive 17): updateSubStat has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (5 pts), boolean chains 2, 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":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea9b88b773dfe2c6740b590a761b1ea3330d34e9cd9f044714da1d897bedc0"}},{"ruleId":"D2","level":"warning","message":{"text":"_writeLine (cognitive 17): _writeLine has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 2, if/else 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wide-line-renderer.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"6686a7d9ebaf8e6d4126981efd759afcbf2dec70394d0787d5e49637445f9587"}},{"ruleId":"D2","level":"warning","message":{"text":"sort (cognitive 17): sort has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1, other 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe2203296cd59332f294b61a13184c78a470525c4c725b22c3a06a2af3aa323"}},{"ruleId":"D2","level":"warning","message":{"text":"sortIndirect (cognitive 17): sortIndirect has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1, other 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2039b4f5bf11eb0d22fcbaa43d0d2316f5857e0a72fd84bc7af39f03d5d76dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"stripUnusedColorAttachments (cognitive 17): stripUnusedColorAttachments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 pts), boolean chains 1, other 1 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d74a00e016e075d94060bc3f5add29c5a8183e7751418dad56947d7b605b85"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 17): constructor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 4, if/else 3 (4 pts), loops 2 (nesting depth added 4). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 251, 230). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fb29348da585ea36f308acd2bb2092e5d4175956a619895a86bef51ac55e32"}},{"ruleId":"D2","level":"warning","message":{"text":"calcSpawnPosition (cognitive 17): calcSpawnPosition has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (8 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":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"180f7cad5cf3af0ba0a89c2743798700bd21727877d053503e9ca89fd2995b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshInstanceStorage._uploadDirtySlots (cognitive 16): MeshInstanceStorage._uploadDirtySlots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/mesh-instance-storage.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"669fe4afefb9f9f60409efc00e3e35ba8a44d4467f1a912d748c19efac5ff929"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardMaterialMapTransforms._updateIds (cognitive 16): StandardMaterialMapTransforms._updateIds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"85986bfeabffc8257153e563ba51d93edd4f6b95c0c499cfea385beb144d484c"}},{"ruleId":"D2","level":"warning","message":{"text":"SphereGeometry.constructor (cognitive 16): SphereGeometry.constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/sphere-geometry.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45232d8e5aec8aef6d01e75e9c7ddccdb132b595e45fc31ba179598682b002f8"}},{"ruleId":"D2","level":"warning","message":{"text":"gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeRadial (cognitive 16): gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeRadial has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (4 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (gsplat-unified-sort-worker.UnifiedSortWorker::computeEffectiveDistanceRangeLinear) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f041cb13eac83e39da0e92b05de6249a03bdf470bc2dfb2a030fe1625725d7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"GSplatWorldState.applyAllocations (cognitive 16): GSplatWorldState.applyAllocations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8812501125108219a509535332a68e0adc5f09cf3c9d986ee2b9787e474252ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageRenderable.setUnmaskDrawOrder (cognitive 16): ImageRenderable.setUnmaskDrawOrder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (getLastChild). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b75380524bc831d54147ccc3eb3304b311b7e0169f2cd2e2c5887fc5559dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageElement.texture (cognitive 16): ImageElement.texture has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d26142171e47d4fb6e136abb002a434fc41207a0797289521d2431e341db5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetReference._bind (cognitive 16): AssetReference._bind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-reference.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffeaa3cb48e40a2efb647480d58acfc8c6a641b7323beba4df61aa1aa307780"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderComponent.rootBone (cognitive 16): RenderComponent.rootBone has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"39671ea494dc275cba6909b172a010d3dbf54a4cd9a82e39d3a69871caec4f21"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglVertexBuffer.deleteVertexArrays (cognitive 16): WebglVertexBuffer.deleteVertexArrays has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-vertex-buffer.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c3d934a1cd4b9d99d8af9edb8fe54872a93bd55884f4fb319caae8a2dda127"}},{"ruleId":"D2","level":"warning","message":{"text":"WebglGpuProfiler.request (cognitive 16): WebglGpuProfiler.request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-gpu-profiler.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691d1c8aca314d5994a26dddf90e9b9c4cec033a2a3afc7a9c8b136e08a6897"}},{"ruleId":"D2","level":"warning","message":{"text":"Lightmapper.postprocessTextures (cognitive 16): Lightmapper.postprocessTextures has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), loops 3 (6 pts), boolean chains 1, if/else 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39493a8e9aa06609e683fd7d029b2c00c9355a6587ff850641313e7170ea78"}},{"ruleId":"D2","level":"warning","message":{"text":"SoundComponentSystem.onUpdate (cognitive 16): SoundComponentSystem.onUpdate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/system.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68b7a566d89a81e1eb8db9f423ee94b76ccbc55f278d3ca76f9b96afdbb7f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"SogParser.loadTextures (cognitive 16): SogParser.loadTextures has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2, boolean chains 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99e84a20ce18f8133ca5c58a0aededa90f65376d033a6f30acd7a4d47cb124"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimTargetValue.updateValue (cognitive 16): AnimTargetValue.updateValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-target-value.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6591159f2249b8dbea07b8b31cf107b5d7d381b18679e98ff215ad73590293e"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderUtils.createShader (cognitive 16): ShaderUtils.createShader has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (12 pts), boolean chains 3, if/else 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/shader-utils.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5667c1cf923305c20cc0945fd00a7fa97ce7c7d8b289f48a8e568cd31672a4"}},{"ruleId":"D2","level":"warning","message":{"text":"LensFlareShapes._normalize (cognitive 16): LensFlareShapes._normalize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-shapes.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7630ac5c15ffe374734ef78fcd1985389e31bd16af8675efbac4353b25272934"}},{"ruleId":"D2","level":"warning","message":{"text":"CylinderGizmo._drawShapes (cognitive 16): CylinderGizmo._drawShapes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 3 (6 pts), loops 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/cylinder-gizmo.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e01eda6369994a43ca04fde093587cff81f502ad72defd5a283ac5bcba51968"}},{"ruleId":"D2","level":"warning","message":{"text":"RotateGizmo._setNodeRotations (cognitive 16): RotateGizmo._setNodeRotations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdf0ebd86494043222722151dd1e5163ae35a98c1685d7dff773125ca480e37"}},{"ruleId":"D2","level":"warning","message":{"text":"WordAtlas.constructor (cognitive 16): WordAtlas.constructor has cognitive complexity 16 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 2 (6 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/word-atlas.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a871cfb8acdbeefb99ea7009489b82912b8f58e5fad0083f4388261498a61734"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceLine.equals (cognitive 16): ResourceLine.equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"56667eb6559e60aa4e29810081691a8931d645ba076d49c3a4431a99e932e529"}},{"ruleId":"D2","level":"warning","message":{"text":"shadowColor (cognitive 16): shadowColor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4, boolean chains 3, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"63972817cef80a8dd6f00dab54bf7b2938c68108bea0d7d58f965537fab9abec"}},{"ruleId":"D2","level":"warning","message":{"text":"_precompileFrame (cognitive 16): _precompileFrame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), other 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e232a16419a745ab5a9009a4dc5381fe64ca422a0b3eb19f51f36b639855af81"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 16): constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 5). None of this is in the body itself: all 16 points belong to 4 function literals inside it that branch (lines 316, 293, 338, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80f3612bdd68043729a57f8ed3fb94cf4d30e72b58e694b30d7b8aa35f51f73"}},{"ruleId":"D2","level":"warning","message":{"text":"setTheme (cognitive 16): setTheme has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4, boolean chains 3 (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":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ffa9ff5f59e04c64fed6d02a7ae0504d976fd979c2c9966871a2b72f2c92c9"}},{"ruleId":"D2","level":"warning","message":{"text":"_updateMaterialOptions (cognitive 16): _updateMaterialOptions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, ternaries 1. Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e907c730174510eb0ae1d26b4adabf00161832551e6414220667b8f33c3568"}},{"ruleId":"D2","level":"warning","message":{"text":"add::set (cognitive 16): add::set has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 1 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6505112fbb94e2eeba8655bf803877bebbf2ba69019f509609cc123d6cdfb30"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebglGraphicsDevice: ClassTooLong \u2014 1662 significant lines (blank, comment-only and punctuation-only lines excluded), 90 methods. The bar is 400 significant lines; this is 1262 over it, 4.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfb81b97978dc1cba6594280984b95714add2e02a90c7e9501b58d0587954b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextElement._updateMeshes: MethodTooLong \u2014 _updateMeshes runs 395 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 295 over it, 3.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"229cdb98e982ae2916ec0490144a76a7e48e20f56afc7eb1de0a261d9c19dcd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgl/webgl-graphics-device.js: FileTooLong \u2014 1760 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 94% of them inside a single declaration: WebglGraphicsDevice (153-3439). The bar is 1500 significant lines; this is 260 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c14b6f6d287af076976615d5d265ef5d9f85225c670fa57b4a87805420a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebglGraphicsDevice.constructor: MethodTooLong \u2014 constructor runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d081463858e0f1d55c31f7f3c710b17ca83173485627420758996b4cde38d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebglTexture.initialize: MethodTooLong \u2014 initialize runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"798cdfa910773810a7454838669ea73859117f7e0fe68166d9125f801263c02a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextElement: ClassTooLong \u2014 1343 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 943 over it, 3.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1711d9f6d6d0ca34cd5d581eb00d0bde3595a881231a236f52134a09f99ca87e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: layout-calculator.createCalculator: FunctionTooLong \u2014 createCalculator runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4dda34152d66d8f8fc5936d425d9cdd832f540bb707651683436426473c30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebglGraphicsDevice: TooManyMethods \u2014 90 methods. The bar is 30 methods; this is 60 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f625d335d05550badf79c4e80307361ff60b83a06309fc1e57f114a9cd7aa5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebglTexture.upload: MethodTooLong \u2014 upload runs 296 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 196 over it, 2.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d85a20f87e97f9969f65467199ddf094e8996534efcf669f0486d68b9fcba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: basis-worker.BasisWorker: FunctionTooLong \u2014 BasisWorker runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cde193f8678f88f6f77d485acfae09ab0e533202b4ebba6af08edc374b67e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: element/text-element.js: FileTooLong \u2014 1443 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TextElement (154-2404). The bar is 500 significant lines; this is 943 over it, 2.89\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10337e0e8e25bfc11531d79da9d64c273ab9bc3daf594b96188c6fcc9e44269b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WebgpuGraphicsDevice: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a6d9a16594cfa3aa886635b7708fe386b530310e63bb829342a59048b8543b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementComponent: ClassTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 649 over it, 2.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d8ce3714227077e81f00668c69d61c1818d6a32908b116d568121891847c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gsplat-unified-sort-worker.UnifiedSortWorker: FunctionTooLong \u2014 UnifiedSortWorker runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7f42f700a9601f95b825238d3b0e11d854e2d6d746bccb511ffcc2bc8d956"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebgpuGraphicsDevice: ClassTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 609 over it, 2.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f468cb9093c58a0112eba77bbea7543dd2966860d3b28c349285bc81c28dfde0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextElement._updateText: MethodTooLong \u2014 _updateText runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc7f2db7f8b030a333873592914282395cc51dd888aaf71f9c879b94d3c40e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScrollViewComponent: 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":"src/framework/components/scroll-view/component.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ba2d0e21199287edff483a31616374ce2746cd7ba9e3f3995e7e971a79c691"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parsers/glb-parser.js: FileTooLong \u2014 1118 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 618 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a14279a719d030d809cc905a2136d6c8e08a8c06101e41784cf1d5738f9884"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: element/component.js: FileTooLong \u2014 1074 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ElementComponent (100-3035). The bar is 500 significant lines; this is 574 over it, 2.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5532e34b0fecd5ff2f5f2443c1e643d2a258399082038132ee3a0450f36f064f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphicsDevice: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5806909608e42f4a04b1b8e1e1809f0c61f695fba6831c3555b99ee4ed9562"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphNode: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be684f9268c5498c433e8eac78ecada466ebeb86e872372f2b9fe59f03e72f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticleCPUUpdater.update: MethodTooLong \u2014 update runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2b69d789e357aed94327192677f6f004cb5a32ae78ebcaeb7cada16969b395"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgpu/webgpu-graphics-device.js: FileTooLong \u2014 1060 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: WebgpuGraphicsDevice (74-2388). The bar is 500 significant lines; this is 560 over it, 2.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd056f916cab200f2c0186765f2818e6753db3d1dd42b11d401da1e25a6edb7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gsplat-sort-worker.SortWorker: FunctionTooLong \u2014 SortWorker runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"170a85d0242a3f9bbb78352804cd10cdbfe3bc1a5ef497ca658bbeaf15352354"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: draco-worker.DracoWorker: FunctionTooLong \u2014 DracoWorker runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-worker.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b53959e591ae7877cc459bbf7d6cc0a3799a1cf1e706964437704bbab5172"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppBase: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5711b705b566224ccfb087d314986bfecc625e284c1c8593f42a9671e8c858a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParticleSystemComponent: ClassTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 348 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749517b732fbdd3c5078d78d188b1db389ce3ed1d8428ccdba2fec31d7802be"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DynamicSkyEffect: ClassTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 339 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6937bcfe4e685015f4869127c961bb7a601f2191d07b42e981525931c415dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppBase: ClassTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. The bar is 400 significant lines; this is 338 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"be56515049799260c2a95b4254a2e6ede7aa61fefbd436e82da1fae5d655a5fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebglTexture: ClassTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 278 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac9b8b194c5e0a6c6afd2ccd2ee6d017816a0f4f3485c4b98a81d804fc2c557"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ButtonComponent: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/button/component.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9851df6d53fcd4147d5b0aacd20adf3488ebba36ce094faed2bb775081ddacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: materials/standard-material.js: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 327 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f47f8e6d51371df34e7b2c2ee3bd3a1158dd41f09bacf15f21df1226593577"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamic-sky/dynamic-sky-effect.js: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: DynamicSkyEffect (241-2127). The bar is 500 significant lines; this is 327 over it, 1.65\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"729059aff856e7c35f2089eb16fea75cecb28f997bed7096a0a906d2943e56f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: element/image-element.js: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: ImageElement (280-1390). The bar is 500 significant lines; this is 315 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6526197a02855b881fe44694a19a61923feaa77656cb34a9fdb378f5618e95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConeBaseGeometry.constructor: MethodTooLong \u2014 constructor runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8a38df8876bbbfec99623fef5cffbf03d38acb8b35e4c1d7c17e4944f52066"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageElement: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 248 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e44a0d319547ba83c565dceeb0c510764c7fcaba0c2b69ed72759262d65361"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParticleEmitter: ClassTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 248 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"436314ba267cb2b484d7081869f4efe5575a1144e04e531cf761c47a739ddac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: particle-system/particle-emitter.js: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 80% of them inside a single declaration: ParticleEmitter (226-1169). The bar is 500 significant lines; this is 309 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e472c78d9180ec8c2b6f57f0f27d787b35ae38cc2b3ee64504a58d78226c9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParticleSystemComponent: 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":"src/framework/components/particle-system/component.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec7d28b4d4aa261b56ac5fff38e541af0c4965fe10f510305432da9d7ffd1c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderTarget.constructor: MethodTooLong \u2014 constructor runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79791713758e810e37d2544ab6ebc7bd59c2b46690542d126ea12f1e0da8a49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Mat4: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 235 over it, 1.59\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c456e85eaf912ae3d043d68bcfbccd0f3c70be8703537996f64606114d86e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: framework/app-base.js: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: AppBase (142-2366). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a165f95cc59b3d153dcac7d6346aeeaa304c21b702febb7077fb96916a16834f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Light: ClassTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 226 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f19c6f558f1dcaf363932e588ab04a2af3d991420face0e03a701717e2deb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Preprocessor._preprocess: MethodTooLong \u2014 _preprocess runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ac744f0f9fd31bae3dbcbc12062eb412fe4ef51ff500119831976470ab1caf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImageElement: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6747f30f00442788359373ecdd49173d63b1d98f464ce3a962b29886516b76b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: particle-system/component.js: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ParticleSystemComponent (137-2410). The bar is 500 significant lines; this is 260 over it, 1.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838a29c591088f6b48e5090a693ab1da48ba24f7e8c616d798ff85325d032766"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GltfExporter: ClassTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 200 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19fd5b16d46fb5ae946a230d9df6364533bb21d7d88a2d12bec15901efa9e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Camera: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 182 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/camera.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7380fd357539d0856359e4192671dbe1065a7d60723b7da92b26d62eae2ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MeshInstance: ClassTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 181 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fafe5b4244271d716ed1bab56a85c5abcd7d41cd8b61d3332e858b1a948f5a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Renderer: ClassTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 175 over it, 1.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"df64595e07db158de7d63d3bd5e66aa51141351855e524e394c878a6c392f453"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exporters/gltf-exporter.js: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 84% of them inside a single declaration: GltfExporter (177-1299). The bar is 500 significant lines; this is 218 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca4d5c24a943c262c2580d2b388936fcd9384a42c182c95fe2eba5961f81079"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Lightmapper: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 173 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"11484b91494d4d0433234901591457aa75198b23f0282fa9f31fffede2f0c1e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScrollViewComponent: ClassTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d674db5b7dcdd4139b90d07257344060930588a5a072d1426652ab11fedc801"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgl/webgl-texture.js: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: WebglTexture (62-948). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2074f6b165af8b2e6040c919276f8b19615bc02fa653f908870f380a391e3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElementComponent: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77a1c5e2f223955294b73c4435809138cbd56059b6beb0a527f4d360b0d3d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: standard-material._defineMaterialProps: FunctionTooLong \u2014 _defineMaterialProps runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d039257ff0d03fa2b0d8337ae7308a5435b00885b8eb91c549c8d0e2da3b2e30"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/light.js: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Light (144-1346). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9e42f33f9d594118341885e58a638d45f81ad8f36f0c0e875388848ad2732c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GraphicsDevice: ClassTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 153 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b3fa18abf9b0ada7f0f91ce22213a5210fff6cb718bf34ab9e6372ccb3305"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchManager.create: MethodTooLong \u2014 create runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e9c4546040ef89a5be85310f03cc4700199a181c3044620b80e3f24467ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Texture: ClassTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 148 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c0d50c6fb93f9539e2229c7f888f2361cbb057e777457eb5bad2956ca1437"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: glb-parser.createAnimation: FunctionTooLong \u2014 createAnimation runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea30c18c400c7216b76b4000bcd3bf6d710d17fe54664107e7018e9d698c9cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphics/constants.js: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd91efe8d6dd87f85b4e24eb6881e5e9452abe54238c9e7331a4ef1e8738f484"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElementComponentSystem.getImageElementMaterial: MethodTooLong \u2014 getImageElementMaterial runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"95128ff430c7d2fe5a69da63973b0ed17208d9108aea507ef6fdae697d528db6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webgpu/webgpu-shader-processor-wgsl.js: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 62% of them inside a single declaration: WebgpuShaderProcessorWGSL (474-1395). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f058f9e57b93288fa8bd9c8d4e58c697ee7c244d979be7d7e610661a63b16a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/mesh-instance.js: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: MeshInstance (326-2152). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f405e97eafd338c5aa0b797bcc8c452fdcafeeb87e2fb097a72eab955a198"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec2: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec2.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f3288b1abdb8d09e3babc58f8206fe356a74785dda1c3c4641da6c6eec9c1e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiniStats: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 130 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb500ee758d05af5ce6dfe6a0928a19fb76f53b27d1a5228362bf6250cdbbca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/renderer.js: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Renderer (159-1499). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39de5c4945a806ef251c1c13a43ca88f81bd72ffe9ecb9f9762b9ac028da553a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: math/mat4.js: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Mat4 (48-1343). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a7cdb2d0a124be01f8d587a8bbeb341cfaf25d817e2b8b9938fa0295e4232"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElementComponentSystem.initializeComponentData: MethodTooLong \u2014 initializeComponentData runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d332433cfbf27be0162fe9c3bd5b9aa19e63f976ed7ecb64d8d30123486a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextElement: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.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":"src/framework/components/element/text-element.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"274996c86704fbc2b0aae50e6fe1b000fa0eda333438d8d05dd720bf1d11fddc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NullGraphicsDevice: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.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":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"903158fd3481903d4448920958ac8ad42d424188e9deafc65fcf224aa8411972"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Renderer: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.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":"src/scene/renderer/renderer.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ffbf024f7c084250c6aca54fdc11973af1aaf9e491bdde19f53df262d44a92"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSplatOctreeInstance: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 106 over it, 1.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":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"042269296073522f2d0fea69cb1ef2904ae05fae2f14e21ed9adfd346a4026fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GraphNode: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. The bar is 400 significant lines; this is 98 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":"src/scene/graph-node.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b02b30a503d30be7345599f771c5629ccae833427f99e16458d4d8eafe0017"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lightmapper/lightmapper.js: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Lightmapper (66-1167). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02991ba6129da87baf467144500b36976d2b45c37adbcb8cb9f56808e9f4edc8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SogBundleParser.load: MethodTooLong \u2014 load runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a4833038e67725c468c4d63c0024b340d1535d39c6ef167d8492b9c89c41a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec3: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec3.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6aca3302f76fbdb2e9e11b8a86dbedce6f05decd1c2f5a185087947707c3a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WebglGraphicsDevice.draw: MethodTooLong \u2014 draw runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e89fcdb17679d9eaad60a8fc3f1df993b2eeb9518852fcde48ff415f180e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/camera.js: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Camera (52-1339). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/camera.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd69d46d6cb74cbfa8ba4e53958c68c2eb26dcadda90307a92fc215b64a4484"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GSplatProjector.dispatch: MethodTooLong \u2014 dispatch runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ea9a6321a7628240342896ff97d7bf5958a3df0b3c4f78349ab6148d5c8f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: input/element-input.js: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 80% of them inside a single declaration: ElementInput (357-1243). The bar is 500 significant lines; this is 107 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73a5e2eaea15f66d6bb74877907b8bc8d1a469b7d7e41c4d1aaa91968395074"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementInput: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f92b7b68eb5ee5b503726dbec4fbd24fb92cf52ee483bb218ffbcad6883d25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Mat4: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 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":"src/core/math/mat4.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8357277803ee3ab159ba3ddeca3623aa087d9fc507cf6ef90fa9b0705b3919"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MeshInstance: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 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":"src/scene/mesh-instance.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e26982584b92c3aedfa0dbb970658f70bc3502165e7998508931aac3d87603a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelComponent: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 34 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":"src/framework/components/model/component.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c22896b8c93db846cccc9c78276505e51b95489db497c0c5ea5a8dc2ffa5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GltfExporter.writeStandardMaterial: MethodTooLong \u2014 writeStandardMaterial runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"536b78abc5b38f41f548cd5b3aa5aad54e041c78b49010a6480752b1a572ac5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderers/wide-line-renderer.js: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wide-line-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0463755c93698fd77cb23bc08d0c1791701a7013e4c9ab83615393d176064"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphics/graphics-device.js: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: GraphicsDevice (58-2126). The bar is 500 significant lines; this is 89 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":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d3a5f4fb73597a33c670d29b02524c6a1b50e87bb3dd2cb5b0b4d3dc06df3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DynamicSkyEffect: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb4d60003ec3d6e50f10fd643caed687a614fd483d4393d281f9a5342e1d202"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnimComponent: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d95dc07148c26dc1cff585c11b9094544082a4ad02d70f1c630c987edc9ee35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElementInput: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf31836bd227eec87c2748de453d9687afc1c2ab6b5cef7dc05792b8db24ddbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scroll-view/component.js: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ScrollViewComponent (59-1366). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a180f452a475e24568e8253f3e72aa554b9be9e76af27a371b17e5b8a367d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BatchManager: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 65 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1a69acb2eae48849d744bba2bd1434b4d78d7c7001c383ee87cc77bfa96d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphics/texture.js: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: Texture (85-1724). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9666eee34468cbe3c1281363916ca8b02245297183fae827e9ac4bd4f750e9c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParticleEmitter.constructor: MethodTooLong \u2014 constructor runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a45b379bbd4ee941309f7471d7d70cc41f076a36be2d8482bdd34b896fe8aed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelComponent: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"449909d3f5d6f7ad25a15c16324a98f5f211f60bf9b3eea04b7466a4bcab3554"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScriptComponent: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 52 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a7301d8c737e5af0607421f366cab19eda0a2fb7f2ebfa41e8b0827024d15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Lightmapper.bakeInternal: MethodTooLong \u2014 bakeInternal runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"963056904759c2d873373d75b4606c0bdc9709bea87a4d7c66a4c4514d669510"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mini-stats/mini-stats.js: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MiniStats (120-1013). The bar is 500 significant lines; this is 64 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e33bbb4e8095719ff1111fed03dcbf50e3a5083de542210233c5c5549a994"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gsplat-unified/gsplat-world.js: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ALLOCATOR_GROW_MULTIPLIER (46-1314). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff07028532dd80f432788eff6056bc9b18e10f141d331716f0274edaba8821b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RenderComponent: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 46 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae73f89068eb880af4014bdcde494fa25b5edf33755d8f977e5653a3f34a7e1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StandardMaterial: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6bb44270f4d00b793119edc82dc7e222086f7a079372c07ce0bfda25b4339e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec4: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec4.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f2bcc39e0a77c26ca0a36b6d50f99ba551abd45b27753380a8c29ca6b37dff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverlayRenderer: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/overlay/overlay-renderer.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"872a0ff3345acbb9448ace0d8e188437531e9e0e1a35dfa20f79f28cea68bb76"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Material: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"329fb4c5c310cf708952f506af91c05394db5033bdaebbd828d5ba9b24a61ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DdsParser.open: MethodTooLong \u2014 open runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"253cc8ccb70673d3cedda80e48c72cbb5062e50796f3f220bbcade944c520a0b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SpriteComponent: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 36 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2386dd2b5f10fad8a812ba7d5f7bdfca13a15f6c5c8fe2091eceffff78feda4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LensFlareEffect.frameUpdate: MethodTooLong \u2014 frameUpdate runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64c6813a437c6cc364c53065d0999a66cba4f6d933be8479598877c8d7c60c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ButtonComponent: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/button/component.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"56256d3e1f6e6385566cda337a1337e7172c54b8530fee55042776c00a31c557"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene/graph-node.js: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: GraphNode (122-1946). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"085b5acc2c1de7a8b8795ed6eda0bc6bec992963885835c1441c37cf97daa53c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gsplat-unified/gsplat-octree-instance.js: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: GSplatOctreeInstance (86-1363). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bc063084152fb0febf17e5caadb767b4eba3ce68625ffd6a508cedb596171a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RenderComponent: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.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":"src/framework/components/render/component.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a4ec611457d5e5366dae536256c253d4fae10485ddef45abc9a23f1f71b5b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GSplatHybridRenderer: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 22 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df1f85ac9340f4f4221144e60b4212ee031d15629b54521f20aa0374d61b80e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementComponentSystem: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc688cb36171cc9a09827c57023ea57f6c530070c6b79ef9515f6ec0daa468d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WebgpuShaderProcessorWGSL: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 18 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f895fd6dac84e2f51449fd61a325951222e77577e3d7daf42dd58575c0568a6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/esbuild-build-target.mjs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 17 over it, 1.03\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":"utils/esbuild-build-target.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2e17323c83b6932315b55ae3fe4d3f1e03dd589e03d4257ac515467dcc4c22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LayerComposition: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f59c2bd985ac3938cbbad6c94de38f334c70a96c2199be92cad8f3a9cb85e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GSplatOctreeInstance._applyTreeCut: MethodTooLong \u2014 _applyTreeCut runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6acd9dda6d208920161175cdfeb602536bbcdc021dc674d7051d907b01c3fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Material: ClassTooLong \u2014 406 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 6 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2d965d884b79afa70edafda17ca865fb6cb7e84e445f3570ae3270dfc9ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: batching/batch-manager.js: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: BatchManager (66-964). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"292deb842e9aaa108cd8c9ded68e44340281db79422b558d7e6ae17e395a78ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShadowRenderer.cullShadowCastersOmni: MethodTooLong \u2014 cullShadowCastersOmni runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad42a77a912726960fbe1e52b8fff9f0ec2d0a636ce3fcc5ebc18751402d65e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShadowRenderer: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"76406a6840ca152cafce71950609812cccda1047b2b550305dfbdbabc81d5949"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RotateGizmo: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 2 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feeafebed87ea12172bb0e6c3d0632d8680bd835be9f82723f687f1e0c6e42f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollisionComponentSystem (LCOM4 10): CollisionComponentSystem\u0027s methods fall into 10 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 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"7496d02e908b93d118245887c0bbeb24d5f4e25066d4896bf20a9b9271c79092"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GraphNode (LCOM4 7): GraphNode\u0027s methods fall into 7 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 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d3de584fdacb76d2f2b8cfacd3ef4f0890d5596d623f375125fc520036f7c2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ElementComponent (LCOM4 6): ElementComponent\u0027s methods fall into 6 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 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef28930c560320a86418ef5bd1464ba3092b5cdd7307c3db39b862c84920e45f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ScreenComponentSystem (LCOM4 6): ScreenComponentSystem\u0027s methods fall into 6 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 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/screen/system.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1f99b4fc595047ec1619931adba5eb496e768c49e47e4c65002e1216cb569"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Layer (LCOM4 6): Layer\u0027s methods fall into 6 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 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/layer.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede1ba53834c8bfb3b707f5f1a96f4bec2a388c6f73c5cb225656f47c6cc73c2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Renderer (LCOM4 5): Renderer\u0027s methods fall into 5 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 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"84649e8c56386906a5c3e38df1e9fddbb1fddd3d59e6fca1eaea4e935c694b31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JointComponentSystem (LCOM4 5): JointComponentSystem\u0027s methods fall into 5 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 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/joint/system.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b078328e03f2872343ad13ce9bee9a3e2a0f54c0e30da5a6af1cca705c8f541"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RotateGizmo (LCOM4 5): RotateGizmo\u0027s methods fall into 5 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 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"991006c98cbe9b0e0c86a5d0bb2b0134a63913d90face7972037f91eaa6d2734"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ShareDialog (LCOM4 4): ShareDialog\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":"examples/src/app/components/ShareDialog.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a10ab27a2c304a322bb662b6aef646d4570413a6d86369d0297fcfa195e3c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Scene (LCOM4 4): Scene\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/scene.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9d4bc586b19ff4ba291c88d3cf31a2ea45854bec236aac323443ad8a1e8717"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GSplatCompressedData (LCOM4 4): GSplatCompressedData\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7532a97129c4856198640b85d8fbfdd43c0a22d2708ef6b29c22d23f3f5d196a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ForwardRenderer (LCOM4 4): ForwardRenderer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61aa5640f057fcd8adf32c957a514ca392d5a6e28135af4a4a3dc4750e5cc8f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollisionComponent (LCOM4 4): CollisionComponent\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b5b31a95465d383e773f293734027f147eb19f46e276274944f997bf7807d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ImageElement (LCOM4 4): ImageElement\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3ccecb2652c932a58f256cb09675cbb921c3be2996e7baac115f22e187b235"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebglTexture (LCOM4 4): WebglTexture\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25526062782346eeddd2fd973341c3e54bf3d4ee21b2e673fcd94bd2d3f7119"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TranslateGizmo (LCOM4 4): TranslateGizmo\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/translate-gizmo.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd45c4887bc3964581de3a17572af06d3fd7326f1b296d9192c8a5580500c6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/read-stream.js: 4.6% line coverage (8/174)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/read-stream.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a10634b2ae5a14abbc5108bb1eda3de649fab0d8f1e6d855bce4a5ca74739c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/tags-cache.js: 32.9% line coverage (53/161)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags-cache.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49d7da58b4f63a8b5ad4d5f8e5cb1391f8e905303de6995c5e3e84e8b23537e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js: 45.8% line coverage (220/480)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf30012947534b53b5286d5dc9357cf86570a65d89828bdd96bc263161aa810"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/exporters/core-exporter.js: 35.4% line coverage (75/212)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/core-exporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e8c5aac7fea2070ed043b41fe37e398e7d39ff20d360db4172c6d3c8eaaf7f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/exporters/gltf-exporter.js: 42.5% line coverage (553/1301)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad3016a842cab33fa4539dd4a294f9a9674bfab27e04e449016012f2e05fb31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/icon-gizmo.js: 21.0% line coverage (49/233)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/icon-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e6d7fcad5928f5dea974f8eef0e5430058c0c456956d64b7dd5e55b54d41b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/view-cube.js: 3.3% line coverage (15/450)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/view-cube.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd7fba2cd04ea89467973ad8e7fa8d51b684f025e65560d21a1e22b36e56efa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/bounding-box-gizmo.js: 17.8% line coverage (67/377)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/bounding-box-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efe647b38357866797bed8d468723ca0e4dbb870ac86cad1aabc7078e45f947"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/box-gizmo.js: 23.4% line coverage (33/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/box-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129ae98efde7fd1a40a7fdd3cb11655e4ae83b6281d2f77759fafb15033d217"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/camera-gizmo.js: 47.0% line coverage (93/198)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/camera-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ea8776752b271d37d4e6b660bdb80026d2be0843ac97e7d47a4d785ec8c2d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/capsule-gizmo.js: 20.2% line coverage (50/248)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/capsule-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0c3209a41067e6f68a5fbfc2625e537ef81afe70c8a5de4a4f9aee88b871f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/cone-gizmo.js: 27.4% line coverage (43/157)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/cone-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026614d180be02257f200ca92e0ef877eb920c233324e8e0670242fb238aa023"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/cylinder-gizmo.js: 26.6% line coverage (45/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/cylinder-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aafce596cee49c05d8eeca973dd4f713ba625851f8ddb34c4b7ae4cfd641504"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/handle-gizmo.js: 13.1% line coverage (128/977)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23edad529a3d559a22be1885546f5e0a63ea086ac40f17d7bd2a5d108a1e618f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/light-gizmo.js: 12.1% line coverage (60/494)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a035e9043a09dd4495f252ee9b9ffd5dbc0e8df36e4a1593c02545bf6edaf30"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/shape-gizmo.js: 33.3% line coverage (19/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/shape-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4734cd51065695298e8c3a5b3805cb74d323bc02b1523a46b9c9916f8a9a0870"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/handle/sphere-gizmo.js: 40.2% line coverage (33/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/sphere-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29978b1da838e587075cd722c26b3a3252324c44643e94cc1ab4e45f59be04e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/mesh/mesh-line.js: 23.3% line coverage (24/103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/mesh/mesh-line.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f55f042a905fefa283024b6c2b017b40ad80710b2d9c2b7e68d135069857e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/mesh/mesh-sector.js: 20.3% line coverage (25/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/mesh/mesh-sector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4741125de992d5c09a94c7a6877f58866a32eefa8d1df14c44fdbd0906606352"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/shape/arc-shape.js: 10.5% line coverage (26/247)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/arc-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acadd45253164bcca7234948397f745faae3149570f7e99717d304a973aa05fa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/shape/box-shape.js: 26.6% line coverage (21/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/box-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13892d1289435e3ada0b7eadadbaa64be2da25bf54c6b5b49fd719e2973981bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/shape/boxline-shape.js: 12.2% line coverage (33/271)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/boxline-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01205e94a75b6070186c32185b7287b8b99fcc53b0786cb5ec2063e6832cbf0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/shape/capsule-shape.js: 22.2% line coverage (24/108)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/capsule-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"205049728b2bcf0baed8524131e593203d2725ae802c3442f8c1e16218db305a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/shape/cone-shape.js: 20.5% line coverage (27/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/cone-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"334ba090f925ead9c6dc4bc2d379b2792dd3fe139ea146f0cea6deca9afefa9b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/transform/rotate-gizmo.js: 5.9% line coverage (54/918)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b9762fc52587ab9803e94861863135127e935c2587223a32cd0d96cd5abd3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/gizmo/transform/scale-gizmo.js: 8.6% line coverage (53/617)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64af371c203a1ed32b9b5173f2857d3202a396f644f9cb727dad5d4fc2f0749"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/grid/grid.js: 8.0% line coverage (57/716)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/grid/grid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656ab6e58c4a4c5bb898b6b1fb53c68792885e55abe33d157d19f09d1d26da1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/input/pose.js: 9.5% line coverage (20/210)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/pose.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b11ee2185c7c68a167cbe46f21626b2005be4c6c47d27d7dfdedfc7f33aaec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/input/controllers/fly-controller.js: 25.0% line coverage (29/116)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/controllers/fly-controller.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abd5d10de61238d60d4757ec30e22e9e125dcd7516cd03c9b6b8b63d8485f25"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/input/controllers/focus-controller.js: 23.1% line coverage (27/117)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/controllers/focus-controller.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af4183b05711ae372a29f15f18304e773e7157b350d616c9de05d337aba3d22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/input/controllers/orbit-controller.js: 16.1% line coverage (28/174)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/controllers/orbit-controller.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ab0b30184459a31f454f0236c6e0badd50ef4eaef8038a1ab2f327e4411e78"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/input/sources/gamepad-source.js: 35.4% line coverage (35/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/gamepad-source.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c313c5cf81883aa824b676edbc6db6eb3c0df463cc908d239164fc916e7cf89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/mini-stats/render2d.js: 43.8% line coverage (130/297)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/render2d.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d93c048a7d94a058b63c4fc6136516e036b11dc24168d1dcc94fd2068a04e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/extras/mini-stats/word-atlas.js: 35.2% line coverage (43/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/word-atlas.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33468bff4e5608dcc4c515bcbae4e81a7b4a71e18c5b4c2f598e38c18cd9ef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/components/camera/post-effect-queue.js: 38.6% line coverage (154/399)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/post-effect-queue.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04752a41e8534791a901f13ded587eefa2557329361815dfe8101ada9c07a118"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/components/element/text-element.js: 22.3% line coverage (537/2406)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17963be7878fea5c9267c8b185d637edff1c3b512a60f00abf58bf919a7be10b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/font/font.js: 30.3% line coverage (33/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/font/font.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95101a7c48236ebf08b9d4c25c06523c266c3dd84324972d572195f035eb3175"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/graphics/picker.js: 33.8% line coverage (186/550)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9a4e03965dfba7877928c27c250e312f01766f0ad652d27a27bd511d4bf9b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/graphics/render-pass-picker.js: 12.1% line coverage (25/207)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/render-pass-picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e715f6c8fa5d7c03f1a399627c304d2a1cb87d7a2ad03f8d9d6d4fa96f55d73a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/graphics/scene-depth-reader.js: 11.1% line coverage (62/560)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/scene-depth-reader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd08e1b76078f3b67513dba8878617befeb5734e328f81985fcb4f35cd777e7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/gsplat/gsplat-processor.js: 21.2% line coverage (106/501)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/gsplat/gsplat-processor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff832761c7259e9153d76f5bb184429eb8ef17f287238f89a5126a909df65bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/handlers/basis-worker.js: 1.0% line coverage (5/478)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c573e3768be0d32c1a68fffd0238de8704e5a5072d20b236f8d7a5148bba86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/handlers/basis.js: 28.1% line coverage (103/366)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5477dadd9a544e855a717a8f431b3ab53b4fbe325537f2ba6dfe114f48e859a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/handlers/container.js: 36.6% line coverage (82/224)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/container.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cfa10fc2f8cf69f59d20d794800834155dd15aa7dd7741a30b5ad5dbbd221d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/bake-light-ambient.js: 33.9% line coverage (19/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/bake-light-ambient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aec2670fbe996c589b80dcaf83d26e773045611f5d50dd13a012fc709ff727"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/bake-light-simple.js: 36.2% line coverage (17/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/bake-light-simple.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3db483413162966e0b269646fad22a0ddd246b0973f0ff57c3f6ef17be466"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/bake-light.js: 22.5% line coverage (20/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/bake-light.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"334b08e2edc8bc5f7c5b22994864cc7dbbf5df51da4877d0df930b8ebe0f3afe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/lightmap-filters.js: 20.1% line coverage (27/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmap-filters.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd5c7869cef28cb17198340d77693f409a5ef4efee6b9e3e7898ecc23417083"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/lightmapper.js: 28.1% line coverage (328/1169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaafa6f71e14e7528298b3b6a7bdeaf1892b4494dcf85a934d4ac3980d5f90d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/lightmapper/render-pass-lightmapper.js: 41.2% line coverage (14/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/render-pass-lightmapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b977c2e4d1b9896da0926b1c8b3d4694ab529612ffe4e5fd0dad947e14532"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/draco-decoder.js: 23.4% line coverage (65/278)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-decoder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93374b90e467a2bf0bbbfafba78eac0c3d54fdd6bd65fcd156625de83fb0b9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/draco-worker.js: 2.2% line coverage (7/321)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b187c0badf5c67b96e9520f36fc2218010c9ca145ca8dbc673918509419b66"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/ply.js: 23.1% line coverage (158/685)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7874d5aeb8ebc90e965ebd45922f6a72bef2580e870c44997e4a19658c27332"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/ext-mesh-gpu-instancing.js: 22.2% line coverage (16/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/ext-mesh-gpu-instancing.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c692747b7a3d35084765481fb086b94bc25a6c060d458f98b63bd21ac847e80c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-draco-mesh-compression.js: 14.8% line coverage (18/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-draco-mesh-compression.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0e6976c40f5f1ed3051be2c23aa108bfd18c3de452f9d7bea0f73c5d362a93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-gaussian-splatting.js: 30.0% line coverage (54/180)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-gaussian-splatting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"524db552e7886d521fad710e95ff80ad02f524c428cb9c44308a7e905097ece2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-anisotropy.js: 32.1% line coverage (9/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-anisotropy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecb614cb03438cc449bb203d8d4136e026a3266dd904cd590938509b783dc41"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-clearcoat.js: 46.8% line coverage (22/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-clearcoat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2995b3563eff4ed05272e3ed1654271fb2107cf8101ed85ad9f630cdec0d5c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-iridescence.js: 24.2% line coverage (8/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-iridescence.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbedfca04421be56f929ed76ae1a21738d1014b46f41c65491a081e0a4c71c17"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-pbr-specular-glossiness.js: 18.3% line coverage (11/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-pbr-specular-glossiness.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cd8e97e8c4667d879e28223d892d6ab7d7f2d359e5c3076449b9855d27158f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-transmission.js: 42.9% line coverage (9/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-transmission.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c58ec7e991998353c348f60689fe115323c69142cb142fa94f2d930effb1609"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-unlit.js: 21.4% line coverage (6/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-unlit.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a6dd315f06ac8912e29b0031ac9f0cbf5815ba713554fa71b8e8107f5f436b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-variants.js: 48.4% line coverage (15/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-variants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a7c4809febb064a834061411264caf8d7db820c1924f06dc4d35597461ce28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/glb/extensions/khr-materials-volume.js: 33.3% line coverage (9/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-volume.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eb4892985f581c651152d84ed0dbad26b568b73cde70b5706aeacab17b9d59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/texture/basis.js: 37.3% line coverage (28/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/basis.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6576c7d5816ad496134d575d0da3c0fb59c40e722a48878eee8e9f978edfa950"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/texture/dds.js: 17.6% line coverage (30/170)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52948beb7a3bfec5091300ed862aa3076473204494f36bfde2e46a26cc7c43bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/texture/hdr.js: 18.3% line coverage (36/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/hdr.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7150ebe1832b3aaddb63c25197867d37a712de40c241de9f1447080cddc0487"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/texture/ktx.js: 34.5% line coverage (59/171)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/ktx.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3724a8833a15a61e38a9014373719640537b5c792b05b48befc544c4f65812f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/parsers/texture/ktx2.js: 26.5% line coverage (40/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/ktx2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c487041d052a2d71ba708f2fb02c1f44b468e9ee7dd6bac5273f7b7a793c321"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/physics/ammo/ammo-physics-joint.js: 30.0% line coverage (132/440)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-joint.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea145f0e025a270ed5371b271b1c1ff6eb73be0110adfc40e30bd80b40bd6ec0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/script/script-type.js: 42.1% line coverage (53/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-type.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c95347a2f4a8d63631e2d81a74e9ca029000178d6c5c1327845b5ca77fa9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/xr/xr-anchor.js: 13.3% line coverage (36/270)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00426669f40aa8e605b707fddbabc020961080a45cd44894fc9694f774a1ed4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/xr/xr-finger.js: 14.9% line coverage (13/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-finger.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eed1e31ca59d58041bc42bcfd3dd26c1244de7356f869cfe94fcd366678e6f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/framework/xr/xr-hand.js: 9.9% line coverage (31/313)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-hand.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eedc38a8d89e2756e75b124fcc0d506744514bcf319ffe32ec97925df37c42"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/texture-view.js: 26.3% line coverage (26/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture-view.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e193451c2d3ad3b8805468bd0d3e5fae47fdd5c436e4a761174830e64111c76f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-bind-group.js: 41.0% line coverage (16/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-bind-group.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99462ae3963b005a262cdfa9c8f02694cb2a397d51fa5c80a4443b6da9380837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-graphics-device.js: 44.6% line coverage (1536/3441)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b702dbf41afdc068ae6b93e8058416ae89f8dc31e8cd948beb898ac528334b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-mipmap-renderer.js: 21.3% line coverage (71/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-mipmap-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fab7545405ec08f8289ae7f82200d2ac24765332e3646942ebd4fcb4d3c1bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-render-target.js: 29.6% line coverage (154/521)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7acd12cdb881e173b832b33ddacc91f78214f2fa187ec9944454a8d90f9d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-shader-input.js: 43.2% line coverage (32/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader-input.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d8ae673e1960fe18a353976bf9c8a29cad86ba365f1698859a8af228dddaea"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-shader.js: 7.0% line coverage (38/540)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a87ab0b70cea5a94b7b0d6e5b8910aedcbcacea5b41bf0b504fd000c45206f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-texture.js: 22.7% line coverage (216/950)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3f52bc9fae7b943ad108f5289ae3587a0767638930cad18ed1fbdeb55f69a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-upload-stream.js: 7.0% line coverage (16/230)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-upload-stream.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9ce0168d64552fce75ca8710e6a4e226f6c381f5bff1ee95f13b825df4896d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-xr-bridge.js: 5.2% line coverage (17/325)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-xr-bridge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d04954b2ffd581707e083a777e63c6d32c8f875a04e5bb519ac695f484952e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgl/webgl-xr-msaa-copy.js: 25.6% line coverage (53/207)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-xr-msaa-copy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c40ccefbfc1a0ae3f33245f4b55d42fb2580604a4ebc41076a2c8a663556a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-clear-renderer.js: 31.1% line coverage (41/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-clear-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4035b8643f51759dc5ac525e51ed8ebab4afe6b280883fd1b31f9c2108c0c9a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-dynamic-buffer.js: 9.7% line coverage (6/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-dynamic-buffer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf548e238cb55a4dbdbb43f1bb34030317ffa49affe1a075c2c62bee93d224e1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-dynamic-buffers.js: 37.4% line coverage (43/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-dynamic-buffers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a9d7c432fdd99673425ad3c78c3fb6477603052d9a8ea8809a453b7649d173"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-mipmap-renderer.js: 10.7% line coverage (38/355)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe2cbe4bc67e3a9ba36202b62623465fa6a376ce7edd6b730863fb0158582b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-query-set.js: 6.0% line coverage (9/150)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-query-set.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"152babd552e284d5702e46aa3929ee64228eb6d7efa26b45ac0a2691961d074e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-resolver.js: 9.9% line coverage (20/203)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-resolver.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"342402a7b23016526cabb53ceb8f9661e5909774506d5a061e1a437a7fb88705"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-texture.js: 43.2% line coverage (338/783)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"642c9431b9fcfea0dc5fd5caed81fecae283afb15dbfc244b81001e6e32d2c97"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/graphics/webgpu/webgpu-vertex-buffer-layout.js: 49.6% line coverage (57/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-vertex-buffer-layout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b51257b26abba3d4b4a09becc1c33ad591326d3d3b631023bd9c412794db4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/input/controller.js: 4.9% line coverage (21/427)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29b0bb9f792c727afa563c0fc15dc9aa1cce6116844a01f5f5496946f96ff24"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/platform/sound/instance3d.js: 12.3% line coverage (28/227)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance3d.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a2698637cd2b3dd6e77f053880b257e354376b2f9a163cd6161fa371b151d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/sprite.js: 47.3% line coverage (189/400)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/sprite.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d218233ffc40885df8995288013cd3bcd2c6716c2dab1b378493e84751565dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/batching/skin-batch-instance.js: 49.0% line coverage (24/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/skin-batch-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"435b54ad7e6a5b0254373bb23141472fedb27d6ace3a4c8c286914d2f2c58678"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/compress/compress-utils.js: 48.6% line coverage (34/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/compress/compress-utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"454f6557346fbdc98cc61d5f1bd038d1cfe5611450f1dc8f6e96f315c0775c18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/compress/decompress.js: 38.0% line coverage (27/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/compress/decompress.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bed4638e0422b593ac6ff7041f6b02a3417ff0ef66acd5d28de055da20d0345"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/graphics/fisheye-projection.js: 11.2% line coverage (14/125)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/fisheye-projection.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1b72c6ca0ab103e23d0bde19017337e49d8dedb95c5a6bae917deb01ebc2c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-compressed-data.js: 5.2% line coverage (19/368)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"015beab3f16048a5640f435a90b53fd60a1e19cd584f499c6616f9cb7b019589"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-compressed-resource.js: 34.6% line coverage (46/133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-resource.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3377747cbfe6322fc740b1b4e88e7b2a9a752b370c47dc5dd692fcb24d3757f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-container.js: 30.5% line coverage (68/223)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-container.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f87c7b64b02a7c7dbc6b0534e884614d974eca1e7873d4fecd4848d23e18f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-instance.js: 10.5% line coverage (25/238)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c50165817d63e1ce5634960608232028aaf9c2e2cda4b7dfddd244a2f3fc41"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-sog-resource.js: 11.5% line coverage (23/200)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-resource.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e076e30c14ba5037c21bf5007178986e1ae67f6ef4f001fd7deb71f54c14bfa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat/gsplat-sort-worker.js: 1.9% line coverage (6/317)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7960a742c644c0b19255b102483fc23295c0e184e92cba2e0f8ccef801bafd04"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-hybrid-renderer-scratch.js: 38.9% line coverage (28/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer-scratch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f76f82b8633d4334870037782deb1a142a04753ef3915943b6eaa0829b7434"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-hybrid-renderer.js: 27.8% line coverage (279/1002)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab885c8a9cdb4c372f9a8d27cf95aaeae12a21144a0bbfa622dfcc1b7cbc3d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-info.js: 8.0% line coverage (42/527)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-info.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dde22a479684949fd89cadf74e7bf5e26f2fc5bc89bb5dfe97c6db2d9aab4f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-interval-compaction.js: 9.0% line coverage (47/525)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-interval-compaction.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be086df8516dd9f760472e915c6975996c1c99a03ced9a3d63d98293cbca545d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-interval-data.js: 42.6% line coverage (23/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-interval-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02f9646af77880ecf75c4cefe18f8d597c834e7b05f55c1d9104eb079e673d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-manager.js: 23.8% line coverage (242/1016)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d91be07cc9f6e8a8424658f958a8bb78726db4419d5168ff2de9a32e74d6c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-projector.js: 9.9% line coverage (88/892)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b357ac005bfc802a1ed4f5ffbebbc1b4df66942b44d9619f9c4a5ed25dfc69c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-quad-renderer.js: 5.1% line coverage (26/507)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-quad-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7182ad32d7d0069ce6bbde0ab34a9f14bf855f620410da8fdeb0670254b6803e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-renderer.js: 18.8% line coverage (54/288)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6013e5082e8898b2e6c1ac0611e9271bfdf15765a0224b06f3ad57d6f3397c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-shadow-renderer.js: 15.6% line coverage (135/866)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fd2bc137a06f16fa78b8cdedaf8ccb400bf6ecae53b188466c760f055fb109"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-unified-sorter.js: 15.9% line coverage (45/283)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b8944465bae3b9698b62575a41444d253cef90b54cc85d26fb3e4ded759590"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js: 37.6% line coverage (132/351)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e822fc79286384186e8c1654317b4ce3993be472ad6fa61cae7fc6026505641"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-world-state.js: 4.4% line coverage (16/360)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb3d97dbcf59109a957c518919ae6fcdb5e63b370dad3c8b839da84d2716638"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/scene/gsplat-unified/gsplat-world.js: 10.0% line coverage (132/1316)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f42146a1a3e1de92df9628d97d20792401b15df19acc145769b40650e62d22e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: assets not in asset registry get loaded after they are added to the registry: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/i18n/i18n.test.mjs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f659ff1ccab726be07e8c987326a9e94b794795b1a86bc4add7a838642aeba"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: assets in asset registry get loaded when passed to i18n: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/i18n/i18n.test.mjs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f25b6adb4ced516292441bf628087d30391fcd842c977e49477108e7314300"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: releases a cubemap from each material referencing it: 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":"test/framework/handlers/material-handler.test.mjs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d7d3533f1c16f59c6f9cb1564f3f374e19255b833b0c31493b92089eba280"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fires a drag:end event when dragging ends via touchend and stops firing drag:move events: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2badb3801a4b3dd5521aca51088ceac7b69889ccde44d8620c696a6b472bae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fires a drag:end event when dragging ends via touchcancel and stops firing drag:move events: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"005bc81fe63d5cb7fea062f5bf0c87b8b75d72839b217984b495e54f4b3e9375"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes ancestral rotation in coordinate conversion: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b2563c4a1b24e9aa008f8f63f77e70f39700d3d315519609f0a41579c96692"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes ancestral scale in coordinate conversion: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"042602b7aab07502acf54ccd4a42a9dc5ac371f94fee8b58d2e340dbdda37c2d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes camera rotation in coordinate conversion: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3dfb0a2c253868e4aba1b397685fec7edf1130ae9679ec8b9e6f5b0a9d1c13"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: includes screen scale in coordinate conversion and disables perspective when using screen space: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba657efab9709c88b6b66ae39c9fbacbedb3aaf43a0927c267427ee21f0cdfb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: supports an element that is a direct child of a screen space screen: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a054fdbf31bfef2b518b4325a8e0750a37be02b748a86215a25873e4ccf9b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: allows dragging to be constrained to the X axis: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e70b9aad526dd8e8b57287f7a2ef06b3c4e8d4a2570f0222a255c5f9b91acb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: allows dragging to be constrained to the Y axis: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e31431f28fe25cf048b6050d6cccb01c6b332a1153e3dc20443a358592b50fa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: takes device pixel ratio into account: 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":"test/framework/components/element/element-drag-helper.test.mjs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c4f387d7ccb3085056eb8a7e6b23ab04357cd35bd74939722cc4473e823212"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders, alone, with TAA, with multisampling and with its debug view: 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":"test/extras/render-passes/auto-exposure-effect.test.mjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"614d9b38e4f38aa07447fd088e7b19dffc922f8a2c261c4cccbb7a2d38e7b229"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders with TAA, alone and upscaling, and with the sharpening of the HDR scene: 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":"test/extras/render-passes/frame-pass-camera-frame.test.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01531832a0ae13f1a56c683e21027104c30788198e5ff6add55f56a96ffd01d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders, alone and with TAA and multisampling: 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":"test/extras/render-passes/smaa-effect.test.mjs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f4f1089b29878494be74ba27d5a73be4eaf7b01bb195b0b4a410068ff69ec0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: renders one shadow for all cameras: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 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":"test/scene/renderer/directional-shadow-bounds.test.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"693cb85db5c05b5afdd84cddee0a81cc84409c1cc0a37df42e75fa101f70ce09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: renders the cascades of each camera without bounds: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\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":"test/scene/renderer/directional-shadow-bounds.test.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad965701d1beb5a543788110904dded04ece102666ca97d1da940bf59ba2bdc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deduplicates repeated requests for the same light and camera: This test sets up 3 test doubles (for example \u0060sinon.stub\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"test/scene/renderer/directional-shadow-cull-requests.test.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9f2f99aa02283d59788d8143722d3b208f26b72bceb75a4bb1f6c6a237786"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports direct lightmapper rendering without registering a cull request: This test sets up 3 test doubles (for example \u0060sinon.spy\u0060) against 1 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":"test/scene/renderer/local-shadow-cull-requests.test.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"483011a4d75a92d6d60d78570f3be3d1346f97ca6fddd9527f94b1f859b2f7fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves the state alone for a mesh instance overriding nothing: This test sets up 3 test doubles (for example \u0060sinon.spy\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":"test/scene/renderer/restore-material-overrides.test.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a153d15bb7404b80f0664da120d14d23ac92997a8c8a3d9d2c250c40301965a"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 9.39.5, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: sourcemap-codec: sourcemap-codec 1.4.8 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Please use @jridgewell/sourcemap-codec instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":8656}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d30df8f244bda53bb9a0d19df7f889d3bf10eb14ea434ff30f9d7860d76a83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/shadow-renderer.js: src/scene/renderer/shadow-renderer.js changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in ShadowRenderer.cullShadowCastersOmni at line 310. 4 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/shadow-renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9783aa527c7e55f2b4c8f2c01a5ff452baa0f04d16b2f6d82fae7bdbc53c0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgl/webgl-graphics-device.js: src/platform/graphics/webgl/webgl-graphics-device.js changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in WebglGraphicsDevice.constructor at line 254. 5 of those changes were fix/bug commits, and the other 24 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgl/webgl-graphics-device.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5341e1531c4c1ab8c597c6f20d6e1d56f3f7ded81656fed7f4ea7074b96845"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/forward-renderer.js: src/scene/renderer/forward-renderer.js changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ForwardRenderer.buildFrameGraph at line 644. 3 of those changes were fix/bug commits, and the other 28 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/forward-renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c415f272911860ff72f6be00b046034422dd1c7f075a983221bc0dffde21a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-graphics-device.js: src/platform/graphics/webgpu/webgpu-graphics-device.js changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in WebgpuGraphicsDevice.draw at line 1469. 12 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-graphics-device.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3dd85c7bc5732e36ca50762c2ccd6f42409a2665ad5842577be4cf6b5bb444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/components/element/text-element.js: src/framework/components/element/text-element.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in TextElement._updateMeshes at line 864. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/components/element/text-element.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a069802cc356ea38a5e4bb03f29de78a70ee4006560a1fd7ad1b4b8d918bb145"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/texture.js: src/platform/graphics/texture.js changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in Texture._validateCopy at line 1559. 6 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/texture.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8ce196fab697751d5af9f50fa68feaa308a4ddd1cc8cd0465d9c00f91b1c4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/app-base.js: src/framework/app-base.js changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AppBase.init at line 598. 5 of those changes were fix/bug commits, and the other 34 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/app-base.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa93a5f3c109b9d58a8405af059e235255d49e1071034f68eb30b3cb22b243a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/render-target.js: src/platform/graphics/render-target.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in RenderTarget.constructor at line 388. 1 of those changes was a fix/bug commit, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/render-target.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fdec2cfdade8c13ec6710255790b0c31aa745ddd66131e8fd7121b1f1799c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/components/element/system.js: src/framework/components/element/system.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in ElementComponentSystem.initializeComponentData at line 107. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/components/element/system.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e3c90c6af5f0f3bb0386e7b781b7e7acd0ba7f87ee8a9a37e229da3e7f4092"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/materials/standard-material-options-builder.js: src/scene/materials/standard-material-options-builder.js changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in StandardMaterialOptionsBuilder._updateEnvOptions at line 290. 3 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/materials/standard-material-options-builder.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4974f8bf2301c3130fc9dcd8fd73770cbaa2da471db7708b12c37af97af7e83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/renderer.js: src/scene/renderer/renderer.js changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Renderer.setCameraUniforms at line 499. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"027539acedca5950cc476f30275093710246c794013b363dd165b311d838bde7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgl/webgl-texture.js: src/platform/graphics/webgl/webgl-texture.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in WebglTexture.upload at line 481. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgl/webgl-texture.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7927f2f0f0984bf2119d1955ca49ea7ddd3b41a9ce7d151b8f2797a14efab4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/mesh-instance.js: src/scene/mesh-instance.js changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in MeshInstance.getMaterialBindGroup at line 1965. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/mesh-instance.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"41460eb2c0c29275b2be35298646968132af13950995253ec4dcc9044e50e48b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/shader-lib/programs/standard.js: src/scene/shader-lib/programs/standard.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ShaderGeneratorStandard.createShaderDefinition at line 355. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/shader-lib/programs/standard.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb1d0415b846075754d58a125994cda49ce9b1e8e024c80f9e0eba831fe0df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-texture.js: src/platform/graphics/webgpu/webgpu-texture.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in WebgpuTexture.uploadData at line 386. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-texture.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6b7cbf1742f08685db1acc27503e79a0e8984d3215445155e2dcd9e1976604"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/extras/mini-stats/mini-stats.js: src/extras/mini-stats/mini-stats.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in MiniStats.rebuildGeometry at line 792. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/extras/mini-stats/mini-stats.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"201d5f4ec47bd68bce721199739813ec1ab7a663f551a898c6cac9c0f12ff269"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-projector.js: src/scene/gsplat-unified/gsplat-projector.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in GSplatProjector.dispatch at line 665. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-projector.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a8bcf7c6d46faaaff8be1007c7dbc7b5741f50708cbd47266e238ee51260ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-world.js: src/scene/gsplat-unified/gsplat-world.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in GSplatWorld.update at line 452. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-world.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec43982dc3251018b6baec3a3fafd6220ea4388d76826340b2c0861b2054aec2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/lightmapper/lightmapper.js: src/framework/lightmapper/lightmapper.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in Lightmapper.bakeInternal at line 935. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/lightmapper/lightmapper.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"877f9d7969545374887d09e529732f362c4b4b7ba1a8a89fa7ef46c240d721a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/render-pass-forward.js: src/scene/renderer/render-pass-forward.js changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RenderPassForward.renderLayerRenderStep at line 549. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/render-pass-forward.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"2327409025eca775f6e1675b9083ba9260e296ccb9cb071a299d500566c0fad1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/frame-graph.js: src/scene/frame-graph.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in FrameGraph._compilePasses at line 186. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/frame-graph.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/frame-graph.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa57149c83bd6cfb9ff5e38b5b8145d743fdba0b442be75aa900d7adb395c97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/batching/batch-manager.js: src/scene/batching/batch-manager.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in BatchManager.create at line 687. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/batching/batch-manager.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e7b94cea77a46ac891c0dd5c1001aaac7bc4c5470a853cc6a88513ba0c4693"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/asset/asset-registry.js: src/framework/asset/asset-registry.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AssetRegistry.load at line 462. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/asset/asset-registry.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1743d2d597637edb7cfe9f75aacd1072daab70566b0b2e9dd842d0351d91b0d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-manager.js: src/scene/gsplat-unified/gsplat-manager.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GSplatManager.update at line 740. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-manager.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d6d5b017f7a3911e73305a03307fe74a7ad0539c2575b79b58089c69b4bb74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-shadow-renderer.js: src/scene/gsplat-unified/gsplat-shadow-renderer.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GSplatShadowRenderer._cullEntry at line 557. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-shadow-renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ee3a137ebfd10cc6328cac7da569bb72994454ff65670756bba161c6efd31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat/gsplat-sog-data.js: src/scene/gsplat/gsplat-sog-data.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in GSplatSogIterator.constructor at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat/gsplat-sog-data.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2084ddb6be65c05cf11f6e5e0548924e943d4631af1b27e2214248166972408"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: examples/src/examples/gaussian-splatting/viewer/example.mjs: examples/src/examples/gaussian-splatting/viewer/example.mjs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in example.canvas.addEventListener(\u0022drop\u0022) at line 450. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- examples/src/examples/gaussian-splatting/viewer/example.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/examples/gaussian-splatting/viewer/example.mjs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4966f5bf6541c412e3e345360ca5f3f4c87f38d8eb6f0d519fd9ef68919dc412"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/extras/exporters/gltf-exporter.js: src/extras/exporters/gltf-exporter.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in GltfExporter.writeStandardMaterial at line 491. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/extras/exporters/gltf-exporter.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15bea1cec365701eb494d13843af5bb50e733e9eb0ebbc34e6ca9c8c2360ed3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/esm/camera-frame.mjs: scripts/esm/camera-frame.mjs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CameraFrame.postUpdate at line 869. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- scripts/esm/camera-frame.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/camera-frame.mjs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94fd0854407a3cbd68b76acc2c0369f777add09a0f50f6fecbfa1f27bbdf532"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: examples/src/examples/misc/editor/example.mjs: examples/src/examples/misc/editor/example.mjs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in example.data.on(\u0022*:set\u0022) at line 376. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- examples/src/examples/misc/editor/example.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/examples/misc/editor/example.mjs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ba13a6c4d5e54720bd2350274de3e10e023b6abd158f768f8fdfb4f272fb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/components/script/component.js: src/framework/components/script/component.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ScriptComponent.create at line 769. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/components/script/component.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61659fd0e92f2de082252728e45f90b5ffe524bc6c2e75feeff5b6542b3a3aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/parsers/sog-bundle.js: src/framework/parsers/sog-bundle.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SogBundleParser.load at line 188. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/parsers/sog-bundle.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"81694a5607f4d6f501b905addef53dc26b1f64a67598341f9b7baf784eeff223"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: examples/utils/vite-dev-server.mjs: examples/utils/vite-dev-server.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in vite-dev-server.handle at line 485. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- examples/utils/vite-dev-server.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/utils/vite-dev-server.mjs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e0cc736f3e9320d3582b101cc30eda0ab978d3b417468052a85a2dcf65eb25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-director.js: src/scene/gsplat-unified/gsplat-director.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in GSplatDirector.update at line 349. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-director.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777f6dfac4deebf558fb55da2fe570e81005fc7f7d3a2159c0a965518ef67f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/anim/controller/anim-controller.js: src/framework/anim/controller/anim-controller.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AnimController.update at line 673. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/anim/controller/anim-controller.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11d0008c54f4c542aff9b68473a638847fa4a90af608b8fe438e9169fd99d9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/handlers/material.js: src/framework/handlers/material.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in MaterialHandler._bindAndAssignAssets at line 276. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/handlers/material.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb52531aaedb7ac77deb8124f479950fdf7d171bc849f4b72efd9a422b1737fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/gsplat-unified/gsplat-unified-sort-worker.js: src/scene/gsplat-unified/gsplat-unified-sort-worker.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in gsplat-unified-sort-worker.UnifiedSortWorker at line 4. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-unified-sort-worker.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ccf448d758a19367a48863536f4c6c39575d66760e4046accbb6fbd4e584e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/extras/effects/lens-flare/lens-flare-effect.js: src/extras/effects/lens-flare/lens-flare-effect.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LensFlareEffect.frameUpdate at line 381. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/extras/effects/lens-flare/lens-flare-effect.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa73e38c4198f4a45b6446e1ae1e08f1ada88e8a3a3eb6e66a2337dccda6545e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-render-pipeline.js: src/platform/graphics/webgpu/webgpu-render-pipeline.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WebgpuRenderPipeline.get at line 281. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-render-pipeline.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"457da95665c953bac739f53529b5af0155e114d5a98dcf442e3cd99301886777"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgl/webgl-render-target.js: src/platform/graphics/webgl/webgl-render-target.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WebglRenderTarget.init at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgl/webgl-render-target.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f525c2dd75ef8f38cac49955f01c9589160a03ef27e3fb5f298e10a6781747"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/culler.js: src/scene/renderer/culler.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Culler.updateLightVisibility at line 351. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/culler.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b224157cb0e12b9fb698a02c825315c34e7be42ebf56512c67ea0d3192c4c28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/extras/renderers/texture-renderer.js: src/extras/renderers/texture-renderer.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in TextureRenderer.draw at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/extras/renderers/texture-renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98019c0f7ed5e3f6bfab22d80b5629072b29c10d0d9ec5f7415354f1ccab007"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/anim/evaluator/anim-evaluator.js: src/framework/anim/evaluator/anim-evaluator.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AnimEvaluator.update at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/anim/evaluator/anim-evaluator.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1605899e7fdf06a6bf7d261fa3d7cefaede8791a5f12db8b5ad5d251ba0aee9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-mipmap-renderer.js: src/platform/graphics/webgpu/webgpu-mipmap-renderer.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WebgpuMipmapRenderer.generate at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-mipmap-renderer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de8a925ea879ce1bff92f993fa2d80845de1e58acb3f3f17b204aecc17b66d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/renderer/shadow-renderer-directional.js: src/scene/renderer/shadow-renderer-directional.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ShadowRendererDirectional.cull at line 220. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/renderer/shadow-renderer-directional.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b7cadca1745472b9fede3704cbdaa1bd66fefa12c403454ccc6d9f738da86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/shader-processor-glsl.js: src/platform/graphics/shader-processor-glsl.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ShaderProcessorGLSL.processUniforms at line 289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/shader-processor-glsl.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6e95d1defa4b2f4ae2f70ebd4a2d9dec21c49432b06d98e3c2f9d17ea8ac3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-bind-group.js: src/platform/graphics/webgpu/webgpu-bind-group.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WebgpuBindGroup.createDescriptor at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-bind-group.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b283543599f6edf3e8d0a17dbdee1370c6f39683a5d480b894cd4724d90a535"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/parsers/glb-parser.js: src/framework/parsers/glb-parser.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in glb-parser.createMesh at line 421. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/parsers/glb-parser.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"475a58f644043f028855db5ee72365ab4972d8b414367897553bba33212091c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/script/script-registry.js: src/framework/script/script-registry.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ScriptRegistry.add at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/script/script-registry.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-registry.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"118af07bcc20f50ce59367f3440d9c3422f62a8ad09df03501b28e8b3ccf6bba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/components/sprite/component.js: src/framework/components/sprite/component.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SpriteComponent._showFrame at line 881. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/components/sprite/component.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef96750f676d27657e0bd8bfa3caa82921ccf0166b6ebe45eedc8fc764e75ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/framework/anim/binder/default-anim-binder.js: src/framework/anim/binder/default-anim-binder.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in DefaultAnimBinder.constructor at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/framework/anim/binder/default-anim-binder.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/binder/default-anim-binder.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"819650d20953d99602b6df08e0c96aca9507a8fbc1a73d39c83eb06f46c6155d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/platform/graphics/webgpu/webgpu-xr-bridge.js: src/platform/graphics/webgpu/webgpu-xr-bridge.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WebgpuXrBridge.beginFrame at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/webgpu/webgpu-xr-bridge.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"77082191aaaf8e7e84bd1c75596e04c1f4b1ac507d2de80859570ea59d3f3727"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/scene/materials/standard-material-map-transforms.js: src/scene/materials/standard-material-map-transforms.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in StandardMaterialMapTransforms.update at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/materials/standard-material-map-transforms.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c0f219795213d4e31c9cf398320e9e5020018034f0d48b0a1b9cc19428a196"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/esm/xr/xr-controllers.mjs: scripts/esm/xr/xr-controllers.mjs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is XrControllers.update at line 387), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Skip a screen\u0027s touch in XrControllers, which has no model to draw (#9881)\u201D; \u201CXrNavigation and XrControllers fixes found on Apple Vision Pro (#9750)\u201D; \u201Cfix: Hide XrControllers models while their pose is not tracked (#9635)\u201D; \u201Cfix: Keep XrControllers models loaded while input sources share them (#9631)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- scripts/esm/xr/xr-controllers.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-controllers.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d075f6f5fbbab9f59563fe5c82fbe732313e827ed6588fc408acd951e181bd15"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js: src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is GSplatWorkBufferRenderPass.update at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Distinct gsplat LOD debug colors and billions LOD falloff (#9673)\u201D; \u201Cfix: Correct gsplat spherical harmonics with orthographic cameras (#9531)\u201D; \u201Cfix: avoid retaining gsplat work buffer shaders (#9322)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c08aaf50fd2f1577a9b09fe5cea3443daa2b360c7d786e3c9dcfc522b3935"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/platform/graphics/graphics-device-create.js: src/platform/graphics/graphics-device-create.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is graphics-device-create.createGraphicsDevice at line 93), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix WebGPU creation for cross-document canvases (#9814)\u201D; \u201Cfix: Make createGraphicsDevice reject instead of hanging when no device can be created (#9603)\u201D; \u201Cfix: Add alpha option to createGraphicsDevice typings (#9317)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/platform/graphics/graphics-device-create.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device-create.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f1dfd6260aec5801c7dad84793d5fed466fb9aaa63fa6c8d63cd73c7fc1f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/scene/gsplat-unified/gsplat-unified-sorter.js: src/scene/gsplat-unified/gsplat-unified-sorter.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is GSplatUnifiedSorter.onSorted at line 79), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Restore gsplat shadows after graphics context loss (#10021)\u201D; \u201Cfix: Space gsplat sort keys by log distance so stray far splats keep near precision (#9899)\u201D; \u201Cfix: Keep the Node worker_threads require out of bundled worker code (#9656)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/gsplat-unified/gsplat-unified-sorter.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd82b87a2695a058e4c09d8b8336c9160e8abc1aac04cd8374d51336eb129577"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/scene/graphics/prefix-sum-kernel.js: src/scene/graphics/prefix-sum-kernel.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is PrefixSumKernel.resize at line 230), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Correct ComputeRadixSort scan growth and destructiveKeys switching (#9759)\u201D; \u201Cfix: Dispatch each Compute instance at most once per frame (#9690)\u201D; \u201CFix WebGPU recovery for compute, readback and generated data (#9358)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 02:14:38 \u002B00:00\u0027 --until=\u00272026-11-14 02:14:38 \u002B00:00\u0027 --full-history --no-merges -- src/scene/graphics/prefix-sum-kernel.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/prefix-sum-kernel.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"113a6349333186bd2a30fbb451a5e27ebcdb329580cce7b4633ae9f8b0173d3b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 186 significant file(s) lose their only recent owner: src/platform/graphics/webgpu/webgpu-graphics-device.js, src/extras/effects/dynamic-sky/dynamic-sky-effect.js, src/platform/graphics/graphics-device.js, src/scene/gsplat-unified/gsplat-octree-instance.js, src/extras/render-passes/frame-pass-camera-frame.js, src/scene/light.js, src/framework/lightmapper/lightmapper.js, src/scene/gsplat-unified/gsplat-params.js (\u002B178 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea3cd8e2ae07ef021f0c3f4c9f05c6c1d7fc5a5662889a694db205ab66f5c351"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 40 significant file(s) lose their only recent owner: src/framework/components/joint/component.js, src/framework/components/rigid-body/system.js, src/framework/components/collision/component.js, src/framework/xr/xr-input-source.js, src/framework/physics/ammo/ammo-physics-world.js, src/extras/exporters/usdz-exporter.js, src/framework/physics/physics-world.js, src/framework/font/canvas-font.js (\u002B32 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dcf5fc5427425d644513b255764aa283479c3dc64ab0fe74265288d5c95439e3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: src/extras/gizmo/transform/rotate-gizmo.js, src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/view-cube.js, src/extras/gizmo/shaders.js, src/extras/gizmo/shape/arc-shape.js, src/extras/gizmo/mesh/mesh-line.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b6de4b60807ae0b252d90e116585238f035c59fc68612a98438292d92a3630f3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (233 single-owned of 702 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; 702 of the 1393 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/extras/effects/dof/wgsl/blur-ps.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getGlslShaderType\u0060 spells \u0060Glsl\u0060 where 17 names in the project spell it \u0060GLSL\u0060: 17 of 18 names in project playcanvas spell the token \u0060GLSL\u0060 (17 of 18; unit: names in project playcanvas containing \u0060GLSL\u0060). Peers: GSplatShaderEffect.getShaderGLSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:203); GSplatShaderEffect.getFragmentShaderGLSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:221); GSplatRevealGridEruption.getShaderGLSL (scripts/esm/gsplat/reveal-grid-eruption.mjs:355); GSplatRevealRadial.getShaderGLSL (scripts/esm/gsplat/reveal-radial.mjs:356); GSplatRevealRain.getShaderGLSL (scripts/esm/gsplat/reveal-rain.mjs:401). Rename to \u0060getGLSLShaderType\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5770049ade0754c316179136dbad6fede6b2fc18afc96eb02fc8ce9e09441fa0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getWgslShaderType\u0060 spells \u0060Wgsl\u0060 where 20 names in the project spell it \u0060WGSL\u0060: 20 of 22 names in project playcanvas spell the token \u0060WGSL\u0060 (20 of 22; unit: names in project playcanvas containing \u0060WGSL\u0060). Peers: GSplatShaderEffect.getShaderWGSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:212); GSplatShaderEffect.getFragmentShaderWGSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:230); GSplatRevealGridEruption.getShaderWGSL (scripts/esm/gsplat/reveal-grid-eruption.mjs:359); GSplatRevealRadial.getShaderWGSL (scripts/esm/gsplat/reveal-radial.mjs:360); GSplatRevealRain.getShaderWGSL (scripts/esm/gsplat/reveal-rain.mjs:405). Rename to \u0060getWGSLShaderType\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c74edaf4b3d74089adcc8c6c75a9ad2037fc9ab59bfaf18a66de8fd0e5a08"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060_userModifyWgsl\u0060 spells \u0060Wgsl\u0060 where 20 names in the project spell it \u0060WGSL\u0060: 20 of 22 names in project playcanvas spell the token \u0060WGSL\u0060 (20 of 22; unit: names in project playcanvas containing \u0060WGSL\u0060). Peers: GSplatShaderEffect.getShaderWGSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:212); GSplatShaderEffect.getFragmentShaderWGSL (scripts/esm/gsplat/gsplat-shader-effect.mjs:230); GSplatRevealGridEruption.getShaderWGSL (scripts/esm/gsplat/reveal-grid-eruption.mjs:359); GSplatRevealRadial.getShaderWGSL (scripts/esm/gsplat/reveal-radial.mjs:360); GSplatRevealRain.getShaderWGSL (scripts/esm/gsplat/reveal-rain.mjs:405). Rename to \u0060_userModifyWGSL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"072d3b8ef07b5297c81263e16ced0e7eaa3175ecc27113c1f0391a46d6212cb0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060FakeXRSession\u0060 spells \u0060XR\u0060 where 24 names in the project spell it \u0060Xr\u0060: 24 of 26 names in project playcanvas spell the token \u0060Xr\u0060 (24 of 26; unit: names in project playcanvas containing \u0060Xr\u0060). Peers: example.placeForSceneXr (examples/src/examples/gaussian-splatting/vr-lod/example.mjs:556); example.setCameraControlsForXr (examples/src/examples/gaussian-splatting/vr-lod/example.mjs:605); XrControllers._onXrEnd (scripts/esm/xr/xr-controllers.mjs:149); XrMenu._onXrEnd (scripts/esm/xr/xr-menu.mjs:479); XrSession.onXrStart (scripts/esm/xr/xr-session.mjs:201). Rename to \u0060FakeXrSession\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/xr/fake-webxr.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a55f1aa561139261e6ac7a56cd08468a8f39fc938acd68f50f6dd492e52da9"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060FakeXRSystem\u0060 spells \u0060XR\u0060 where 24 names in the project spell it \u0060Xr\u0060: 24 of 26 names in project playcanvas spell the token \u0060Xr\u0060 (24 of 26; unit: names in project playcanvas containing \u0060Xr\u0060). Peers: example.placeForSceneXr (examples/src/examples/gaussian-splatting/vr-lod/example.mjs:556); example.setCameraControlsForXr (examples/src/examples/gaussian-splatting/vr-lod/example.mjs:605); XrControllers._onXrEnd (scripts/esm/xr/xr-controllers.mjs:149); XrMenu._onXrEnd (scripts/esm/xr/xr-menu.mjs:479); XrSession.onXrStart (scripts/esm/xr/xr-session.mjs:201). Rename to \u0060FakeXrSystem\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/xr/fake-webxr.mjs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f18ac6e0560da51c41a1fd03b64cf27aee65fafef1e79d25b917c00f5b20e3d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Look at the target entity from the new position\u0022 repeats the code it sits on: 4 of its 5 words (look, target, entity, position) are already in \u0060this.entity.lookAt(this.target.getPosition());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/camera/follow-camera.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1192c8ab82b4dcd2d02167f764b177fb1447c7102ba65c17336cfe7fdab84"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Orbit Camera Script //\u0022 repeats the code it sits on: 3 of its 3 words (orbit, camera, script) are already in \u0060var OrbitCamera = pc.createScript(\u0027orbitCamera\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/camera/orbit-camera.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b011ad9f3c5eb4b91834f7d6de65aef8dcc88077fe77a8547840b83d35cbd73"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Orbit Camera Mouse Input Script //\u0022 repeats the code it sits on: 5 of its 5 words (orbit, camera, mouse, input, script) are already in \u0060var OrbitCameraInputMouse = pc.createScript(\u0027orbitCameraInputMouse\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/camera/orbit-camera.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6746aacc257e9af5c5bf79271810d71ee04c1ef21c4a886682dbaad6a599934f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Orbit Camera Touch Input Script //\u0022 repeats the code it sits on: 5 of its 5 words (orbit, camera, touch, input, script) are already in \u0060var OrbitCameraInputTouch = pc.createScript(\u0027orbitCameraInputTouch\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/camera/orbit-camera.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1bd4cfa5f9be5a504e3a0374e2281e7ea4615e56c84a714e514568193d2bbe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create base entity\u0022 repeats the code it sits on: 3 of its 3 words (create, base, entity) are already in \u0060const baseEntity = new Entity(\u0027base\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/annotations.mjs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec0ee54a961c9afe81d140ff21a6d593d3a2b4d4fd0a2d4d1839a833dbf3a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create overlay entity\u0022 repeats the code it sits on: 3 of its 3 words (create, overlay, entity) are already in \u0060const overlayEntity = new Entity(\u0027overlay\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/annotations.mjs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"055a5a301e12dc678ca3b0bf0cc8be9639bbfbc884b92f7ebcdafb3eb06715d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create hotspot DOM\u0022 repeats the code it sits on: 3 of its 3 words (create, hotspot, dom) are already in \u0060const hotspotDom = document.createElement(\u0027div\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/annotations.mjs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af1dbfd1db27941db916f0925305d34a278b1157e3f4b398c90ff1e86d9bb2b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 479, 486, 496, 673, 706, 743), for example \u0022Create reflection depth camera\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/blurred-planar-reflection.mjs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a66412e4080b05ea3e351ce97c6ece378bd12b256272082b82b34481785d324"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022apply dead zone to gamepad sticks\u0022 repeats the code it sits on: 5 of its 5 words (apply, dead, zone, gamepad, sticks) are already in \u0060applyDeadZone(leftStick, this.gamepadDeadZone.x, this.gamepadDeadZone.y);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/camera-controls.mjs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7636dfcbd08728234f6a14bf6fc8d8b56aaa8a732e22f6a4a67b844245e6bb9a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022apply dead zone to gamepad sticks\u0022 repeats the code it sits on: 4 of its 5 words (apply, dead, zone, sticks) are already in \u0060applyDeadZone(leftStick, this.gamePadDeadZoneLow, this.gamePadDeadZoneHigh);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/first-person-controller.mjs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bee9d6f15ed8d54ad6d2e56e12f6d1be8f2954a162cae55f86b20d1de33520"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Maintain preload buffer\u0022 repeats the code it sits on: 3 of its 3 words (maintain, preload, buffer) are already in \u0060this.maintainPreloadBuffer();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-flipbook.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f4026063eff1146d2b28637c48356a21a0f94d4bb73d065628b5ba86ff442"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set LUT texture uniform\u0022 repeats the code it sits on: 4 of its 4 words (set, lut, texture, uniform) are already in \u0060this.setUniform(\u0027uLUT\u0027, this._lutTexture);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/shader-effect-box.mjs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee60916d8f8dab9c3d2de79d5488a717c66ee22c53ca9fbf643a31087268465d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set edge scale factor\u0022 repeats the code it sits on: 4 of its 4 words (set, edge, scale, factor) are already in \u0060this.setUniform(\u0027uEdgeScaleFactor\u0027, this.edgeScaleFactor);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/shader-effect-crop.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e1a38e52ae6e0b628e604de04a7b43e507aced059f91a513a1edc3a3df08a9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sceneCameraEntity needs to be set\u0022 repeats the code it sits on: 4 of its 5 words (scene, camera, entity, set) are already in \u0060const sceneCamera = this.sceneCameraEntity?.camera;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/planar-renderer.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d4370e695dac4f95e8fae2aa42b57dfb50bed259f408bb94a8761808517798"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create shadow catcher material\u0022 repeats the code it sits on: 4 of its 4 words (create, shadow, catcher, material) are already in \u0060const shadowCatcherMaterial = new StandardMaterial();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/shadow-catcher.mjs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"539e84f745567b7c315a525ea29c729ea16edfecfcf91d41df79a41cd82a73e9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Offset the menu along the palm normal (in front of palm)\u0022 repeats the code it sits on: 4 of its 5 words (offset, menu, palm, normal) are already in \u0060tmpVec3A.copy(palmNormal).mulScalar(this.menuOffset.z);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-menu.mjs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a4bced682985f5aab2f7419894e457a0c27c1d2bba64f9b1bd5eec35f55c64"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the preferred input source\u0022 repeats the code it sits on: 4 of its 4 words (find, preferred, input, source) are already in \u0060const inputSource = this._findPreferredInput();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-menu.mjs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534769ee3bea59ce0fc160d86bc4cb177a2fc430671d3439d775df9f7e91d59"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add the vehicle to the dynamics world\u0022 repeats the code it sits on: 4 of its 4 words (add, vehicle, dynamics, world) are already in \u0060dynamicsWorld.addAction(vehicle);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/physics/vehicle.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"61622d61671bad75c31390ce077096712ead90c7d59f6ebd47968a52f433cd01"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a command encoder\u0022 repeats the code it sits on: 3 of its 3 words (create, command, encoder) are already in \u0060const commandEncoder = this.device.createCommandEncoder();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/utils/mac-gpu-profiling.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f2275f09ceaace6ff6d9107153c1d72fdf0210608e97d7805e28f0c8fd07a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sceneCameraEntity needs to be set\u0022 repeats the code it sits on: 4 of its 5 words (scene, camera, entity, set) are already in \u0060var sceneCamera = this.sceneCameraEntity.camera;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/utils/planar-renderer.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea66d80fb845f0f1d6d5db723551ac869c98cb4e84ccafe173d68e8ca06268ee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Insert freed region into main list\u0022 repeats the code it sits on: 4 of its 5 words (insert, freed, main, list) are already in \u0060this._insertAfterInMainList(freed, prev);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a2fd8b127c48e08bad45f86c34133c285711945112e9bb3de5353bec72775e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022remove empty lines\u0022 repeats the code it sits on: 3 of its 3 words (remove, empty, lines) are already in \u0060source = this.RemoveEmptyLines(source);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7b854d9f080e45bfb084cc03865d333a350b678240a4dd19b3620cef3b8b64"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022process array sizes\u0022 repeats the code it sits on: 3 of its 3 words (process, array, sizes) are already in \u0060source = this.processArraySize(source, intDefines);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb19627068480da788c4f3a18de384c60be9b0f08dbdcd2f57917d4878cf740"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022load a wasm module\u0022 repeats the code it sits on: 3 of its 3 words (load, wasm, module) are already in \u0060static loadWasm(moduleName, config, callback)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/wasm-module.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c65977b8f0f73e6061966801881336e63083c489121020a1302251ba526753"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022a light with shadow bounds renders one shadow for all cameras\u0022 repeats the code it sits on: 5 of its 5 words (light, shadow, bounds, renders, cameras) are already in \u0060lightRenderData = light.getRenderData(light.shadowBounds ? null : camera, 0);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/frame-pass-volumetric-fog.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef47806b59be1d09b8ea91d5c643c54c7f7cfba089fee1fd40937b3cc41cf18"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create float32 array for inverse bind matrices\u0022 repeats the code it sits on: 7 of its 7 words (create, float, 32, array, inverse, bind, matrices) are already in \u0060const matrices = new Float32Array(skin.inverseBindPose.length * 16);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b481473d43f306734b082b43a67bc0ef5c49dac1c08e0219d9a3aa083a02f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022when the root file is populated, add its content\u0022 repeats the code it sits on: 4 of its 5 words (root, file, add, content) are already in \u0060this.addFile(null, ROOT_FILE_NAME, \u0027\u0027, rootContent);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/usdz-exporter.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54cf0d57a9870cd2f64a81d1276f4aa69fb4e293329dc9b7b2f811b23202da4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022add all remaining layers the camera renders\u0022 repeats the code it sits on: 4 of its 5 words (add, layers, camera, renders) are already in \u0060this.addCameraLayers(this.afterPass, scenePassesInfo.lastAddedIndex, scenePassesInfo.clearRenderTarget);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/frame-pass-camera-frame.js"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e823af5e7627d2424e53b2decdd8246a43bd76384662c6b1ec569b74314cefc4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022WGSL version of the outline extend shader\u0022 repeats the code it sits on: 4 of its 5 words (wgsl, outline, extend, shader) are already in \u0060const shaderOutlineExtendWGSL = /* wgsl */ \u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/outline-renderer.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95024207d43c99a0fecdbd93545d48097b021c5a4f827031cbdb624c2c286c5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022transition between states if a transition is available from the active state\u0022 repeats the code it sits on: 4 of its 5 words (transition, states, active, state) are already in \u0060const transition = this._findTransition(this._activeStateName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd8c806550f8b590bd9d3725e6bc8e6d144ee038b7923cc9c3d9dc3adba44c8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render the scene composition\u0022 repeats the code it sits on: 3 of its 3 words (render, scene, composition) are already in \u0060this.renderComposition(this.scene.layers);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db8e55a7171f8c60bd48f5b15e929fe95a4687380ff393f18e715c14f48c6c8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render a layer composition\u0022 repeats the code it sits on: 3 of its 3 words (render, layer, composition) are already in \u0060renderComposition(layerComposition)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff7696b8ff078001709b217a9db94a843bb2495c26424756c2b718cff075e23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022total draw call\u0022 repeats the code it sits on: 3 of its 3 words (total, draw, call) are already in \u0060this.drawCalls.total = device._drawCallsPerFrame;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-stats.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"de90dc6a3c84da91fe3c9df178b2d31e24a54441459942b459caf141e786f23d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Draw call stats\u0022 repeats the code it sits on: 3 of its 3 words (draw, call, stats) are already in \u0060stats = this.drawCalls;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-stats.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb1f5fe4521328ef1e538863090cc96d0103cac84a6402b9e6fbe4ed9188031"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022called when an (any) asset is loaded\u0022 repeats the code it sits on: 3 of its 3 words (called, asset, loaded) are already in \u0060_onLoad(asset)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-list-loader.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"726b69d8bc6a3a0a505eb63400000786bf4e2aa7b7b3b6117bb611bd9def0472"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022if the device supports the variant\u0022 repeats the code it sits on: 3 of its 3 words (device, supports, variant) are already in \u0060if (value.variants[variant] \u0026\u0026 device[VARIANT_SUPPORT[variant]])\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee203854de21fb2449616d9f37c31dab0d20c1d87a3e843fc8b034008af58d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022resolve an object path\u0022 repeats the code it sits on: 3 of its 3 words (resolve, object, path) are already in \u0060_resolvePath(object, path, resolveLeaf)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component-binder.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd238aa12ee0360157c30812ba73e654f7a5f2cddd516f5b9bb5954cb34ba4bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022reset animation controller\u0022 repeats the code it sits on: 3 of its 3 words (reset, animation, controller) are already in \u0060this._resetAnimationController();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464a891c68b480029d59d5b24ee5b03fbce7a5e3652443e68bebdb9db461691"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022camera renders to the first effect\u0027s render target\u0022 repeats the code it sits on: 5 of its 6 words (camera, renders, effect, render, target) are already in \u0060this.camera.renderTarget = this.effects[0].inputTarget;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/post-effect-queue.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7466abfd2c45365e5e5203eff144bc86ba44f050f6b0a309cb3d3222ba8af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022remove unmask mesh instance from model\u0022 repeats the code it sits on: 4 of its 5 words (unmask, mesh, instance, model) are already in \u0060const idx = this.model.meshInstances.indexOf(this.unmaskMeshInstance);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b60dcd390d72e30f4ad904cb11a501ebdfc03dba92cc333d885fddcd86e2aa6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022char is a CJK character and next character is a CJK boundary\u0022 repeats the code it sits on: 4 of its 5 words (char, cjk, next, boundary) are already in \u0060_isNextCJKBoundary(char, nextchar)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"022326155ca4d2f0f8e553a5b7673e6c9b785e39aff14caed8a023b55f2ee5b7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022next character is a CJK character that can be a whole word\u0022 repeats the code it sits on: 4 of its 5 words (next, cjk, whole, word) are already in \u0060_isNextCJKWholeWord(nextchar)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ac9f78d2ace2392ceb9684b06ad7404567d8890403d3dc44311f056554b20"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set it on meshInstance\u0022 repeats the code it sits on: 3 of its 3 words (set, mesh, instance) are already in \u0060this._instance?.meshInstance?.setCustomAabb(this._customAabb);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbcecfcaaa64924e0b17af9bfcb60dafdc61dabc1cb6cdbd8769ce6f1ade2e9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create new instance\u0022 repeats the code it sits on: 3 of its 3 words (create, new, instance) are already in \u0060this.instance = new GSplatInstance(resource, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed940b4f8c87a9c3807d9000c623e5abdf5ce1df7c99c23cdde4f9b89fad5591"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new gsplat asset\u0022 repeats the code it sits on: 4 of its 4 words (create, new, gsplat, asset) are already in \u0060asset = new Asset(url, \u0027gsplat\u0027, { url });\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/gsplat-asset-loader.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcaeaf31883edc970623d0a7c5f3d4b54cda4d1d2760903bf9ffe744d75fbad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render asset reference\u0022 repeats the code it sits on: 3 of its 3 words (render, asset, reference) are already in \u0060this._assetReference = new AssetReference(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b745328b9c8995bb43ab228c5d9817b4879b02f1016859015b9144cd6fc70"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set it on meshInstances\u0022 repeats the code it sits on: 3 of its 3 words (set, mesh, instances) are already in \u0060const mi = this._meshInstances;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d837b7cc1bce9e9336fd1c184909d393e02f346b5b69e9a9c15cc6e4cbe1142"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create script instance\u0022 repeats the code it sits on: 3 of its 3 words (create, script, instance) are already in \u0060const scriptInstance = new scriptType({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aba6f304f72f26e2023ef4c993384af73a5c8ed6fd6f40f645d71b459920d4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022for each script in the old component\u0022 repeats the code it sits on: 3 of its 3 words (script, old, component) are already in \u0060for (const scriptName in oldScriptComponent._scriptsIndex)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"2195e64bf28f70f8425f65ce732ff5ece8540c24ec4fb917853a91a045e64ee0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get the old script attributes from the instance\u0022 repeats the code it sits on: 5 of its 5 words (get, old, script, attributes, instance) are already in \u0060const oldAttributes = script.instance.__attributes ?? newScriptComponent._attributeDataMap.get(scriptName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"709dcb18e45b453170d6733d2d227397965d63e25f084dbc2329c7087919d052"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get the attribute definition from the script type\u0022 repeats the code it sits on: 4 of its 5 words (get, attribute, script, type) are already in \u0060const attribute = scriptType.attributes?.get(attributeName) ??\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf518202779342a38f816000308fc7317b074d558ddd9612d575365c33820e2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 194, 197, 202, 207, 212, 222), for example \u0022initialize attributes on all components\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/system.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe09bdc9ca66c7c6fdd9fd760f89d8e53096179ddfe9edd5d7961cbb5898f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022load asset if component and entity are enabled\u0022 repeats the code it sits on: 4 of its 5 words (asset, component, entity, enabled) are already in \u0060if (this._hasAsset() \u0026\u0026 this._component.enabled \u0026\u0026 this._component.entity.enabled)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"07639687bdb5784132143134a9676607ab9e2916e1edee70dafd60542b41693b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022auto play clip\u0022 repeats the code it sits on: 3 of its 3 words (auto, play, clip) are already in \u0060if (this._autoPlayClip)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964bd338e4788b7e650b4e33733a8193ab29590b07b2deddbdf886d67ca06b0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022material used for 9-slicing in sliced mode\u0022 repeats the code it sits on: 4 of its 5 words (material, slicing, sliced, mode) are already in \u0060this._default9SlicedMaterialSlicedMode = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/system.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f55a7341acb173e432b94cf3f838d57a607674f4069384aee01342426fe0706"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022material used for 9-slicing in tiled mode\u0022 repeats the code it sits on: 4 of its 5 words (material, slicing, tiled, mode) are already in \u0060this._default9SlicedMaterialTiledMode = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/system.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ad0f6e52fa819dd2b6eff4d23bdc33a0e4dea44e891ef385621e0e4228708"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create a render target for reading the depth buffer\u0022 repeats the code it sits on: 5 of its 6 words (create, render, target, depth, buffer) are already in \u0060this.renderTargetDepth = new RenderTarget({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/picker.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a832432f53f001ca612acde80211a29dd97003ffc21bc6573be6528cdd7b334a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022if the layer clears the depth\u0022 repeats the code it sits on: 3 of its 3 words (layer, clears, depth) are already in \u0060if (srcLayer._clearDepthBuffer)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/render-pass-picker.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd26d2ff6c3a83201da34410e1fd3354f35fe72bf078c7bc154eaf9a181d263"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create render pass\u0022 repeats the code it sits on: 3 of its 3 words (create, render, pass) are already in \u0060this._renderPass = new RenderPassShaderQuad(device);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/gsplat/gsplat-processor.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fd60eaa54c78e19a5894cb7f1784eb5a89b0ce09eec62089b318d453f08074"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022choose the target format\u0022 repeats the code it sits on: 3 of its 3 words (choose, target, format) are already in \u0060const format = chooseTargetFormat(options.deviceDetails, hasAlpha, isUASTC);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dabab2d94fe1a9abfb563727880c41dd52486ddf4284c1d52fe85ff5f3ae311"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022choose the target format\u0022 repeats the code it sits on: 3 of its 3 words (choose, target, format) are already in \u0060const format = chooseTargetFormat(options.deviceDetails, hasAlpha, isUASTC);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d0679c49b4385333cc1b9f5a5291ec28ae02132ce7820a795235e53baf538b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Register the script name\u0022 repeats the code it sits on: 3 of its 3 words (register, script, name) are already in \u0060registerScript(scriptClass, scriptName, this._app);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/script.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52c558b4e1d961248b8ef1de386cf362c021016bbb2c7b09b6a03171a5d67b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022destroy shadow map the light might have\u0022 repeats the code it sits on: 4 of its 4 words (destroy, shadow, map, light) are already in \u0060this.light._destroyShadowMap();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/bake-light.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"519358c1b4aef26c3d58df8beb7850fd07d76235911d1ac39f0a1cc3b42aaeba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render pass for clustered local light shadows\u0022 repeats the code it sits on: 5 of its 6 words (render, pass, clustered, local, shadows) are already in \u0060this.shadowLocalClusteredPass = new RenderPassShadowLocalClustered(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5ba73131fbb6c21508af65d5c8cc061095647f93238ae3adcc1d13c908fceb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render light shadow map needs to be rendered\u0022 repeats the code it sits on: 5 of its 6 words (render, light, shadow, map, rendered) are already in \u0060shadowMapRendered = this.renderShadowMap(comp, shadowMapRendered, casters, bakeLight);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a62add1290f24347fbfaa8cbd72dd89882c4bd0bc36c16230028d323bceda2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get matching temp render target to render to\u0022 repeats the code it sits on: 4 of its 5 words (get, temp, render, target) are already in \u0060const tempRT = this.renderTargets.get(lightmapSize);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"3476824133398b8d173507ba809967575cc06efbfb49641e2b8caff98b9d9d63"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create the job queue\u0022 repeats the code it sits on: 3 of its 3 words (create, job, queue) are already in \u0060jobQueue = new JobQueue();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-decoder.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be9686f18fdaec7fce2570a89cf3d6312e74b215a4a18e73223b96426e7b7cf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create vertex buffer\u0022 repeats the code it sits on: 3 of its 3 words (create, vertex, buffer) are already in \u0060result.vertices = new ArrayBuffer(mesh.num_points() * totalVertexSize);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-worker.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"69679475abccbe10b3142359bdb610ff1c28158a7ff93ff6480c40aebb7202ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 204, 244, 248, 253, 267, 301, 348), for example \u0022clone camera component into the entity\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-container-resource.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"084ebd6730a491ab06d5a386db79092fd263430cd56d04c69df13082af5dd975"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create vertex buffer\u0022 repeats the code it sits on: 3 of its 3 words (create, vertex, buffer) are already in \u0060const vertexBuffer = new VertexBuffer(device, vertexFormat, numVertices);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a2c56d3421a8e874f08f25bfa922f4cfe4852b308d309b55117113dd3088be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022parse the gltf chunk, returns the gltf json\u0022 repeats the code it sits on: 4 of its 5 words (parse, gltf, chunk, returns) are already in \u0060const parseGltf = (gltfChunk, callback) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5de8083d698c7e3c193370840b83298890e1689351af5010c66bc08fc968a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check gltf version\u0022 repeats the code it sits on: 3 of its 3 words (check, gltf, version) are already in \u0060if (gltf.asset \u0026\u0026 gltf.asset.version \u0026\u0026 parseFloat(gltf.asset.version) \u003C 2)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"9123c5a31a7dfb26e37d261f9b171b537520fcd972279f9de69e1060f8eff331"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create buffer views\u0022 repeats the code it sits on: 3 of its 3 words (create, buffer, views) are already in \u0060const createBufferViews = (gltf, buffers, options) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"091141f2f09cb3fa40e7df30435eed6b4231af04f78cb5bbf89ea84bb58478bb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022copy diffuse into emissive\u0022 repeats the code it sits on: 3 of its 3 words (copy, diffuse, emissive) are already in \u0060material.emissive.copy(material.diffuse);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-unlit.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5133636bb262fd5f1ba25987a9fbd4ddf435076f7620d547d78233613f1084f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022read chunk data\u0022 repeats the code it sits on: 3 of its 3 words (read, chunk, data) are already in \u0060await read(result.chunkData.buffer, numChunks * numChunkProperties * 4);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"907e193dfba7e647f0e062227e0ab40f0c7c876b2abfeec4822318b2e3591034"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check magic bytes\u0022 repeats the code it sits on: 3 of its 3 words (check, magic, bytes) are already in \u0060if (streamBuf.tail \u003E= magicBytes.length \u0026\u0026 !startsWith(streamBuf.data, magicBytes))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa77e4d9c00dd511702f804f029f8b6793f42d298a0de4fcf392a83c16a7bc6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022calculateLocalInertia writes local inertia to vec here...\u0022 repeats the code it sits on: 4 of its 5 words (calculate, local, inertia, vec) are already in \u0060this.nativeBody.getCollisionShape().calculateLocalInertia(mass, vec);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-body.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1820e3816ff0d2fbc1045935217e80fcbb462913bed8b7f3e27f37d3780b24b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Assign the value to the script based on the attribute schema\u0022 repeats the code it sits on: 5 of its 6 words (assign, value, script, attribute, schema) are already in \u0060script[attributeName] =  attributeToValue(app, attributeSchema, dataToAssign, script[attributeName]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01831478c8ae0d7b5fb9655c0bf988e73c3c9fc8c6cb994d4616c1a40a81e44"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022request reference space\u0022 repeats the code it sits on: 3 of its 3 words (request, reference, space) are already in \u0060session.requestReferenceSpace(spaceType).then((referenceSpace) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"53249e9290c1a0375786487d62812707b2be0e35c14d8a05e1f047157cb7da72"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022iterate through indexed planes\u0022 repeats the code it sits on: 3 of its 3 words (iterate, indexed, planes) are already in \u0060for (const [xrPlane, plane] of this._planesIndex)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-plane-detection.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1fa3bff723658848009ab9f27ed8e2c10f2134c4f401e39ff62693d357931f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022iterate through detected planes\u0022 repeats the code it sits on: 3 of its 3 words (iterate, detected, planes) are already in \u0060for (const xrPlane of detectedPlanes)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-plane-detection.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9139d7c63fcc697f2f4084f39efc8993d4b94284cf2ec9d98bd34cf181a917"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022PLATFORM / GRAPHICS / webgl\u0022 repeats the code it sits on: 3 of its 3 words (platform, graphics, webgl) are already in \u0060export { WebglGraphicsDevice } from \u0027./platform/graphics/webgl/webgl-graphics-device.js\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5817c23d5c50561c50b8f823127a8c80af27782ae0fedb8fe4948d880a1bffd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022PLATFORM / GRAPHICS / webgpu\u0022 repeats the code it sits on: 3 of its 3 words (platform, graphics, webgpu) are already in \u0060export { WebgpuGraphicsDevice } from \u0027./platform/graphics/webgpu/webgpu-graphics-device.js\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57eed1b198dfafe70c5b1ccb141cdda2ea5fee1ac805038858046dd984eadf7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022PLATFORM / GRAPHICS / null\u0022 repeats the code it sits on: 3 of its 3 words (platform, graphics, null) are already in \u0060export { NullGraphicsDevice } from \u0027./platform/graphics/null/null-graphics-device.js\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb446a11ea216d656932c793f6cc7f0a7cdd8683641cdd86747a69f309560b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SCENE / SHADER-LIB\u0022 repeats the code it sits on: 3 of its 3 words (scene, shader, lib) are already in \u0060export { ShaderUtils, createShader, createShaderFromCode } from \u0027./scene/shader-lib/shader-utils.js\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0085dc4153aa0f6be3173e4dfa6399bb6464b9fd87b6efddcff721efccb799cd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022resolve scope id\u0022 repeats the code it sits on: 3 of its 3 words (resolve, scope, id) are already in \u0060tf.scopeId = scope.resolve(tf.name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group-format.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca1bea6a251078acbbf946ecfa831e9d41a6f480c3d3eb7ae0ec934cd48cfe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022resolve scope id\u0022 repeats the code it sits on: 3 of its 3 words (resolve, scope, id) are already in \u0060tf.scopeId = scope.resolve(tf.name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group-format.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4811f7ca945e58cb005559cb60498639d4df555b08ee7c3e2703171edb20b09f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022resolve scope id\u0022 repeats the code it sits on: 3 of its 3 words (resolve, scope, id) are already in \u0060bf.scopeId = scope.resolve(bf.name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group-format.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d61c994460d338de9039df4bfa6667ac89ea6327c09ece39b60572b5646a52"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get the pixel format array type\u0022 repeats the code it sits on: 5 of its 5 words (get, pixel, format, array, type) are already in \u0060export const getPixelFormatArrayType = (format) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad55b7a29597269f4badf3ead3a9084f5d6c82c789f0063a2cab35d536d0cbbb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Uniform types in WGSL\u0022 repeats the code it sits on: 3 of its 3 words (uniform, types, wgsl) are already in \u0060export const uniformTypeToNameWGSL = [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0ba27c8d9f8022d9d182399f5a58ed57882841c1515b02d1b1b131bb5ea12d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022names of bind groups\u0022 repeats the code it sits on: 3 of its 3 words (names, bind, groups) are already in \u0060export const bindGroupNames = [\u0027view\u0027, \u0027material\u0027, \u0027mesh\u0027, \u0027mesh_ub\u0027];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99e1d4ad7269964afd558e5d5a111114ce7c7e4f35d601f2f08e221a02a4841"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022map of primitive GLSL types to their corresponding WGSL types\u0022 repeats the code it sits on: 5 of its 6 words (map, primitive, glsl, types, wgsl) are already in \u0060export const primitiveGlslToWgslTypeMap = new Map([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca1739ba953994e7d344e85215868097d2b4d83a5820983900d1c271a076cc3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022format of the bind group\u0022 repeats the code it sits on: 3 of its 3 words (format, bind, group) are already in \u0060this.bindGroupFormat = new BindGroupFormat(this.device, [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/dynamic-buffer.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5609ba87550227c71d566e853b25cce0163d8a5f91279e691b5fa70c3502fbc4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022depth resolve buffer\u0022 repeats the code it sits on: 3 of its 3 words (depth, resolve, buffer) are already in \u0060const depthResolveBuffer = this._depthResolveBuffer;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d610a1c4181bbdba4a9faca26d6ea38c6881d078be3d5084d76cbe7117b4dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the version object\u0022 repeats the code it sits on: 3 of its 3 words (create, version, object) are already in \u0060this.versionObject = new VersionedObject();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/scope-id.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"14192a9a438653f9ce4c4257b6c46c8dc7c75aa9b62f3fdd0b773c83531d5071"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Lock the vertex buffer\u0022 repeats the code it sits on: 3 of its 3 words (lock, vertex, buffer) are already in \u0060this.buffer = this.vertexBuffer.lock();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3521324fcd496f3e34d1fd11f30e9fb900195f71ae28786ce0f4f14d21ba95"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Unlock the vertex buffer\u0022 repeats the code it sits on: 3 of its 3 words (unlock, vertex, buffer) are already in \u0060this.vertexBuffer.unlock();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc10587c44ff04b51724b958f63d2757a2310b40f91faa4647391af565d737c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set up render target\u0022 repeats the code it sits on: 3 of its 3 words (set, render, target) are already in \u0060const rt = renderPass.renderTarget ?? this.backBuffer;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d8593b373dd943686d2baeb376858b4f59239a3a25126a4943846130b3488f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022resolve depth/stencil buffer\u0022 repeats the code it sits on: 4 of its 4 words (resolve, depth, stencil, buffer) are already in \u0060if (target.depthBuffer \u0026\u0026 renderPass.depthStencilOps.resolveDepth)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"2599657cff043a251656931e6884cee4ca5adfc5da5011b91c38649d66fda38f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the render target\u0022 repeats the code it sits on: 3 of its 3 words (set, render, target) are already in \u0060const target = this.renderTarget ?? this.backBuffer;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd42285130bf8d5e82cd69a2bef41066afb5808226c173a7d61f8eb61b4a113"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Attach the color buffer\u0022 repeats the code it sits on: 3 of its 3 words (attach, color, buffer) are already in \u0060attachTexture(gl, attachmentBaseConstant \u002B i, colorBuffer, target.layer, target.mipLevel);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde9e515af14149eae2d8a6541bcc588820d4860c07ed7cbb1ebe191c7c1c1de"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Resolve the ScopeId for the uniform name\u0022 repeats the code it sits on: 4 of its 5 words (resolve, scope, id, name) are already in \u0060this.scopeId = graphicsDevice.scope.resolve(name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader-input.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e97afd3784c4c1e6ac4ac4f0eb8f8582e1cf97570a7ce0aa9feaa5b0140bd0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the data dataType\u0022 repeats the code it sits on: 3 of its 3 words (set, data, type) are already in \u0060this.dataType = type;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader-input.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ae81ec3b699adf4896b5ba0a381eef3f332415e1ccbd6e7e37fa2a281270bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Value can be a Texture or TextureView\u0022 repeats the code it sits on: 3 of its 3 words (value, texture, view) are already in \u0060const isTextureView = value instanceof TextureView;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d412207ee245b8f98b82e82ab851c1376b1a35b0b63164a2176dca68405b938"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Value can be a Texture or TextureView\u0022 repeats the code it sits on: 3 of its 3 words (value, texture, view) are already in \u0060const isTextureView = value instanceof TextureView;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e017db1503547c2348ef3392ea46b5c12c3f71ad9c1ef71db660e493818f46"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022split source into lines\u0022 repeats the code it sits on: 3 of its 3 words (split, source, lines) are already in \u0060const sourceLines = source.split(\u0027\\n\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-debug.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986e2d8a58e9d1e73aa97206fc63f7222cdf52d153e519d83501aee60dcf7dc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022transient (memoryless) attachment support (GPUTextureUsage.TRANSIENT_ATTACHMENT)\u0022 repeats the code it sits on: 6 of its 7 words (transient, attachment, support, gpu, texture, usage) are already in \u0060this.supportsTransientAttachments = typeof GPUTextureUsage !== \u0027undefined\u0027 \u0026\u0026 \u0027TRANSIENT_ATTACHMENT\u0027 in GPUTextureUsage;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbba8bf4832f0dd7b1738c73578229b7bf41c91fe06e3006dd276ed37dfd226"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022empty bind group\u0022 repeats the code it sits on: 3 of its 3 words (empty, bind, group) are already in \u0060this.emptyBindGroup = new BindGroup(this, new BindGroupFormat(this, []));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"638632f7db13d36337f73d7286196c6e902eae398b7789f0d4dc0016123b8abd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vertex buffer layout\u0022 repeats the code it sits on: 3 of its 3 words (vertex, buffer, layout) are already in \u0060const vertexBufferLayout = this.vertexBufferLayout.get(vertexFormat0, vertexFormat1);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bbdd3412a4b701098a90f676fa064fec8223d5ed14e83aea513d28b244dfe6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022format of depth-stencil attachment\u0022 repeats the code it sits on: 4 of its 4 words (format, depth, stencil, attachment) are already in \u0060depthStencil = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15c5706097aaf66da1ef1a089c6b640796e98b1907d19f61266c9c6f429c468"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Use splitToWords to split the line into parts\u0022 repeats the code it sits on: 4 of its 5 words (split, words, line, parts) are already in \u0060const parts = splitToWords(line);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdff920b467db48fead05fbe8a3f78ce21fb265e8e689c394f22ddc4346eb5f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022generate fragment output struct\u0022 repeats the code it sits on: 4 of its 4 words (generate, fragment, output, struct) are already in \u0060const fOutput = WebgpuShaderProcessorWGSL.generateFragmentOutputStruct(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"45415af8cf63ffdb027b8b65f52ef8270d3e4ccdfa3c0eaf0c0953b7f9a5e6e7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022texture dimensions at the specified mip level\u0022 repeats the code it sits on: 4 of its 5 words (texture, dimensions, mip, level) are already in \u0060const width = TextureUtils.calcLevelDimension(this.texture.width, mipLevel);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8cacee60955c8e33b35cfb6b35e4d545d2f7606684436d97bd7479f65fee01"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022add gamepad button and pad to actions\u0022 repeats the code it sits on: 4 of its 5 words (gamepad, button, pad, actions) are already in \u0060this.appendAction(action, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da5f25d2a8822ba75dc50a367c404612cb83bb28d297422f1b1cf81f4d0bf58"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set _currentTime\u0022 repeats the code it sits on: 3 of its 3 words (set, current, time) are already in \u0060this._currentTime = currentTime;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bfd8f1efdd75d59c3de779f458d63b79e4b13cfa653cb7e0de518e0254cd31"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set state to playing\u0022 repeats the code it sits on: 3 of its 3 words (set, state, playing) are already in \u0060this._state = STATE_PLAYING;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6604d90233ab7bee04fb9dfbc07cd410ed5f3b0b2acbc2d1b5b217ad5e60a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022a source that has been looping has wrapped around the loop region\u0022 repeats the code it sits on: 4 of its 5 words (source, looping, loop, region) are already in \u0060const region = source.loopEnd - source.loopStart;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa2ad4454efc52df960602e06a9c084934d9c02ebdcd77c31624d2d86e964d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set state to paused\u0022 repeats the code it sits on: 3 of its 3 words (set, state, paused) are already in \u0060this._state = STATE_PAUSED;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"d723fe24490c4d95efddf89733fa4fc107e1c0a89584331f1efc0daf2f2f7c6f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create meshInstance\u0022 repeats the code it sits on: 3 of its 3 words (create, mesh, instance) are already in \u0060const batchedMeshInstance = new MeshInstance(mesh, material, this.rootNode);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d573ae23f41792934eaaad70e9d8c507d5404f5f29d29da723621a059193a23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022first render action for this camera\u0022 repeats the code it sits on: 4 of its 4 words (first, render, action, camera) are already in \u0060let cameraFirstRenderAction = true;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbdea37a77a8e7f7754f35d891f7f811828e2d0f1719a9523d7653cc2c7fda8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create new render target with the texture\u0022 repeats the code it sits on: 5 of its 5 words (create, new, render, target, texture) are already in \u0060renderTarget = new RenderTarget({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-color-grab.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fdca9b37d5f8b01ce05ad314016bfda7b166197f95cc8dc8b7a4559b74f9e8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create new render target with the texture\u0022 repeats the code it sits on: 5 of its 5 words (create, new, render, target, texture) are already in \u0060renderTarget = new RenderTarget({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-depth-grab.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f46319c599e2a8b131c4c4afca5c2e1624621900508daf8d33e3ab8e5c9120a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create uniform buffer format\u0022 repeats the code it sits on: 4 of its 4 words (create, uniform, buffer, format) are already in \u0060this._uniformBufferFormat = new UniformBufferFormat(this.device, [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/prefix-sum-kernel.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"265c44a2734d0d5ba48da3131247ace4341294aad3f37f779c2271fdf822a5c8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create bind group format with uniform buffer\u0022 repeats the code it sits on: 6 of its 6 words (create, bind, group, format, uniform, buffer) are already in \u0060this._bindGroupFormat = new BindGroupFormat(this.device, [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/prefix-sum-kernel.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f2c91be06a87fc46cc0743d7d47fc1bc80536fb63c434e17107df478501cae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create buffer for block sums\u0022 repeats the code it sits on: 4 of its 4 words (create, buffer, block, sums) are already in \u0060const blockSumBuffer = new StorageBuffer(this.device, workgroupCount * 4);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/prefix-sum-kernel.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e21518424974263cefd2c958fcc4521b30e11d7837faaf5e05c5acb7cf920"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Recreate passes when numBits, initial-values mode, or key-write mode changes\u0022 repeats the code it sits on: 8 of its 10 words (recreate, passes, num, bits, initial, values, key, write) are already in \u0060const passesNeedRecreate = numBits !== this._numBits ||\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1ef64e1fadb09aac9bc10e94a9f3fc2f12e9252446874438fe99f02da9f26b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the sub-draw data texture\u0022 repeats the code it sits on: 5 of its 5 words (create, sub, draw, data, texture) are already in \u0060this.subDrawTexture = Texture.createDataTexture2D(this.device, \u0027subDrawData\u0027, texWidth, texHeight, PIXELFORMAT_RGBA32U);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-info.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c8accd73170452397ab448f4a731b795e703b538707989c7d62b464754ec1c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022fire frame:ready event\u0022 repeats the code it sits on: 4 of its 4 words (fire, frame, ready, event) are already in \u0060this.fireFrameReadyEvent();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0600b12d51446deea60be038f878df480b39dbf695ebb1fd0e746eeb3e13037"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022create environment placement with the loaded resource\u0022 repeats the code it sits on: 4 of its 5 words (create, environment, placement, resource) are already in \u0060this.environmentPlacement = new GSplatPlacement(envResource, this.placement.node, 0, null, this.placement);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fdf833cbc3e50a1fd19aa35a7afbe426a77a33dd6c9488275f6584c8e433af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bind work buffer textures from the texture map\u0022 repeats the code it sits on: 5 of its 6 words (bind, work, buffer, textures, texture) are already in \u0060this._bindWorkBufferTextures();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-quad-renderer.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d3d63c2724f916620e98a565a588a7386706070f3c38631979ccd489f12f40"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sync work buffer textures with format\u0022 repeats the code it sits on: 4 of its 5 words (sync, work, buffer, format) are already in \u0060this.workBuffer.syncWithFormat();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-quad-renderer.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee60e7c645e9baaba0b05bc7de1f9b42c72630ec199309c91dd0a54ccf5fb3bc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Bind any new textures from the work buffer\u0022 repeats the code it sits on: 4 of its 5 words (bind, textures, work, buffer) are already in \u0060this._bindWorkBufferTextures();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-quad-renderer.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa15dfaadf2e1ab55b5aae9002061f7579717ab1f994aeffabfc8ee1d4f8e701"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022post centers to worker\u0022 repeats the code it sits on: 3 of its 3 words (post, centers, worker) are already in \u0060this.worker.postMessage({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead663dddf127bbe03dad9f1705745dcd26c7e8946acc2245c9153782689485"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022post centers to worker\u0022 repeats the code it sits on: 3 of its 3 words (post, centers, worker) are already in \u0060this.worker.postMessage({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"26af32529d919eb39ab07473187858af2fa384ec71ccb54cdba5ea556cf5f06f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022copy tempMap to material defines\u0022 repeats the code it sits on: 4 of its 5 words (temp, map, material, defines) are already in \u0060tempMap.forEach((v, k) =\u003E material.setDefine(k, v));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7028016ed6fe4f7981ff079896d5429700f2262fef4398f2d1e32889fb42d2e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update camera tracking for color updates\u0022 repeats the code it sits on: 5 of its 5 words (update, camera, tracking, color, updates) are already in \u0060this.updateColorCameraTracking(camera);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4e7871486b32f22f2a806e14b9a22a607be9f7d9f3d40795d5e6772471b51"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check extra streams\u0022 repeats the code it sits on: 3 of its 3 words (check, extra, streams) are already in \u0060stream = this._extraStreams.find(s =\u003E s.name === name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-format.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cbeba3e47a3119f004abf67265b00a3b3e0eeb21c25d846b5c53388656c984"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get batches for the layer\u0022 repeats the code it sits on: 3 of its 3 words (get, batches, layer) are already in \u0060let batches = this.batchesMap.get(layer);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/immediate/immediate.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eee2a09f1b9c7a3aa83395e42a928d7e81bcc0d625868be2ed8e367534599ec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022shadow atlas params\u0022 repeats the code it sits on: 3 of its 3 words (shadow, atlas, params) are already in \u0060this._shadowAtlasParams[0] = this.shadowAtlasResolution;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9275a9226743d8450d6e10ed4a481d2dbe585fcf9c951fb63b7e1e112e9deb43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022cookie atlas textures\u0022 repeats the code it sits on: 3 of its 3 words (cookie, atlas, textures) are already in \u0060this._cookieAtlasTextureId.setValue(this.cookieAtlas);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663048f411ebbe5e9c3fbf5154899122f94405d32017fb7525cfb62debf0488"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022assign a slot to the light\u0022 repeats the code it sits on: 3 of its 3 words (assign, slot, light) are already in \u0060assignSlot(light, slotIndex, slotReassigned)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"542b093e5853b23f854de18431de8775b6448c43549863e688a8a39447994ca4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022shader chunk with defines\u0022 repeats the code it sits on: 3 of its 3 words (shader, chunk, defines) are already in \u0060ShaderChunks.get(device, SHADERLANGUAGE_GLSL).set(\u0027lightBufferDefinesPS\u0027, lightBufferDefines);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429723734222b01191a73815218d9d4c9f2edb4089ec7cc4849a3189d96c9c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022light projection matrix\u0022 repeats the code it sits on: 3 of its 3 words (light, projection, matrix) are already in \u0060if (lightProjectionMatrix)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8962aacdb9c2ca7fb168a535a1650f4c941b3b7e60c9c1e13d19d2a670768330"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022width of the cluster texture\u0022 repeats the code it sits on: 3 of its 3 words (width, cluster, texture) are already in \u0060this._clusterTextureWidthId = device.scope.resolve(\u0027clusterTextureWidth\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/world-clusters.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7db38a5044809d9dc60126676db4172b6d350713ed62f02a1529a18dcf922d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022device cache storing default material\u0022 repeats the code it sits on: 4 of its 5 words (device, cache, default, material) are already in \u0060const defaultMaterialDeviceCache = new DeviceCache();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/default-material.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9067beb84c81221b66e108f662026b3a9e7668283b57d4a0dc5345a088092d80"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022linear depth is rendered by the prepass, and by the forward pass when the camera renders the scene depth into a scene texture\u0022 repeats the code it sits on: 8 of its 10 words (linear, depth, rendered, prepass, pass, renders, scene, texture) are already in \u0060litOptions.linearDepth = pass === SHADER_PREPASS ||\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/lit-material-options-builder.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc91ae28cda51e933c6ca73c5e60c970897ab7a97e445905ef32f02fe39e3b4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update other render states\u0022 repeats the code it sits on: 3 of its 3 words (update, render, states) are already in \u0060this.updateRenderStates();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77875299d8d0dd28d6e764187430424d7b93f8c894ee6626cfc826c763c697c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022fog params from the scene, or overridden by the camera\u0022 repeats the code it sits on: 4 of its 5 words (fog, params, scene, camera) are already in \u0060const fogParams = camera.fogParams ?? this.scene.fog;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17e9c577e597c758310dab09f0452c4a0ec5298ba6838155aad6966c2ab842"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022camera shader params\u0022 repeats the code it sits on: 3 of its 3 words (camera, shader, params) are already in \u0060const shaderParams = camera.shaderParams;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff961f7a1586e05d4fa334b1392a284209d9b1bdbcf0f4d1f22f36c7004dc31"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update layer composition\u0022 repeats the code it sits on: 3 of its 3 words (update, layer, composition) are already in \u0060this.updateLayerComposition(comp);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d338739a306490049e69413ace52592d9f24e4091e221305aca962cb31b4c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022update gsplat director\u0022 repeats the code it sits on: 3 of its 3 words (update, gsplat, director) are already in \u0060this.gsplatDirector?.update(comp);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"197921b9570e9aa46439f455cdcc68cc15ae92b571ef7de15d5751795a7f7369"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022render the shadow before this render pass\u0022 repeats the code it sits on: 3 of its 3 words (render, shadow, pass) are already in \u0060const shadowPass = renderer._shadowRendererDirectional.getLightRenderPass(light, shadowCamera);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"35905947a58a394839b1e9cd2ded0641b262417cead330d93f95d805a1a7b11b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022vertex buffer with vertex ids\u0022 repeats the code it sits on: 3 of its 3 words (vertex, buffer, ids) are already in \u0060device.setVertexBuffer(morphInstance.morph.vertexBufferIds);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85160767567a2e1442072e04b4ed68c38e3e31e959d51d98de5d72caff2cf5b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022blue noise texture\u0022 repeats the code it sits on: 3 of its 3 words (blue, noise, texture) are already in \u0060this.blueNoiseTextureId.setValue(getBlueNoiseTexture(this.device));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca6dfa28630e9cb89c07896380366e0a236c737213e25859f9d18e5dec38825"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022color and depth buffer\u0022 repeats the code it sits on: 3 of its 3 words (color, depth, buffer) are already in \u0060targets.push(new RenderTarget({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-map.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313b09c5004cb987a2245c87a49e86d78a66adf43369414d87903e9bd32778c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022assign render target for the face\u0022 repeats the code it sits on: 4 of its 4 words (assign, render, target, face) are already in \u0060const renderTargetIndex = type === LIGHTTYPE_DIRECTIONAL ? 0 : face;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"6094ca0a06d1091766c64aebff67ac357aafe222f68764405386f1a719b5c158"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Device cache storing a program library\u0022 repeats the code it sits on: 4 of its 5 words (device, cache, program, library) are already in \u0060const programLibraryDeviceCache = new DeviceCache();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/get-program-library.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"795111363d447d60f0e7aa3620976ffb77daf3cf53849581989cd64075a75806"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Declarations for Container GSplat format\u0022 repeats the code it sits on: 4 of its 4 words (declarations, container, splat, format) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/gsplat/vert/formats/containerDecl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3034b80c9855402d5db67c8801f973c6dc9d134890f75aa48d89fa51fe7aebdc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clustered Omni Sampling using atlas\u0022 repeats the code it sits on: 5 of its 5 words (clustered, omni, sampling, using, atlas) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/frag/clusteredLightShadows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16663be1c5c719b363e8f9fc693fbce3ad41e973870287c39c5a16c8dc64d81f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022functions used to evaluate the light shadow\u0022 repeats the code it sits on: 4 of its 5 words (functions, used, light, shadow) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/frag/lighting/lightFunctionShadow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8512a32d901b6b263de6b58ae7232ec736e776a42b3b1e6bd435ac191fe4108c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022functionality includes for lighting / shadowing code.\u0022 repeats the code it sits on: 5 of its 5 words (functionality, includes, lighting, shadowing, code) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/frag/lighting/lighting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd1e434c97bf25baa9b7ea27abac7c4f3ed03c933704f897ab0204a97591a2a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Soft directional shadows PCSS - with and without blocker search.\u0022 repeats the code it sits on: 6 of its 7 words (soft, directional, shadows, pcss, blocker, search) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/frag/lighting/shadowSoft.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f34359aee2d5639f59bda7eecc873cc8d5357e10322f253681358c699b3354"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022main shader of the lit vertex shader\u0022 repeats the code it sits on: 4 of its 4 words (main, shader, lit, vertex) are already in \u0060export default /* glsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/vert/litMain.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df772f41542ee5f16414f011e38bb4b7dc5605a2af33d171359c97c5ed3217a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Declarations for Container GSplat format\u0022 repeats the code it sits on: 4 of its 4 words (declarations, container, splat, format) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/vert/formats/containerDecl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf00bbb7dbbc613bbb72589689364671e410e914ae875dd329fc8056cbf7f1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clustered Omni Sampling using atlas\u0022 repeats the code it sits on: 5 of its 5 words (clustered, omni, sampling, using, atlas) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/frag/clusteredLightShadows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf1fa50ebb22cea08c55e7c82457aa79e3fec2f155aba9c4b7a9d7f29fae0a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022functions used to evaluate the light shadow\u0022 repeats the code it sits on: 4 of its 5 words (functions, used, light, shadow) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/frag/lighting/lightFunctionShadow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7817bb985a710ee9222d2b04ea57d9654dc9037c9d6215fdad95ba9237336a8f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022functionality includes for lighting / shadowing code.\u0022 repeats the code it sits on: 5 of its 5 words (functionality, includes, lighting, shadowing, code) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/frag/lighting/lighting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc142fac3fe5d3febcb247461cf00aeca532de4cf6ceaaf9ade864d1afff6e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Soft directional shadows PCSS - with and without blocker search.\u0022 repeats the code it sits on: 6 of its 7 words (soft, directional, shadows, pcss, blocker, search) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/frag/lighting/shadowSoft.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d19281810f833f9813e871eeb4ab8d55510198e3aea9fc1320a993223ee5c11"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022main shader of the lit vertex shader\u0022 repeats the code it sits on: 4 of its 4 words (main, shader, lit, vertex) are already in \u0060export default /* wgsl */\u0060\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/vert/litMain.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"408ea740e6376ebc2e54843a9df4de0f9b179ed635d07543147e8aba783c3df0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022try and get skin instance from the cache\u0022 repeats the code it sits on: 4 of its 5 words (get, skin, instance, cache) are already in \u0060let skinInst = SkinInstanceCache.getCachedSkinInstance(skin, rootBone);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/skin-instance-cache.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cc221046c92426c4f4367f7a4ccab0907c190ad379d1c5ca8ce7c12e97e51d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get an array of cached object for the rootBone\u0022 repeats the code it sits on: 5 of its 6 words (get, array, cached, root, bone) are already in \u0060const cachedObjArray = SkinInstanceCache._skinInstanceCache.get(rootBone);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/skin-instance-cache.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae9d1db4a2f58dccb45b3ca6a015e878a1ff0de98b5873ed11881846300076"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get an array for the rootBone\u0022 repeats the code it sits on: 4 of its 4 words (get, array, root, bone) are already in \u0060let cachedObjArray = SkinInstanceCache._skinInstanceCache.get(rootBone);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/skin-instance-cache.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a643957ec3438fc97d4a26d25c42d413f3941a2a21d520599e3772d7e075d4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022the other types of fog are the fog of the scene\u0022 repeats the code it sits on: 3 of its 3 words (types, fog, scene) are already in \u0060const scene = fog([\u0027FOG EXP\u0027, \u0027LIT_BLEND_TYPE NORMAL\u0027]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/extras/render-passes/dynamic-sky-effect.test.mjs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fb6c80a00e35c0c5b71f87ea534fc2855f84e0ea5d1ba0bce2c7e6f64a128c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 278, 289, 295, 301, 312, 318, 325, 336, 342), for example \u0022expect(assets.sprite.hasEvent(\u0027change\u0027)).to.be.false;\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/components/element/image-element.test.mjs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"785caa852d65a1fbbce4a8e002a647e08cd5475c49ee431c9bb1b5cd61af078d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022what each kind of cubemap asset assigns to the material\u0022 repeats the code it sits on: 4 of its 5 words (kind, cubemap, assigns, material) are already in \u0060const expectAssigned = (material, cubemap, kind) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/framework/handlers/material-handler.test.mjs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bbaeba40a72bf5a97213946c61b3716abeed6e25c22ed7927f3a43a74263f4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022the other textures stay in the mesh bind group\u0022 repeats the code it sits on: 4 of its 5 words (textures, mesh, bind, group) are already in \u0060expect(textureNames(result.meshBindGroupFormat)).to.deep.equal([\u0027texture_meshMap\u0027]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform/graphics/shader-processor-view-textures.test.mjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113cce9c11cda080b9b3a8a56554a11bf6545ef142732ecb515b212225da8e6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Store original XMLHttpRequest\u0022 repeats the code it sits on: 4 of its 5 words (original, xml, http, request) are already in \u0060const originalXHR = global.XMLHttpRequest;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform/net/http.test.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc7170e923c2957b159b99f5b4286ab657c78f9db3f4e1148c22fe8c391f430"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Restore original XMLHttpRequest\u0022 repeats the code it sits on: 4 of its 5 words (original, xml, http, request) are already in \u0060global.XMLHttpRequest = originalXHR;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform/net/http.test.mjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a607057edfb02f3f93cf7c18be5d27d3923b60a39b095d04df3c9c33591e43cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Store original XMLHttpRequest\u0022 repeats the code it sits on: 4 of its 5 words (original, xml, http, request) are already in \u0060const originalXHR = global.XMLHttpRequest;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform/net/http.test.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebebe036e869a6cd65d971a01ad05c85a84228c91ced5d3bd52535d291bc19c4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Restore original XMLHttpRequest\u0022 repeats the code it sits on: 4 of its 5 words (original, xml, http, request) are already in \u0060global.XMLHttpRequest = originalXHR;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform/net/http.test.mjs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8357b2f38c20ae8674ac06c1e28bdf22590b642583ee7413ef417e8ed70a7044"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sorts the items by their keys with the radix sort of the sorter\u0022 repeats the code it sits on: 5 of its 6 words (sorts, items, radix, sort, sorter) are already in \u0060const radixSort = (sorter, items, count = items.length) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/scene/renderer/mesh-instance-sorter.test.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f595bd421fcb41a0626c2b7db0d2a8e3c0ca5134b44c52acabe44687d196dd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022the passes, flagged as [firstCameraUse, lastCameraUse]\u0022 repeats the code it sits on: 5 of its 6 words (passes, first, camera, use, last) are already in \u0060const flags = (...passes) =\u003E passes.map(pass =\u003E [pass.firstCameraUse, pass.lastCameraUse]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/scene/renderer/render-pass-forward.test.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ec7bb59cdffeeeb00cf5d45b81bef6fa1c812afed649c1f6a47a1ea2b3fc37"}},{"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":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"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":"c5f067e943989fd039ad70411013bf082a8588b9f38464ef16f66d6f48246c7e"},"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":"de24fb5b2f9808dee7349e0f8b4bf4e8fc0b77a05b8578184e5f23b813b48863"},"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":"270db641e9fceafea09e18419fc9685c2c679a8e165bbff2e97b6a6ea0a6c76d"},"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":"4ffcc1b724469248fcd864b1901b4fb0cedf5b911fb5d6075b57cf61232c29e8"},"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":"85bd1bf30983bf65609417b13af989a2863e6231c1be9efaa43e3417fd80011c"},"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":"56d9371fb2efaf7518ba7ca36b309fcf19a4dd77b8fedb20a641b6ff91c06d3c"},"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":"3ef1d3d3ebd6d91dfe1f0dcb23bc71cfee891c3f0178b4f341b180919508d9d6"},"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":"8848ecb9b4899118cc8b8341841112d876be29e865cc3e14990aec7e928c6bbf"},"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":"9d4930353ba14e38ca861aeb61c731835e10641cc14f753d3ad5fb4fdb51c4e2"},"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":"3ee1818d8255f485c4fe9f8eec7ec14865c030222317516add1ea3f2587ac448"},"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":"cde651630fe7bac80779eb1db327e13e20420c624b0c25f531899727978eea48"},"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":"fc16fdf0e4ca3c006dcf9b77d9a081a8b34a38c11900be60f6df82ee11d0b584"},"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":"2d5ac319c504b0e7fa1b05f50c35fb9f270edaa33803a627682185185c15d26e"},"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":"808fae6cf7c4fa2002445cf50c604c9bb53a3bc555157bf1cb7f5845df07785f"},"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":"be5adc9a1e9711f1af42d0f373c5c3b5e5fd841a4341f4a7d061ec76f9c6df0e"},"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":"6c45482db91758ae4bfae4492e402b8d52904344a5f7134523171d9bba2fe4aa"},"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":"e7f8377b6cab248a1275cc2c14f315d2a1599a6238ec15741e065c4c56b101cc"},"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":"aa877fd9025d342851ad8ff117768feb6751f6bc8ea3c0a8db0728acaa943f7b"},"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":"d89ff8be40979a750f71a1b1785d33a78ab956aa773c1a40e692751cfa2edca2"},"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":"1f1b01b514bc6b69efa5732e85ac39cb778d8accb702dcea682ac2d43e0881ee"},"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":"d4d1f5bb8cb0f84e01911bcdd426e8b2db95a5ed6f54ed542f80bae6a1d44f37"},"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":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"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":"bfa10bc28b7b064ba1942bac92bc929be6a677f03988c538fabc1e838a5426af"},"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":"3347fd26606dd35fdb8f2863b9f59d5953d51d33ee084f960c3b46ccce8cd5ce"},"taxa":[{"id":"CWE-807","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"}}]},{"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":"6a4a0616d727f0c02fd26d07b0676213a9f210258e266e795ca5c6a44d68dcff"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9712f64bd495658c127144ccd2863a390ba7610c86250992ca0eae236a162810"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"9c3e5992143caaee8414815b34b94fcc9e6a86357bc33326a8199c19e353d9e1"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"9742176c5227e962529cd4248bfc6ebc4a9927e71316206ca53c0f3e18f06606"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"b65fb559776323e69a68c787304697daf573b5729ab6782d53ff5ea917034059"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"673f3a29734f8ae0ead88390c2587fbba1be499f4f401237747c5f19081cf342"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5058d5805180ef1a7a117f732c1fc6dcc7107c5fd30d67e039d59cb967dc79ce"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05f8f4ecd0a4eee83e9133776bc702d0b7a5c2c2e5be427f21c7f4b82bc4c92c"},"properties":{"dependency":{"package":"browserslist","version":"4.28.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"727a7c1bd31a66a050fffa68caa8820a4d6ed54e1584a3b647c1b4faea9443de"},"properties":{"dependency":{"package":"dompurify","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe18445a1d09f628769388a8a7fdad35646d3dd306b101426f723fe62959b2cc"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f548fbed5caa0fe356b048707c6ed1ad9da93929dc1b38fd7d17223133578b65"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dd7250180fa786a0cf36399c087ce80df3dea1e710544717c3b3470190e8068"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4caf9f33e2456a539467d93ef480055d58747ad4bff67b19c89794b2a84c3f0"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be56a8e40f641d3b09c56dd7de9be6ca73c4beffaa1c2868bf755d709dfb17d2"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9299c8bec39d44a6490c6c739e9035d3c6f3392f33ae12e1a08c160f49420d43"},"properties":{"dependency":{"package":"compression","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d861d97c9e6c69cb47d2f5bc645ecdddee4776c7500c34080ca158cbba2b714"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6674c1524402902271f6c7cf4d9eb5530c259e4957f99c55bffd8db25b915ee2"},"properties":{"dependency":{"package":"markdown-it","version":"14.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a143e49def50f6267786be10dea52190e0d09245364207bf6c8be5fcae3b49ff"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56d7c0542bcbbd8d8c61f07327aa2080292f8d213e8f982f1a0933ffecde0a9c"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96eadd51729614726609b05beed097029ffa5da2421d0eb57aca72f1d9c7d5f"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6532f69593dd3d2ea46577ad478f1657ba969b6919f855a6261cf5feb9c06e85"},"properties":{"dependency":{"package":"undici","version":"8.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87acedc051cb89a8ce4b5f36de7264e8d1c5c5fd3ed662cda178e80e0c31f9d8"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f4f34967c0e70a1e990f60007c3c525ccb1577e533b08e74c056e258d6988dd"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c974e21fc2c40ee43bdb0cb91668d1c9f30c866c8dd2a65ea42db26ca5ef46a0"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a8b666db49506cda0a4b4b370215b042db4f164f73f3ca0f06891f54eb92bda"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa571a47ecd9af55f36a3364edd0ddcf29c643ee1a3b19589e5f86cf9b2dd947"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7399c205b951037e58547b14298716eb7b292dda93386db205eab14b6de4c093"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"142bd4d8d17891e86907f68e5b0bdf0fa0c0a8d8f2a6250e25af4878d58082fa"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"364e8e23fea87bc0a355388c4fa37f8c1d07a6e22a9b8b353f6887b7a4829074"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 9 of 702 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 702 of the 1393 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/framework/xr/xr-anchors.js, src/scene/shader-lib/glsl/chunks/lit/frag/lighting/shadowPCSS.js, src/framework/xr/xr-mesh-detection.js, src/framework/i18n/utils.js, src/scene/shader-lib/glsl/chunks/lit/frag/iridescenceDiffraction.js, src/scene/shader-lib/glsl/chunks/particle/vert/particle.js, src/framework/anim/controller/anim-blend-tree-2d-directional.js, src/scene/shader-lib/glsl/chunks/particle/frag/particleUpdaterStart.js (and 1 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae46a2f685dc6c3e278409e084a18de07bd671916e19ad0b98d37d2f43d199"}},{"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":"src/scene/shader-lib/glsl/chunks/lit/frag/lighting/shadowPCSS.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e826752f665b798068eb5af56b2f00fe751013b539c321769e06ff860e9655a"}},{"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":"src/framework/xr/xr-mesh-detection.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223d0c977598d5abe7e2901a557e8cefac0d1a04cda5e27b9f848e7fb2924151"}},{"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":"src/framework/i18n/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41290b0140cbf5b0a0f2ce6b0ea36e401da75b467968083664735c3f12867bbe"}},{"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":"src/scene/shader-lib/glsl/chunks/lit/frag/iridescenceDiffraction.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412d86f01650450a0ad740b71bb0d8955ce6c935be92d7afd82388f9c86e3f85"}},{"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":"src/scene/shader-lib/glsl/chunks/particle/vert/particle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429b7609909406ec48d2516c663311090f0ee244ec00f5a36f65f4e548cc928"}},{"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":"src/framework/anim/controller/anim-blend-tree-2d-directional.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865da9e99f80ed2569eb2f52080cddcc11793cdcdb021adad5f7ea367ae2757f"}},{"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":"src/scene/shader-lib/glsl/chunks/particle/frag/particleUpdaterStart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee850fbc35c52c8ac48db5bfc55ef54dd1c27bdd4fa46df0de17eab04e960245"}},{"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":"src/framework/anim/controller/anim-blend-tree-2d-cartesian.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29564a48ee9870727bb389b4504d45f5b1a783b5a1fe247656f0bceffa4f52fb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: render-pass-compose.js \u2194 compose.js: \u0060src/extras/render-passes/render-pass-compose.js\u0060 (context extras) and \u0060src/scene/shader-lib/wgsl/chunks/render-pass/frag/compose/compose.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060dfdaedfe\u0060 feat: Convert depth of field to a CameraFrame effect (#9718); \u0060fda26645\u0060 Configure CameraFrame effects when the camera frame is updated (#9686); \u00607730e396\u0060 refactor: Convert the sharpening, fringing, color enhance and color L\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/render-pass-compose.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec8f2a178c7477bc4d4ff0ebbfef0340bd1b817ad2dad27f9a3c782a9f254f4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: render-pass-compose.js \u2194 compose.js: \u0060src/extras/render-passes/render-pass-compose.js\u0060 (context extras) and \u0060src/scene/shader-lib/glsl/chunks/render-pass/frag/compose/compose.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060dfdaedfe\u0060 feat: Convert depth of field to a CameraFrame effect (#9718); \u0060fda26645\u0060 Configure CameraFrame effects when the camera frame is updated (#9686); \u00607730e396\u0060 refactor: Convert the sharpening, fringing, color enhance and color L\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/render-pass-compose.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c5fe75824a45d18675eaac2b5c17e006810240cbf6109d6e8720b41d4819d5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: camera-frame.js \u2194 compose.js: \u0060src/extras/render-passes/camera-frame.js\u0060 (context extras) and \u0060src/scene/shader-lib/wgsl/chunks/render-pass/frag/compose/compose.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060dfdaedfe\u0060 feat: Convert depth of field to a CameraFrame effect (#9718); \u0060fda26645\u0060 Configure CameraFrame effects when the camera frame is updated (#9686); \u00607730e396\u0060 refactor: Convert the sharpening, fringing, color enhance and color L\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/camera-frame.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68b8b5e40639a8b9fbe7b1e3e557925daac71aea729b20b1a1c73ffed861713"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: camera-frame.js \u2194 compose.js: \u0060src/extras/render-passes/camera-frame.js\u0060 (context extras) and \u0060src/scene/shader-lib/glsl/chunks/render-pass/frag/compose/compose.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060dfdaedfe\u0060 feat: Convert depth of field to a CameraFrame effect (#9718); \u0060fda26645\u0060 Configure CameraFrame effects when the camera frame is updated (#9686); \u00607730e396\u0060 refactor: Convert the sharpening, fringing, color enhance and color L\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/camera-frame.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20b9d6d0475ceafdc4cc9bb92df9130f15fe1778018024cd61a439ce82052b0"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: sog.js \u2194 sog.js: \u0060src/framework/parsers/sog.js\u0060 (context framework) and \u0060src/scene/shader-lib/glsl/chunks/gsplat/vert/formats/sog.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00607c1b28f0\u0060 fix: Read SOG v3 rotations from quats.webp (#10007); \u0060f1c076c1\u0060 Support any number of typed blind fields in SOG v3 (#9960); \u00601f958e21\u0060 refactor: read SOG gsplat data directly from source textures (#8628) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c1fe2a7a45b3456d16ef93a43f75d026eb426b72c39a2aae93e51a96e1589a"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: webgpu-graphics-device.js \u2194 quad-render-utils.js: \u0060src/platform/graphics/webgpu/webgpu-graphics-device.js\u0060 (context platform) and \u0060src/scene/graphics/quad-render-utils.js\u0060 (context scene) sit in DIFFERENT parts of the tree yet change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060bb327c9b\u0060 feat: Warn when a WebGPU render pass targets the backbuffer outside o\u2026; \u0060c30f8d8b\u0060 Bump allocation for Uniform Buffers on WebGPU (#5438); \u0060325ece1a\u0060 Updated the way WebGPU submits command buffers for rendering (#5423) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7be6a2b43112576ee5c8ccbf0115509cd7d7f4d13ee0053eb592b09de729ea"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: deprecated.js \u2194 blend-state.js: \u0060src/deprecated/deprecated.js\u0060 (context deprecated) and \u0060src/platform/graphics/blend-state.js\u0060 (context platform) sit in DIFFERENT parts of the tree yet 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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060fdd4bc72\u0060 refactor: Move deprecated math and graphics shims (#9083); \u0060583b8fe5\u0060 Remove final WebGL1 extensions and simplify code that used them (#6336); \u0060e63821d5\u0060 Change to static members of BlendState (#5303) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/deprecated/deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e397de5a64e8b63be09f250ec0f1abf0e49dd08b3bf51e52aab21c44baa304cf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: stdDeclaration.js \u2194 stdDeclaration.js: \u0060src/scene/shader-lib/glsl/chunks/standard/frag/stdDeclaration.js\u0060 and \u0060src/scene/shader-lib/wgsl/chunks/standard/frag/stdDeclaration.js\u0060 change together 92% of the time (12 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00605531b4c0\u0060 fix: Compile iridescence thickness maps on WebGL2, and fix WebGPU iri\u2026; \u0060d3473bb2\u0060 fix: Declare the dynamic refraction resources in the lit shader (#9691); \u00605be28c53\u0060 fix: Let the front end of a LitMaterial provide the dispersion (#9682) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/standard/frag/stdDeclaration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ed75269fc3b9a362c06518ec7dc7f8f5f9eaf98723253d2ecb2b7168568d2c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: gsplat-manager.js \u2192 gsplat-info.js, gsplat-interval-compaction.js, gsplat-octree-instance.js, gsplat-projector.js, gsplat-unified-sort-worker.js, gsplat-work-buffer.js, compute-gsplat-projector.js: \u0060src/scene/gsplat-unified/gsplat-manager.js\u0060 changes together with 7 other files \u2014 \u0060src/scene/gsplat-unified/gsplat-info.js\u0060, \u0060src/scene/gsplat-unified/gsplat-interval-compaction.js\u0060, \u0060src/scene/gsplat-unified/gsplat-octree-instance.js\u0060, \u0060src/scene/gsplat-unified/gsplat-projector.js\u0060, \u0060src/scene/gsplat-unified/gsplat-unified-sort-worker.js\u0060, \u0060src/scene/gsplat-unified/gsplat-work-buffer.js\u0060, \u0060src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-projector.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d248f2dfb8dd986a5f4695d1afc4ce0a70ce1bbac18d57dedd82f0f2f324a8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: constants.js \u2194 tracing.js: \u0060src/core/constants.js\u0060 and \u0060src/core/tracing.js\u0060 change together 79% of the time (11 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060bd285924\u0060 feat: TRACEID_BUFFERS trace, example control, and storage buffer debu\u2026; \u006051a90307\u0060 Added tracing support to log all assets in the registry (#8209); \u00609fa2a8b0\u0060 Assign categories to constants (#6012) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee236eb53afe1189887656f84071a9c376a14d5c8f2bd41515f32a7f62580f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index-buffer.js \u2194 vertex-buffer.js: \u0060src/platform/graphics/index-buffer.js\u0060 and \u0060src/platform/graphics/vertex-buffer.js\u0060 change together 78% of the time (18 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u0060f8c6b8cd\u0060 Add partial vertex and index buffer uploads (#9401); \u00602b743a65\u0060 fix: Register StorageBuffer for WebGPU device lose/restore (#8692); \u0060470e3280\u0060 Use Set instead of array for buffer tracking (#8283) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b01ac3ab7e8c0f46267e67d0e16511e3fbc5fbefa9af4729794ad0f469a88"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: vec2.js, vec3.js, vec4.js: 3 files \u2014 \u0060src/core/math/vec2.js\u0060, \u0060src/core/math/vec3.js\u0060, \u0060src/core/math/vec4.js\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f075fb18d1ed15201cd2edb825ab0636d198836f438d0e6aed82b7bf1101ac6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: skybox.js \u2194 sky-mesh.js: \u0060src/scene/shader-lib/glsl/chunks/skybox/frag/skybox.js\u0060 and \u0060src/scene/skybox/sky-mesh.js\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u0060c4e2dba6\u0060 fix: Restore skydome depth of field with scene-pass depth (#9391); \u006005e59b4c\u0060 Mesh-based Skydome can write depth during prepass, to be comparible w\u2026; \u006008eeea61\u0060 Adjusted syntax of variables the preprocessor uses for injection (#7386) (at that commit the file was still \u0060src/scene/shader-lib/chunks/skybox/frag/skybox.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/skybox/frag/skybox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde3e387a7c5b520c01d05d56910bec594d8df4fd027719f56fced464c399e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: particle_cpu.js \u2194 particle_init.js: \u0060src/scene/shader-lib/glsl/chunks/particle/vert/particle_cpu.js\u0060 and \u0060src/scene/shader-lib/glsl/chunks/particle/vert/particle_init.js\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060b8f6e42d\u0060 [Fix] Small changes to avoid unset uniform warnings when particle sys\u2026; \u006053ecda04\u0060 Small changes to get CPU particles to work on WebGPU (#6277) (at that commit the files were still \u0060src/scene/shader-lib/chunks/particle/vert/particle_cpu.js\u0060 and \u0060src/scene/shader-lib/chunks/particle/vert/particle_init.js\u0060); \u0060453eea9d\u0060 fx texture sampling precision to highp (#2198) (at that commit the files were still \u0060src/graphics/program-lib/chunks/particle_cpu.vert\u0060 and \u0060src/graphics/program-lib/chunks/particle_init.vert\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/particle/vert/particle_cpu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe132c17c150c7a11ce4add579d5067a1e1a7f602882bdbc33b6f8ecb8b09c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: standard-material-options-builder.js \u2192 standard-material-options.js, standard-material-parameters.js, lit-shader-options.js: \u0060src/scene/materials/standard-material-options-builder.js\u0060 changes together with 3 other files \u2014 \u0060src/scene/materials/standard-material-options.js\u0060, \u0060src/scene/materials/standard-material-parameters.js\u0060, \u0060src/scene/shader-lib/programs/lit-shader-options.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df62f844963a43d8ac98e38342a519271015cb76e1f18f96920c2d6ba97c6598"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gsplat-sog-data.js \u2194 sog.js: \u0060src/scene/gsplat/gsplat-sog-data.js\u0060 and \u0060src/scene/shader-lib/glsl/chunks/gsplat/vert/formats/sog.js\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u00607c1b28f0\u0060 fix: Read SOG v3 rotations from quats.webp (#10007); \u0060f1c076c1\u0060 Support any number of typed blind fields in SOG v3 (#9960); \u00601f958e21\u0060 refactor: read SOG gsplat data directly from source textures (#8628) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8fb3133891271958836b5a545ffe60222d5f67a86964c73f608497bd675383"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gsplat-work-buffer-render-pass.js \u2194 gsplatCopyToWorkbuffer.js: \u0060src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js\u0060 and \u0060src/scene/shader-lib/glsl/chunks/gsplat/frag/gsplatCopyToWorkbuffer.js\u0060 change together 62% of the time (13 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 13 shared commits counted here, the most recent 3 are \u00602bd53d84\u0060 fix: Correct gsplat spherical harmonics with orthographic cameras (#9\u2026; \u006044cfb26a\u0060 Source geometry from work buffer for SOG spherical harmonics updates \u2026; \u00603ae33b7a\u0060 Make frustum culling always-on and remove dead pcNodeIndex pipeline (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c673d8df4f2ef9a6bf9444a64c19e508d8007d97f0848276269fada8345720"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: webgpu-bind-group-format.js \u2194 webgpu-bind-group.js: \u0060src/platform/graphics/webgpu/webgpu-bind-group-format.js\u0060 and \u0060src/platform/graphics/webgpu/webgpu-bind-group.js\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060c197fafd\u0060 Restore WebGPU rendering resources after device loss (#9355); \u006076a7820e\u0060 Renamed internal \u2018descr\u2019 symbols to \u2018desc\u2019 for consistency (#6833); \u0060e97f3ff3\u0060 Renamed BindBufferFormat to BindUniformBufferFormat (#6222) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group-format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5527f0bd8883ba81ef4df70c5faa1973125c8e33fa9b39d684c3a6c755d7c4af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: blend-state.js \u2194 webgpu-graphics-device.js: \u0060src/platform/graphics/blend-state.js\u0060 and \u0060src/platform/graphics/webgpu/webgpu-graphics-device.js\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u00604d15fc1c\u0060 Add independent blending for multiple render targets (#9140); \u0060bcb15734\u0060 Add dual-source blending support (#9096); \u0060583b8fe5\u0060 Remove final WebGL1 extensions and simplify code that used them (#6336) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/blend-state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad6391944c93928ab7d88120220f102fad6096d568176c798cb4613615d69b0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sog-bundle.js \u2194 sog.js: \u0060src/framework/parsers/sog-bundle.js\u0060 and \u0060src/framework/parsers/sog.js\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00607c1b28f0\u0060 fix: Read SOG v3 rotations from quats.webp (#10007); \u0060f1c076c1\u0060 Support any number of typed blind fields in SOG v3 (#9960); \u00602ffa84bf\u0060 Recover SOG streaming across WebGL context loss (#9350) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d478c3c6e42bd9cc900885cfd0cc658fa4f873d165633f6e6800294093390b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: forward-renderer.js \u2192 gpu-updater.js, shadow-renderer-directional.js, shadow-renderer-local.js, shadow-renderer.js: \u0060src/scene/renderer/forward-renderer.js\u0060 changes together with 4 other files \u2014 \u0060src/scene/particle-system/gpu-updater.js\u0060, \u0060src/scene/renderer/shadow-renderer-directional.js\u0060, \u0060src/scene/renderer/shadow-renderer-local.js\u0060, \u0060src/scene/renderer/shadow-renderer.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6a356b18e88238c5eeb0f42e5bc03edb3bb13f782dd0e307052558673b2ad8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: shadow-renderer-directional.js \u2194 shadow-renderer-local.js: \u0060src/scene/renderer/shadow-renderer-directional.js\u0060 and \u0060src/scene/renderer/shadow-renderer-local.js\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00609cdb31ca\u0060 Move frustum compute into Camera.updateFrustum (#8981); \u0060a5b00dd5\u0060 Address PCSS softness (#5483); \u0060dcb5a012\u0060 Small internal refator to RenderPass to allow simpler override implem\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f1e54b0f93d8ec8e46fb89be8fb5e960f2d42a3b7c670879734c3064d830a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gsplat-work-buffer-render-pass.js \u2194 gsplatCopyToWorkbuffer.js: \u0060src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js\u0060 and \u0060src/scene/shader-lib/wgsl/chunks/gsplat/frag/gsplatCopyToWorkbuffer.js\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 13 shared commits counted here, the most recent 3 are \u00602bd53d84\u0060 fix: Correct gsplat spherical harmonics with orthographic cameras (#9\u2026; \u006044cfb26a\u0060 Source geometry from work buffer for SOG spherical harmonics updates \u2026; \u00603ae33b7a\u0060 Make frustum culling always-on and remove dead pcNodeIndex pipeline (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e480f383d055a424194627a6cfa5d8d5dc07b0f480a1d0f127ba6a6eee4a6a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: anim-evaluator.js \u2194 component-layer.js: \u0060src/framework/anim/evaluator/anim-evaluator.js\u0060 and \u0060src/framework/components/anim/component-layer.js\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00607489767e\u0060 Add AnimComponent#evaluationInterval and the AnimUpdateOptimizer scri\u2026; \u0060b92c588e\u0060 Add AnimComponent#offscreenUpdate to skip animating characters which \u2026; \u0060a82e7f1f\u0060 [Anim Component] Support empty AnimTracks (#5112) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4520da804b3601d8471407ecd2cc23887a48f610bdfc0cae7cc8f020a93b50c0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: anim-state.js \u2194 component.js: \u0060src/framework/anim/controller/anim-state.js\u0060 and \u0060src/framework/components/anim/component.js\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u0060cfbeda96\u0060 Tweaks to Anim API docs (#7520); \u0060d2418b92\u0060 [Anim Component] Fix for resetting parameters (#5392); \u0060a82e7f1f\u0060 [Anim Component] Support empty AnimTracks (#5112) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc5bd809a8336b837fc16d9256eacaa5d61835de4311f3246a4338db0a216d3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: gsplat-params.js \u2192 gsplat-octree.js, gsplat-placement.js, gsplat-quad-renderer.js: \u0060src/scene/gsplat-unified/gsplat-params.js\u0060 changes together with 3 other files \u2014 \u0060src/scene/gsplat-unified/gsplat-octree.js\u0060, \u0060src/scene/gsplat-unified/gsplat-placement.js\u0060, \u0060src/scene/gsplat-unified/gsplat-quad-renderer.js\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2d7ae0b2e050cd8eaad461de75845d6f96696fa63e1c01ba7320f52ca32c33"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gles3.js \u2194 webgpu.js: \u0060src/platform/graphics/shader-chunks/frag/gles3.js\u0060 and \u0060src/platform/graphics/shader-chunks/frag/webgpu.js\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060bcb15734\u0060 Add dual-source blending support (#9096); \u0060819803bb\u0060 Update to the way we strip unused MRT outputs (#7395); \u0060f8468672\u0060 Deprecate WebGL1 based texture sampling names with _EXT (#7221) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-chunks/frag/gles3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9e93180b1d3567389b46b7ca97fed9b0dcd33897e6277a5fa60402c7c35204"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lights-buffer.js \u2194 clusteredLight.js: \u0060src/scene/lighting/lights-buffer.js\u0060 and \u0060src/scene/shader-lib/glsl/chunks/lit/frag/clusteredLight.js\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060ce589764\u0060 perf: Compile clustered area light code once per shader, and only for\u2026; \u00600f4c6037\u0060 Fix spotlight rendering issues with small cone angles in clustered li\u2026; \u00601a58b59d\u0060 [Fix] Fixed issue where clustered light color is over half-float rang\u2026 (at that commit the file was still \u0060src/scene/shader-lib/chunks/lit/frag/clusteredLight.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9be3656b715fefd03e133577ee2dbd47d98bf58259891259fbdd899b31b9a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gsplat-info.js \u2194 gsplat-unified-sort-worker.js: \u0060src/scene/gsplat-unified/gsplat-info.js\u0060 and \u0060src/scene/gsplat-unified/gsplat-unified-sort-worker.js\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006078d557c1\u0060 Per-node block allocation and partial work buffer updates for GSplats\u2026; \u006054218043\u0060 refactor: Switch gsplat work buffer from row-aligned to pixel-offset \u2026; \u00603314f93a\u0060 Skip padding pixels during GSplat sorting and rendering (#8471) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-info.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf7970b4a569a2b3ecb3fbde40035390357f2a7edc71f312e6ccc80b57eb5c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: frame-pass-bloom.js \u2194 index.js: \u0060src/extras/effects/bloom/passes/frame-pass-bloom.js\u0060 and \u0060src/extras/index.js\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u00600422b32c\u0060 Extract FramePass base class from RenderPass (#8523) (at that commit the file was still \u0060src/extras/render-passes/frame-pass-bloom.js\u0060); \u00609efc7d01\u0060 CameraFrame API in the engine (#7129) (at that commit the file was still \u0060src/extras/render-passes/render-pass-bloom.js\u0060); \u00609868aa6c\u0060 RenderPass based SSAO (#6657) (at that commit the file was still \u0060src/extras/render-passes/render-pass-bloom.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/bloom/passes/frame-pass-bloom.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec1cc1fa549a6abc2c6b3a15e6bb124256b0f15fe1beb4a5e10471dd69d8c59"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: webgpu-compute.js \u2194 webgpu-shader.js: \u0060src/platform/graphics/webgpu/webgpu-compute.js\u0060 and \u0060src/platform/graphics/webgpu/webgpu-shader.js\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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006094604f35\u0060 Add Compute#setupDispatchThreads to dispatch for a number of threads \u2026; \u0060d78ee4b8\u0060 feat(webgpu): automatic bind-group reflection for compute shaders (#8\u2026; \u0060464ffdbf\u0060 Compute shader JSDocs \u002B small API changes (#6258) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-compute.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d59b6ca10a5e283d8dbb76ddb15db0e3cd27e22c2e9cfb308d97bd21b9ff8c5"}},{"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":"b39e14d9a9dccc3d6494194f6304e390cc08bd25c829cd0a01570ff502e608f1"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 18: .nvmrc declares Node.js 18 as this project\u0027s version file, and Node.js 18, support ended 2025-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2025-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".nvmrc"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6648803ca1184d1b831cc0935c1131320f0ac2f71c390fad75199d5bf2e7db6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return point;\u0060 also returns \u0060point\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd2ab5aab7c24745b8349b9a8a1f832dfce3ff9b896bab31deec36a76d5a4d4"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onResolutionChange\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"72743f2c2b2ad4e1f341e4584c5fc5107f63c0d238f6b917f75ebfc54a8bdf71"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onTextureChange\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1b65b5a8d327196d8dcd49b3cd56680c793d540cc51029c15367cbef93e92a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onTextureRemove\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"56276bb3d06036a2f1c6b108de16034617a6be8912b740e2964a2f86617fbdb7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onFontRemove\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecdc9205039d4cfc0df74c3a96003a13ad5ecf01e9ada8bf3255580d3411f25"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onColorMapAssetChange\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aacd31205f360b629f884ffdf6fc0b79747b9dc29d52da5d217cc06ee5cee41"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onNormalMapAssetChange\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"504cfc30418d134545a9a28ec743e0c46b1d31b73d538c8dc5890420fe3b33e8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060_onMeshAssetChange\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1763862afd7aa90a5da9b70abe5d6454db9d9ae613f0b4ff3814a5aaccd9bc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060readPixels\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa47babdbd02c12cda3fceb723224243e32dde0573ab9e88fbbc879d92837a2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setBindGroup\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c1645dd083ab32c7f724ae77692596351b7052bf391ec5a9de7b8e50e22d48"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060createUploadStreamImpl\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5e85137eae276f4a11b4baa082b7f146afc3e4ad18588fe70cafe470c2ccf5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setShader\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"012d5e6b819ab2f1180f4c5583cf0af002d1c28e5ee08f95b9a71bb2ae26e953"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setAlphaToCoverage\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69fc5412dfad25b597deae77789deee9c23e98382251c14a2d575ce73bd9576"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060clear\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef0b65be78e078831d3897ecb7f2437eab8fc284f6bb592c560f4ef5ffabf61"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setViewport\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4469a48076b09d16435c92bdc2d2353e2261a1da11723f6fe7d0df2a3a9ff0a8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setScissor\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dc0ba6b7cd262c161ef66eae34b982242dbcf58232b3a06078c0b562cc9469"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060copyRenderTarget\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"350e926b17f33c53548f277b2d2cd787586f5d8cccaa011bca47be8cba15ecf6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060propertyChanged\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-texture.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcf7f3f415630908f89d51d1156d3680fd412c6a8449025080d19e705fb6c5f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return false;\u0060 also returns \u0060false\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"7098a9e25fcd91f7a9939a127bffe4e0d69cd9c4c85b14daed9be729f54fc0d9"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060_onMaterialChange\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd98cd79704f9b9880a6493afdc91c3746f07a2e433eb9a372ca38f1c8834518"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060updateBegin\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc6b616571deb7654d6156faaf3ee29372b2216c9ab25608d32a182b75af96"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060updateEnd\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd50df50c8be03f66eb0babb0cb8d34c892a0f8e781cc6661cb619422c2fb2b"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060popMarker\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/null/null-graphics-device.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02cfbbe3119a826822dbe4e1a633bedaabf05556aef55ac8d723d55d13e3c3c"}},{"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":"test/framework/i18n/i18n.test.mjs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"147f41a0436e588fd299dba81828765973cb41b52cd025e185c425b81e7c7ade"}},{"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":"test/framework/i18n/i18n.test.mjs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3bd610119fd357e3e6d094ea182bc69bd37540951b2201272eaa9d5e8e130f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 6 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/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060callback to THUMBNAIL_SIZES.forEach\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":"examples/utils/thumbnails.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e5aa6a6a489bd0d7e48dd4403f75ef6e485be50149e20ff409ee283104aff3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060callback to THUMBNAIL_SIZES.every\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":"examples/utils/thumbnails.mjs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba15daa3f670f67ebf0c2962c9214573a3f2b5949c270e95a3187e74e9dbc3d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060checkThumbnails\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":"examples/utils/thumbnails.mjs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2b6959a4baeac90a25e9762fe10ecd447064d2efda5c0c83f47f979783def8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (75 clone groups): 75 duplicated blocks under src/ have copies in at least two of the sibling directories core, deprecated, extras, framework, platform, scene \u2014 22 of them are reported below, and 53 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 75 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 75 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 75 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7619708069058bd97ec178cca024a1926a5077347c87844688f9a62749ba868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 23 sibling directories (63 clone groups): 63 duplicated blocks under src/framework/components/ have copies in at least two of the sibling directories anim, animation, audio-listener, button, camera, collision (\u002B17 more sibling(s) not listed) \u2014 48 of them are reported below, and 15 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 63 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 63 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 63 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"de06b4851fdb9de8bc2cfe165bb69fcf9c5cf3233560893cf23c9c89d78c2801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (42 clone groups): 42 duplicated blocks under the repository root have copies in at least two of the sibling directories scripts, src \u2014 18 of them are reported below, and 24 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 42 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 42 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 42 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":"scripts/esm/parsers/obj-model.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6bcb6ada48bc3a0620f39624c9ac57f6c94d92dcdd5885c7e038d207c1cd3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 13 sibling directories (21 clone groups): 21 duplicated blocks under src/extras/effects/ have copies in at least two of the sibling directories auto-exposure, bloom, cas, color-enhance, dof, fringing (\u002B7 more sibling(s) not listed) \u2014 11 of them are reported below, and 10 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 21 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 21 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 21 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/auto-exposure/passes/render-pass-histogram-step.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"113bdce926ea2c0d134eaf6ebbe39e795caef7e94cc5ac5ce8165b8c7bd47950"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (17 clone groups): 17 duplicated blocks under src/scene/ have copies in at least two of the sibling directories composition, geometry, graphics, gsplat, gsplat-unified, lighting (\u002B5 more sibling(s) not listed) \u2014 10 of them are reported below, and 7 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 17 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 17 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 17 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"2218524fb77973b2c6fc81e3acc78a7a94e5b81f28af871e45f2268e51a8dc98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (10 clone groups): 10 duplicated blocks under src/framework/ have copies in at least two of the sibling directories anim, asset, components, gsplat, handlers, i18n (\u002B3 more sibling(s) not listed) \u2014 6 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 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 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 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-target.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"12da2cd5b0a5e156c1c1fbf3e35b221ab780e3d62a0e548125108293f21775c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under src/platform/graphics/ have copies in at least two of the sibling directories null, webgl, webgpu \u2014 4 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 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 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 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-xr-bridge.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"73019119fb11862d1d3f6718418fd0be7fe15485665df22e0aaad8c32bc8c153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (257 matched lines \u00D7 2 locations): src/extras/gizmo/transform/scale-gizmo.js:20 \u00B7 src/extras/gizmo/transform/translate-gizmo.js:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 1964 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f03156378dedecf29e865868b924501ca9f8fbc17794401ca3a48631464a223"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (243 matched lines \u00D7 2 locations): src/framework/components/model/component.js:158 \u00B7 src/framework/components/render/component.js:207 \u2014 the two spans are one implementation copied and then locally edited \u2014 1535 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e6c69293d28584768da7d03399848d01340a3b1ef323ebcb40aed12367dd18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (216 matched lines \u00D7 2 locations): scripts/esm/first-person-controller.mjs:24 \u00B7 scripts/esm/third-person-controller.mjs:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 1839 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":"scripts/esm/first-person-controller.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8723f072677c5c85b9c6863f09f258fd21136835487a08e2ddbf67cfa1619c"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (171 identical lines \u00D7 2 files): src/scene/shader-lib/glsl/collections/shader-chunks-glsl.js:1 \u00B7 src/scene/shader-lib/wgsl/collections/shader-chunks-wgsl.js:1 \u2014 these 2 files are line-for-line copies of one another \u2014 171 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":"src/scene/shader-lib/glsl/collections/shader-chunks-glsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d8790f446b0e6e935666a0f03b89a6e13bd553c074cb2e1dd78d336579f3b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (136 matched lines \u00D7 2 locations): src/core/math/vec3.js:108 \u00B7 src/core/math/vec4.js:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 1178 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec3.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9564c08de3cf9e9ab266b0322d679dc5f507fc8dc80b8bd210c225d4e4261d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (108 matched lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-image.mjs:32 \u00B7 scripts/esm/gsplat/gsplat-text.mjs:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 779 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":"scripts/esm/gsplat/gsplat-image.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f725b76733defc0f692392597a4acefa8d40ae99a42e489bcbf803d3a9b6f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (103 matched lines \u00D7 2 locations): src/framework/parsers/sog-bundle.js:141 \u00B7 src/framework/parsers/sog.js:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 723 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06f6c5fe1e9b9a829bc20be8adf5b061dea2fe10a1d382d08d5f7107d1c9030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): src/extras/gizmo/shape/arrow-shape.js:15 \u00B7 src/extras/gizmo/shape/boxline-shape.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 662 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/arrow-shape.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"65486832fbf6be014df4d45884e183ac350cc85fc03cc0629180c11a9ea9feab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-texture.js:540 \u00B7 src/platform/graphics/webgl/webgl-texture.js:763 \u2014 the two spans are one implementation copied and then locally edited \u2014 412 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba99363484f90dedfd67a72c9417452b00e88769ee483891284a8cfc4e2d28e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (70 matched lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10327 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10473 \u2014 the two spans are one implementation copied and then locally edited \u2014 595 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10327}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb41321c4c7c23dd394893b0d2bd7f63ecf421396cf457496e154785f9a9af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): src/scene/light.js:571 \u00B7 src/scene/light.js:790 \u2014 the two spans are one implementation copied and then locally edited \u2014 280 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4aff37154bf555bb3ff1db4cd79a99d337bd63730172bb57837b07af0a6858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (65 matched lines \u00D7 2 locations): src/extras/gizmo/handle/cone-gizmo.js:19 \u00B7 src/extras/gizmo/handle/cylinder-gizmo.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 591 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/cone-gizmo.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25954983adfccf3f8d73966c88e8ca7af2c1372b2882fb6b2edfbb11bf5765d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): src/scene/light.js:627 \u00B7 src/scene/lighting/lighting-params.js:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 273 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab35cfc73397153cebd575b9ca4b330acdee37a031f8d532fd24907e6ad10fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): src/framework/components/button/system.js:23 \u00B7 src/framework/components/scroll-view/system.js:27 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/button/system.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb79a922e2dea0c7e51d34bf3023252af6b764a823140e54feebe38fe19229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): src/extras/input/sources/dual-gesture-source.js:171 \u00B7 src/extras/input/sources/single-gesture-source.js:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 395 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/dual-gesture-source.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86b2574dab33adc7d247c621363c69312bb248e12043571ac4b04eeffaad27d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): src/framework/components/rigid-body/component.js:205 \u00B7 src/framework/components/rigid-body/component.js:403 \u2014 the two spans are one implementation copied and then locally edited \u2014 283 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/component.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a90861aa4e375d0e02cb017459dc5182d9fb60ec1e082760d0cb6f8c3603e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js:143 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog.js:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 442 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3028b2fdb16f725e5d6ebd2f0b842b4ec16874e96f842bf65e8c02e6d22d4e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): src/framework/components/element/image-element.js:1042 \u00B7 src/framework/components/element/image-element.js:1204 \u2014 the two spans are one implementation copied and then locally edited \u2014 324 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf92650283e58f9577567f569a4e0271c0c618746aac9a94614b38e0ad27963"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:452 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:574 \u2014 the two spans are one implementation copied and then locally edited \u2014 470 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"4916501d262936b8fa76c3beb34d9d5be426662be21eedb53d09f07b3157608f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): scripts/posteffects/posteffect-brightnesscontrast.js:37 \u00B7 scripts/posteffects/posteffect-huesaturation.js:49 \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":"scripts/posteffects/posteffect-brightnesscontrast.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7d13fb37d2da2d2a01995ae3062337f572f58e74100ed22eb32ea465afaa33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): src/platform/graphics/index-buffer.js:98 \u00B7 src/platform/graphics/vertex-buffer.js:77 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2645bc8f391d62f4e1c7840473ed6f79d2c71aa4517f51541b41c476bc152fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): src/extras/gizmo/handle/capsule-gizmo.js:20 \u00B7 src/extras/gizmo/handle/cylinder-gizmo.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 458 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/capsule-gizmo.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c29c87b905bab05a46090de740f8f2f8bcf93aaf7efba57877f7971a91c36b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): src/core/math/quat.js:36 \u00B7 src/core/math/vec4.js:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 328 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"512aaf50481c55d4fe6d52a1f254549f93cd921029c582d3e3e5201d67e7658a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): src/scene/graphics/radix-sort/compute-radix-sort-multipass.js:20 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 298 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd5894b2150d0d4604327d6b80d7d968ffa740366b16c122d50f3cc89dc2ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): scripts/posteffects/posteffect-horizontaltiltshift.js:42 \u00B7 scripts/posteffects/posteffect-verticaltiltshift.js:42 \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":"scripts/posteffects/posteffect-horizontaltiltshift.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdbd37a0939cd0c4d29ba177b0d5a3844e19037c6e323536ab6328903090ddd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-interval-compaction.js:164 \u00B7 src/scene/gsplat-unified/gsplat-projector.js:240 \u2014 the two spans are one implementation copied and then locally edited \u2014 255 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-interval-compaction.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2338da1a263684eff305c284487ffe342be06d4011b6030b902f944a47686f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): src/scene/shader-lib/glsl/collections/particle-chunks-glsl.js:43 \u00B7 src/scene/shader-lib/wgsl/collections/particle-chunks-wgsl.js:43 \u2014 the 2 copies are spread across 2 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":"src/scene/shader-lib/glsl/collections/particle-chunks-glsl.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3094532021bc7bbfb830e26561fba362bb80104e4dd9c8889bf9f5e9a9aebf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): scripts/posteffects/posteffect-blend.js:46 \u00B7 scripts/posteffects/posteffect-outline.js:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 298 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":"scripts/posteffects/posteffect-blend.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef3802e371e3ada6dafa35ca477a37deca9930a9c5f2a1585911e5258f88af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): src/framework/components/model/system.js:32 \u00B7 src/framework/components/render/system.js:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/system.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c743eba0a490865ba487e4f7f4e2ad769e09391f342d1b3a4bb7e7c510f2c61b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3129 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3347 \u2014 the two spans are one implementation copied and then locally edited \u2014 352 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3129}}}],"partialFingerprints":{"codehealthFindingId/v1":"129841c344a5ace152317aad6cc1769151cdc7bbd0f6849639114b659c03f0a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): src/framework/xr/xr-mesh-detection.js:28 \u00B7 src/framework/xr/xr-plane-detection.js:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 239 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-mesh-detection.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f640bd711e00daba5948da2bc4d8b93a0cf6f13c6acb37c6a3db5e7693ffb3dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): src/extras/input/sources/dual-gesture-source.js:94 \u00B7 src/extras/input/sources/single-gesture-source.js:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 239 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/dual-gesture-source.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3f57e4d27979ecd1a1e87fa52165615bf7f87ff255dd630e3001627b7b7815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): scripts/esm/gsplat/reveal-grid-eruption.mjs:339 \u00B7 scripts/esm/gsplat/reveal-rain.mjs:385 \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":"scripts/esm/gsplat/reveal-grid-eruption.mjs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb50629acfc61899a2eee60ed8c0b93821a107a81d797320a5baf9025ed9b40b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): src/framework/anim/controller/anim-blend-tree-2d-cartesian.js:17 \u00B7 src/framework/anim/controller/anim-blend-tree-2d-directional.js:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 331 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-blend-tree-2d-cartesian.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bec0a0e782885c1b5c7f3b0540b982af551bf469229e976a7d7c59cfda1602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): src/framework/handlers/basis-worker.js:235 \u00B7 src/framework/handlers/basis-worker.js:328 \u2014 the two spans are one implementation copied and then locally edited \u2014 229 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c670069841623dde24d81a57a9bbe089e39a2afee21b003311cd0ced2c467be1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-graphics-device.js:531 \u00B7 src/platform/graphics/webgl/webgl-graphics-device.js:640 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ec20ba5a10d6f9d545e86210ad7a8969c1f17744734856258209332c2ce4ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): src/scene/graphics/frame-pass-color-grab.js:68 \u00B7 src/scene/graphics/frame-pass-depth-grab.js:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 191 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-color-grab.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d10436ede90368adfcab0afed977e6728f79fe9402ec7b7f7ccb938f2f4c67f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9664 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9698 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a68abbd1de36d16c82f4792a5b440ab4331c2912c4d0c1e89e333c8dd05a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/framework/components/element/text-element.js:2092 \u00B7 src/framework/components/element/text-element.js:2173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b31ee9f07b26549dd1843c34d93c7840f3dd1a070893989d394b7fcb4d4257a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/platform/input/controller.js:312 \u00B7 src/platform/input/controller.js:353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae7888f7c77778ddbaa226f19f38e7aac2dbab3275276c9c38579e43d2f583"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-hybrid-renderer.js:953 \u00B7 src/scene/gsplat-unified/gsplat-quad-renderer.js:444 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeaabf4b966efed7e8c95311e1225a8368ad930d40b22fdf6077d00f5b73714"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9419 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9468 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378964fef9f09e923632b90a928845c9440575ffd702f0294d917205c641efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/extras/effects/auto-exposure/passes/render-pass-histogram-step.js:43 \u00B7 src/extras/effects/smaa/passes/render-pass-smaa.js:40 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/auto-exposure/passes/render-pass-histogram-step.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d372c6ffa70baf22dca98af1d641a5b24a8c93d1119881698b232eb6ff4448b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): src/extras/input/controllers/focus-controller.js:60 \u00B7 src/extras/input/controllers/orbit-controller.js:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 228 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/controllers/focus-controller.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7f2a36c72d3469f136babca5ce28d2d3dd65453ab5e051557be74bf1ccc3fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/framework/components/collision/component.js:449 \u00B7 src/framework/components/collision/component.js:498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e4c06272ee4b9edb2e2a3ba4a747722fa9b0e15d90ac4fdc07e1ab413cc72f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/framework/components/rigid-body/component.js:733 \u00B7 src/framework/components/rigid-body/component.js:866 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/component.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34d00e8ea55c6efac695d83f098a7e9069edcdee8761c471eef2a21e20117a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:8878 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8909 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8878}}}],"partialFingerprints":{"codehealthFindingId/v1":"7375301307afe91002bda93fe94be8f4e724237fb089312cbcdb27257893114a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): src/framework/components/gsplat/component.js:424 \u00B7 src/scene/gsplat-unified/gsplat-placement.js:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2c6f0616ba24641b109eb95ae370a697ccaae03a33b3754ee47622cf454669"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-xr-bridge.js:281 \u00B7 src/platform/graphics/webgpu/webgpu-xr-bridge.js:455 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-xr-bridge.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e2e146ee8ef723429994e12f5e9d762c5d1b56bd3aa328b28ce8921f74b6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/framework/components/button/component.js:437 \u00B7 src/framework/components/scrollbar/component.js:206 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/button/component.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"da56bc37860dcb701e0bb9012771aa46f6b767fdb667fef8157e0ad9fb2f3392"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/framework/components/particle-system/component.js:1096 \u00B7 src/framework/components/particle-system/component.js:1139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"885464ef02894cb6144bc5415a23020d79792f49876fde1b6ca07f76963b498a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js:411 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog.js:141 \u2014 the two spans are one implementation copied and then locally edited \u2014 279 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13fff17041f7bcad273f139240a993981f92f281959d498a6e57196d202bf77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-mipmap-renderer.js:93 \u00B7 src/platform/graphics/webgpu/webgpu-resolver.js:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 154 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"689d8df8e452ec101eecbeffc6b7f59a515bcd78f2ca121dfc8ef2382697c40f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/scene/gsplat/gsplat-compressed-data.js:307 \u00B7 src/scene/gsplat/gsplat-sog-data.js:366 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d251c43846c02cdedbc19ea8da78aaa2997fbdce88231bc79e48a4af064ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): scripts/posteffects/posteffect-bokeh.js:143 \u00B7 scripts/posteffects/posteffect-vignette.js:61 \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":"scripts/posteffects/posteffect-bokeh.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"44390a1d878ca5ab1c9fa906b0a917e470b7bcca2efb8a0b57f83d659c3fad52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:2212 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2297 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2399 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba688d88a3654280dfe44a8a39b35fd9d7ebb8ba0e1dbc99eddeaaa773da42ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/scene/composition/layer-composition.js:530 \u00B7 src/scene/composition/layer-composition.js:596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"013991917a4cd25af70390615e1d69f3297c9d7353866b81a77a54bb2e77b1e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/framework/xr/xr-mesh.js:113 \u00B7 src/framework/xr/xr-plane.js:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-mesh.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dbc8ff7eefca97c8998f9f7aad8284350ff584bbc8b8fb6c8957d135e8018f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-hybrid-renderer.js:884 \u00B7 src/scene/gsplat-unified/gsplat-quad-renderer.js:394 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e6305bb55f724158eebff97f268c9833e5c2433a288d0bec0bce280a726c23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2774 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2896 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cac740fd6e54bfbff20e2f25a5c580aeeb550e695bb9f422e124bf42925c5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:10198 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10234 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10266 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10314 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43c37eb7a2a0f2f3a17e65651bdabd7921eb1857e63443b395b982572216453"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): src/framework/components/element/text-element.js:1741 \u00B7 src/framework/components/element/text-element.js:2108 \u00B7 src/framework/components/element/text-element.js:2189 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9913617d2632b4705ddebf3793d802cf1ba8800f5498a78235271c59620580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:5557 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5580 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5603 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5626 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5557}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d66f98e9d97f59d7a16e0310a1f82c5d454115f5a37c5a937268b22da84eef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11559 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11635 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11559}}}],"partialFingerprints":{"codehealthFindingId/v1":"644ed0b445ad57a2b65143c5ff05e0464373980b486903118394cc31437e2f1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:14596 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14620 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14596}}}],"partialFingerprints":{"codehealthFindingId/v1":"582f5190be1ed063c48c38b5a6a79fb6945d49e6af8a2f1e1663db40c627e0f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/extras/gizmo/shape/capsule-shape.js:58 \u00B7 src/extras/gizmo/shape/cone-shape.js:82 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/capsule-shape.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c032fb7c3aebee1424eb065c4b15677176082d8882b473a56a66493a762224d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/framework/components/model/component.js:1035 \u00B7 src/framework/components/sprite/component.js:781 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"915dab4c2728b800507e06c2452ee300a82090171dd823a81dc308f3d2b0d490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-graphics-device.js:1216 \u00B7 src/platform/graphics/webgpu/webgpu-graphics-device.js:1250 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0204ff1f68bd640f32331d0cb5e856437dcd516e9da6a7a655cc01f6a574c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): scripts/esm/camera-controls.mjs:36 \u00B7 scripts/esm/third-person-controller.mjs:29 \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":"scripts/esm/camera-controls.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b738ccb2ae63a3f49f692c9934763987e84fbb22a94d2747f1257a0d8e0fac4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2676 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3948 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe60dca391aa2b841f66e0d7469c85e3fc7d5e773e920bf76d765d5df760a965"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6845 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9059 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6845}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d55b2f0e30ae294452c7c5b1a5d62af2cdfcbbcd6908cf55af0dbd4f26540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): src/extras/effects/dynamic-sky/dynamic-sky-noise.js:189 \u00B7 src/extras/effects/dynamic-sky/dynamic-sky-noise.js:238 \u2014 the two spans are one implementation copied and then locally edited \u2014 210 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-noise.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8084b8c1b4628d291832f0dacf47b4523e1e46511108240ad6d877df552e30d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): src/framework/components/scroll-view/component.js:449 \u00B7 src/framework/components/scroll-view/component.js:492 \u00B7 src/framework/components/scroll-view/component.js:534 \u00B7 src/framework/components/scroll-view/component.js:578 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2c32131d2858e7f2cdf7f5ec1369607c85d1f01552f1d00fe9310731b492b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): src/scene/camera.js:557 \u00B7 src/scene/mesh-instance.js:1265 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/camera.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f9c5ebe35c256fb3d306aab9e71af91f98941b81bd41dcd6349fd72cbf79fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/core/math/quat.js:810 \u00B7 src/core/math/vec4.js:689 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8bce6e0b86b76ba2277a9f243558277cdf31c1d8df73decc8dc8e9279b687d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): src/extras/effects/ssao/passes/render-pass-depth-aware-blur.js:27 \u00B7 src/extras/render-passes/render-pass-downsample.js:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/ssao/passes/render-pass-depth-aware-blur.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae03c64c54ddafd7198996642dd1d9b2beffc90d2becfa438386e15abf0c404"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): src/framework/components/element/image-element.js:690 \u00B7 src/framework/components/element/image-element.js:725 \u00B7 src/framework/components/element/image-element.js:765 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e8f88e41271110c2f957bce53bae6a663528683d9ae57579ed9ec1e696da4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/framework/components/element/text-element.js:1996 \u00B7 src/framework/components/element/text-element.js:2022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"080c676c59ec76a7c11dcba9981356b602e247d2fa706e7467ceed8f6ff33e7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/framework/components/sound/component.js:611 \u00B7 src/framework/components/sound/component.js:666 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/component.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15979b2467b89f3749cf8bd596e6559f30d18df74bdfe49c2daa22e03a7c307"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/framework/parsers/texture/basis.js:43 \u00B7 src/framework/parsers/texture/ktx2.js:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/basis.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa98e62060014cdd62ce6d61c443ea87850c5a7b18a33e85441bf69ada4d5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11800 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11895 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11800}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e8468475067f4c148a8ae564debc48d225e9f7ec02c42d5668673ab34132c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/extras/gizmo/transform/rotate-gizmo.js:856 \u00B7 src/extras/gizmo/transform/translate-gizmo.js:598 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db53d6d84408b16858c32a1b213636d2a9ee21d71b9e4f3b6e55f3b98e11950"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/framework/components/particle-system/component.js:1959 \u00B7 src/framework/components/particle-system/component.js:1995 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daa2baa0f3156ee2a4429fcfe39b492e0560c75a1eb86ca390c33ab3bae3aee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/framework/handlers/font.js:45 \u00B7 src/framework/handlers/texture-atlas.js:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/font.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c943a9937cb78102a180f0d4f24f7eeafb2f0409f9d77a517f3b3e8df721c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/framework/xr/xr-input.js:173 \u00B7 src/framework/xr/xr-input.js:194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-input.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"30edf8c184b35824ad4ddf4da1b21ca647341aa3b7f5cdf04dcc6bc702579e8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-compute-pipeline.js:56 \u00B7 src/platform/graphics/webgpu/webgpu-render-pipeline.js:329 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-compute-pipeline.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c17165f2ff4dd5bf820b65719c727a382ad951e04a598d60bf342dd82c33e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/scene/geometry/cone-base-geometry.js:197 \u00B7 src/scene/geometry/cone-base-geometry.js:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"be71c3e88f5c34bc443a4aad2ff4ffb3fb336659b48541f59439551e8a4fbd19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6 locations): scripts/spine/playcanvas-spine.4.3.js:4029 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4052 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4075 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4124 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3a6cb1fc63088395d4807e9798ae1bb7f1f05eb972fbb5af335e36bfc2736"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:9287 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9337 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9371 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ee7bac74126f14c8efba59206064c64e2b6362db8eaa7b76e3a456235ccd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10828 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13448 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10828}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d5324ec224dd07d085e1aaea47b7cc9fea9b1877422fa0e82a506ff91d98ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/framework/components/element/component.js:2865 \u00B7 src/framework/components/element/component.js:2892 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2865}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc74c4f46a8926aab183c2d0522a253dcb5b0539b6710da82ff38e92090ade20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/scene/materials/standard-material.js:1409 \u00B7 src/scene/materials/standard-material.js:1506 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d82f820d400a94bf245d1a1b68b787d65ee05bbaacdc2632a0a945c922d93af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-lines.mjs:436 \u00B7 scripts/esm/gsplat/gsplat-mesh.mjs:446 \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":"scripts/esm/gsplat/gsplat-lines.mjs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab9bb03420aae8c97257883789ea81ff8cd27992129291b5fd38ba5e5ac517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/posteffects/posteffect-fxaa.js:105 \u00B7 scripts/posteffects/posteffect-luminosity.js:48 \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":"scripts/posteffects/posteffect-fxaa.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7a51bb50d3c56c8ce19ab633188b11e0436776086e137a8e31cb1815c26e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:5897 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5928 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5897}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b554344ad5e5b1a53f88f1dd995f976354bc0b1313e6f038f8da83411d6d8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12938 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12973 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12938}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71e72db6b09e9dfdd2f587d805d53a7155a2a53ff72f2fe9a7ae0b859fd4f81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/core/math/mat3.js:311 \u00B7 src/core/math/mat4.js:1005 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat3.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa5d446a9b471ddd67139cf7d83365cfa32b02d6240fd1597855fdc2efd66d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/core/math/quat.js:381 \u00B7 src/core/math/quat.js:434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f9e89c0b534ec3e73c726da135abb30716ba413e2831d89e2b2d06cd308b2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/extras/effects/smaa/passes/frame-pass-smaa.js:159 \u00B7 src/extras/effects/taa/passes/render-pass-taa.js:178 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/smaa/passes/frame-pass-smaa.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9e5fc2ca4096931d4ebc8b8e85025977f107bf17b1862fd06104db4d40017f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/framework/components/button/component.js:790 \u00B7 src/framework/components/scroll-view/component.js:686 \u00B7 src/framework/components/scroll-view/component.js:726 \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":"src/framework/components/button/component.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"843a6a7d16b1afac381a39a63151c29c019a437106bb35988a28172d8ed7b459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/framework/parsers/gsplat-lcc2.js:92 \u00B7 src/framework/parsers/gsplat-octree.js:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/gsplat-lcc2.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"da36ed807b9053fcc2c1c34e3ddd9575b5b2bfe6828de896e123c62626e8cdfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/platform/graphics/frame-pass.js:275 \u00B7 src/platform/graphics/render-pass.js:743 \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":"src/platform/graphics/frame-pass.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca177a3eb728bda5ea01ca191fce2cd627ef40b50d5061304ba91943710e855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-lines.mjs:354 \u00B7 scripts/esm/gsplat/gsplat-text.mjs:210 \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":"scripts/esm/gsplat/gsplat-lines.mjs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"be93bbe229abe20fd0c8cb63fdb3b1396f826cd08de85ac1b543d6bd6c5d4660"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12327 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12431 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7904101909f1f2f72c8bd19e7894f86f4e4a4ae236e90a2f53adc433ee80edf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): src/extras/gizmo/transform/transform-gizmo.js:415 \u00B7 src/extras/gizmo/transform/transform-gizmo.js:444 \u00B7 src/extras/gizmo/transform/transform-gizmo.js:473 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"599d5c0614a111566ffbea52265be5d3045a648aa61870363fb9eddc63be22d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/extras/gizmo/transform/transform-gizmo.js:819 \u00B7 src/extras/gizmo/transform/translate-gizmo.js:594 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac292a4d80244667aca00d2e91e6ab8734ad3252c203170510f82a1b8f7ee3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): src/extras/render-passes/render-pass-downsample.js:81 \u00B7 src/extras/render-passes/render-pass-upsample.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/render-pass-downsample.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c0d3cba58d07d77007810389c2633ebb2fff9df660c96f29f1baf00498ae8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/framework/components/collision/component.js:527 \u00B7 src/framework/components/collision/component.js:572 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc06ff24aba4ba2c45b13b9d1d142f554ad8a88440b3ecc24695eba3022751cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/framework/components/element/component.js:2515 \u00B7 src/framework/components/element/component.js:2545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5d4203ae13a187caccb3085000a2a57263e528d707947e622463bf1d02bc5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:694 \u00B7 src/framework/components/render/component.js:836 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"395d44f4b1a95c8b5f565a79e276d7e3e842f0a7864ee0c73c34423a900fc013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/platform/graphics/bind-group.js:188 \u00B7 src/platform/graphics/bind-group.js:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41a0fe41f0c890b3e0ddee34ff372b6bb91db3b8149246b5db8f74d07fb440"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/scene/geometry/box-geometry.js:139 \u00B7 src/scene/geometry/rounded-box-geometry.js:208 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/box-geometry.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031bc0fcbc309051c58e1f88c42a1ac1f341c08cb04f7f3806912f26926ae21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/scene/graphics/env-lighting.js:139 \u00B7 src/scene/graphics/env-lighting.js:229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/env-lighting.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c8ec6a4b2121c0cf1d3c0ca538048f259761d9fdfbc500ba90103ff9c084f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 13 locations): src/scene/materials/standard-material.js:1015 \u00B7 src/scene/materials/standard-material.js:1060 \u00B7 src/scene/materials/standard-material.js:1105 \u00B7 src/scene/materials/standard-material.js:1184 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"db058ad26cb23702308943c91f9bb9feb1eb026a8bc80ef1543c3de289be92f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/esm/parsers/obj-model.mjs:31 \u00B7 src/framework/parsers/json-model.js:53 \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":"scripts/esm/parsers/obj-model.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c620dc07283402ee01f68a9d5302923d14b3a14196394177c1246a162249bbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): scripts/esm/parsers/spz-parser.mjs:581 \u00B7 src/framework/parsers/sog-bundle.js:145 \u00B7 src/framework/parsers/sog.js:84 \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":"scripts/esm/parsers/spz-parser.mjs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"924180fcd459fb6ca2df27aa97707c9a49954e597e82d21f5e3c6d056419613a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): scripts/posteffects/posteffect-bokeh.js:107 \u00B7 scripts/posteffects/posteffect-brightnesscontrast.js:41 \u00B7 scripts/posteffects/posteffect-huesaturation.js:53 \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":"scripts/posteffects/posteffect-bokeh.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fcc893231d79859bc56082fd6c40a402f95d439822c427d1913ce187a15d80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6670 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6762 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2854e540e984d79bb3b970a19a075efd1f03e0694fa10f01d4c8de49732533"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9331 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9365 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9331}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dbdd76655336ca3baae5f282b7c78c57289ae4fa4b7b21b60d49666025c424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9352 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9386 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9352}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c33b6b0ddec75f6da57d2d93a5b74df9bc682c5de449e3ea50b312fe31077d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11452 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11580 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11452}}}],"partialFingerprints":{"codehealthFindingId/v1":"179e4c5aebfea1df3e4dbb965ab5a8dbb00fdfc3d5a0b7a0d5bf9b6381a65780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11987 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12067 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11987}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65fae25dd47ab160250e1abffcaee6e2e8860edd1802e0fc43b8a32603fe5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12876 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12905 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12876}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68bd2e82cc0caaa6a45ec5358eab4f16525af3806e98ac6c4480afb8f9faa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:14747 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14887 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14747}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a16b5e745bcb7491c392078271c52e521e89cd9687b12c83aa88a7779fe9308"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/extras/gizmo/gizmo.js:520 \u00B7 src/extras/gizmo/gizmo.js:557 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/gizmo.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"daddaf92cae4b1b899f7101953db80092f83390f8205057baa6a0e7d142121e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/extras/input/controllers/fly-controller.js:5 \u00B7 src/extras/input/controllers/orbit-controller.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/controllers/fly-controller.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"069e48ab267d179b61806700ab498825c72dd0bc04e074eb907185da0decaab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/framework/components/animation/component.js:638 \u00B7 src/framework/components/animation/component.js:665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"4690dc786f59c21d80ef4ea92a4a629bf1153869b3b417e8fd1cfc1a07320739"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/framework/components/animation/system.js:28 \u00B7 src/framework/components/joint/system.js:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/system.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ed94fed7250683b9aab454f6408ec45c40039633609fc34e1213d845bceb20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): src/framework/components/element/image-element.js:1209 \u00B7 src/framework/components/element/image-element.js:1245 \u00B7 src/framework/components/model/component.js:320 \u00B7 src/framework/components/sprite/sprite-animation-clip.js:314 \u2014 the 4 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":"src/framework/components/element/image-element.js"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be08ba9107db188b1418afc62d0447bccdc160d36e257d5a8d016945ee70e94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/framework/components/scroll-view/component.js:694 \u00B7 src/framework/components/scroll-view/component.js:734 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"30adfef8027c718b148cd5a6be2bab08d794d4c7141338b1e625c705b00fe259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/framework/components/scrollbar/component.js:255 \u00B7 src/framework/components/scrollbar/component.js:292 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scrollbar/component.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a5b99c3c03ca62e59f0b46963d1b33a1bcb68c5ed9ca5e54fdfe91d2c02c78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/framework/components/sound/slot.js:54 \u00B7 src/platform/sound/instance.js:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f230bab7cf3ea3f23f31bd0839f58640812a893c22cef0e277e588f91df8aa68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/framework/handlers/font.js:45 \u00B7 src/framework/handlers/sprite.js:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/font.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c3c73442996b864f28085762dff295fe26820b39b4c437fdc6df67979c3753"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/framework/handlers/sprite.js:30 \u00B7 src/framework/handlers/texture-atlas.js:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/sprite.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"855ae4055b3bbf5653aface989f6c94b4443a0b42a357224c6194cd895b60007"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/platform/sound/instance3d.js:132 \u00B7 src/platform/sound/instance3d.js:175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance3d.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9614fb6af844bf7c58d528cfcb28cc9d21a8cd4c236e451eeb1e7568c0d759"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/scene/batching/skin-batch-instance.js:27 \u00B7 src/scene/skin-instance.js:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 169 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/skin-batch-instance.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b51d2ea9b840beb7b37a389a877de4f95e76e6a87e8c8e6f5b43bc2419187"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2018 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3088 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3d3c32ab7888ffaa34e75863842bfee50218395116c1ee918a31e7ed527f61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3662 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3762 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3662}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ace66a844361e4e6ce6bf8028969e63326efb9fe2f69a8ff819c38d5acdd4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:5556 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5579 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5602 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5625 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce4a132f12df4d734d81025e584a47b93d013614a717fa5aad1b8879a756259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11505 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11724 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3a02bc89e3965ff40709e825801a7f063a37a51e0385400f1fbe99bed1492f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13000 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13057 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13000}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ca1cc6877d82fcbe0fc765773d7073c23d10826723c474397fbfc9cbdbfe02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/core/math/color.js:66 \u00B7 src/core/math/quat.js:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/color.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85275e0a0219dad067b93f64ac401d025c751635d342b4f882409dda6ffa45b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/core/math/mat4.js:164 \u00B7 src/core/math/mat4.js:938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c2bbf5d3237286645aae1ce1967aba7c6097eb8ce6b61eb331736d329c3f69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/core/math/vec2.js:386 \u00B7 src/core/math/vec3.js:423 \u00B7 src/core/math/vec4.js:368 \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":"src/core/math/vec2.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb2defbd6094405f76388e54a41bed01ccc0c43b0fa9dd52a5dc71fbf84c713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/extras/gizmo/handle/handle-gizmo.js:382 \u00B7 src/extras/gizmo/icon-gizmo.js:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f142a294e5959972dc8e768f361d1f1c5fea2077a055b5224a1e5e3a099e632a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/framework/asset/asset-registry.js:287 \u00B7 src/framework/asset/asset-registry.js:333 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e834dd6adff71a6d9b5a5cce65ef9294baa199ff30b05fc5652dfc94cc0250a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/element/component.js:869 \u00B7 src/framework/components/element/component.js:966 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad19f3f2c12ce4d3c220f2502a1d23b89d2dfe7ae9bfa8340e8edb705999ddd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/element/text-element.js:813 \u00B7 src/framework/components/element/text-element.js:829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"70989d80b3f70f7d95796f768804747889330150b47c227e9207265fc0ba7870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:192 \u00B7 src/framework/components/render/component.js:177 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1574de6ec3ca5459dd60b6ae1ce9cb7acdfd4296c11539286f66b2a886baacb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/framework/components/gsplat/component.js:853 \u00B7 src/framework/components/model/component.js:828 \u00B7 src/framework/components/render/component.js:1026 \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":"src/framework/components/gsplat/component.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303ef5f506dd5f77baeb1cd33924952af12535d29b27a89a830aafb6d875cce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:906 \u00B7 src/framework/components/particle-system/component.js:2262 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b75aa6ada113795205e6dc7f2cd5b89eb658d05084388d919653a8f37655991"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/framework/components/gsplat/system.js:198 \u00B7 src/framework/components/model/system.js:81 \u00B7 src/framework/components/render/system.js:84 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/system.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18b8a1f29cfdc6668a06938dad8dcceef1b2541bd2bb1db0e8f2c052b99f604"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/light/system.js:82 \u00B7 src/framework/components/scrollbar/system.js:36 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/system.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"072ce64bf9dc30db8c59ac88b2363b63a41e363a8acaae3570199460986ec5be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/rigid-body/system.js:952 \u00B7 src/framework/components/rigid-body/system.js:971 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9921b7845e048e559692e27b270edfd153a538ecdea2053425b7f5761b4e2c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/framework/components/script/component.js:491 \u00B7 src/framework/components/script/component.js:507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"955abe459a084349c478b2abc18b0f7d57551994d07a20c2188c61dcc8a0dabe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/platform/graphics/scene-color-map-handle.js:26 \u00B7 src/platform/graphics/scene-depth-map-handle.js:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/scene-color-map-handle.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ea7c4675ed824ab1f02a80590b1695a96c279dc5c7f402e3fcae1a04b1bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/scene/graph-node.js:1170 \u00B7 src/scene/graph-node.js:1202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"48408987b113ef936345e747ee986510c9ab606a620e74e88f4618d5c944ff34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/scene/layer.js:596 \u00B7 src/scene/layer.js:625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/layer.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beb7fc632da84537ba67aaa625e3c950a2e21eb7e9726d6a487a351d5f70ef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/scene/renderer/render-pass-shadow-directional.js:14 \u00B7 src/scene/renderer/render-pass-shadow-local-non-clustered.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-shadow-directional.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"231c3a520a6362693d15061a8ab24fc5fe5a3f881125f692b19245b999a20c90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:633 \u00B7 scripts/spine/playcanvas-spine.4.3.js:651 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0939e27d0db006e7f71c1efcfaa0c6e23b9fd73801fd118c7c1810a6ea5a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:5516 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5544 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5516}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb10dab35b13a6b77019ab34b404a9e015ee71ccfca73de8fd7f335a74a7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7497 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7609 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f90b7f52a773340fe6b888f6ca2273a9da68fd046b178df7797747a844b67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:10229 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10261 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10309 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41f7bac8a59540e402f2d41c206a215e9d64b54f1c4589457ff2b33bc925ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12004 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12085 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6822b5ee2f52e22aaa65e28813bbbdc76db9b22cba771495591a4c4ffb0960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/core/math/mat4.js:716 \u00B7 src/core/math/mat4.js:963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96ad2ec32f1cb2a13cd08130ee41dae43e7281e1604d721b4a8e01c6c41327f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/core/math/vec2.js:472 \u00B7 src/core/math/vec3.js:513 \u00B7 src/core/math/vec4.js:462 \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":"src/core/math/vec2.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b3c0518046fa10c9d4b4a4d3c64a770a3dfe9472eb0f84f48df438af8f78a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/core/preprocessor.js:281 \u00B7 src/core/preprocessor.js:313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7815e6da04a62e2b62aaeaa78d539b74706aa92d33710462285b666428c46f15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/extras/effects/color-enhance/color-enhance-effect.js:72 \u00B7 src/extras/effects/grading/grading-effect.js:106 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/color-enhance/color-enhance-effect.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba172bbf3e39d900cb8537422886d172605ff5c283c8e3f040b50bae75cf30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): src/extras/gizmo/shape/arc-shape.js:124 \u00B7 src/extras/gizmo/shape/arc-shape.js:162 \u00B7 src/extras/gizmo/shape/arrow-shape.js:132 \u00B7 src/extras/gizmo/shape/arrow-shape.js:170 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/arc-shape.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d7ce18a5318e0f63cc11866fb526bccae8a5d9c90e8bf601fe14cea7d58a42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/extras/gizmo/shape/arrow-shape.js:118 \u00B7 src/extras/gizmo/shape/box-shape.js:40 \u00B7 src/extras/gizmo/shape/boxline-shape.js:116 \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":"src/extras/gizmo/shape/arrow-shape.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"38186e41ca15379c3d0e78346263c142cebdb0119587789ecd589f7f2e5abd57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/framework/components/camera/system.js:141 \u00B7 src/framework/components/collision/system.js:666 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/system.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c64a0298f059b2441f4a8b055a3be74c3ae21d7d579d7fb03962b6d61354c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/framework/components/camera/system.js:141 \u00B7 src/framework/components/joint/system.js:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/system.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9accfd4e36ee0573a613264f5317c984dfb67adff7321bfcaebd85da6248c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/framework/components/element/image-element.js:1240 \u00B7 src/framework/components/model/component.js:314 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f68299b2dead750c93805ba7fcfeebdc80bdc031089bae34b45ccb0a6fad9b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/framework/components/layout-group/layout-calculator.js:302 \u00B7 src/framework/components/layout-group/layout-calculator.js: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":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06dc8c3a77f95570a45768a736b7259f072e5f6b3c10a71ac7b29ab88675fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/framework/components/layout-group/system.js:126 \u00B7 src/framework/components/particle-system/system.js:251 \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":"src/framework/components/layout-group/system.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e4d8d42d6944da4fa9b22e0d6c4fdb08aa8ea3482dc06777ea34106d69ad48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): src/framework/components/model/component.js:1110 \u00B7 src/framework/components/model/component.js:1184 \u00B7 src/framework/components/particle-system/component.js:1945 \u00B7 src/framework/components/particle-system/component.js:1981 \u00B7 \u002B2 more site(s) not listed \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb43593c62b42f29c45951f2681b4d5b87f05351405eb285b200e7080bc01dcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/framework/components/render/component.js:485 \u00B7 src/framework/components/render/component.js:512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d398c92e1228e6672e80ebac9aea2e67fe3590bea4f7c1cc39aad99615abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/framework/components/sound/slot.js:556 \u00B7 src/framework/components/sound/slot.js:705 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"864f9826da37aacc31521264b25a061a6f068d0821ee43cb56a53f4cba434ea7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/framework/parsers/json.js:8 \u00B7 src/framework/parsers/template.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7a0ec3e78c4541b3a43e92c9cde12f4fa3e18353a54864daf28498f8c0b52e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/framework/xr/xr-hit-test.js:117 \u00B7 src/framework/xr/xr-plane-detection.js:94 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-hit-test.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e6b0fc80ab1aa1bd9befadacd5665a60f3ae4b39f2c098a1bc9413fcceeb0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/platform/graphics/blend-state.js:227 \u00B7 src/platform/graphics/blend-state.js:245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/blend-state.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4662a48225f3b8ee00333737d93a21d98ce286b54d5ba7545dd0fee8cc57db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/platform/graphics/uniform-buffer.js:114 \u00B7 src/platform/graphics/uniform-buffer.js:181 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/uniform-buffer.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00259e973d0c06e72317874ded092ce5048296c6ccbe3eb071e8757fda93912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/scene/geometry/cone-base-geometry.js:121 \u00B7 src/scene/geometry/cone-base-geometry.js:167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3d14bfe7b708ba4f327c0a3dcf0766c2995ddd0d411a581a9c486ff3e876aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/scene/graphics/env-lighting.js:163 \u00B7 src/scene/graphics/env-lighting.js:253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/env-lighting.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83df425733944dea86a6d8430301f73160de89dba01ee0fd6ab3f35cb5e4b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-interval-compaction.js:334 \u00B7 src/scene/gsplat-unified/gsplat-projector.js:334 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-interval-compaction.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6eed0933e6f363c27f3dc9c6b38fc35b04f54b6908877311e5ec9f771cbe25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/scene/renderer/shadow-renderer-directional.js:178 \u00B7 src/scene/renderer/shadow-renderer-directional.js:295 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e6c3c5b983ca884d1a37456c5bf4af958a43a76f3a8f8a0d2534b16100365f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): scripts/esm/first-person-controller.mjs:321 \u00B7 scripts/esm/first-person-controller.mjs:366 \u00B7 scripts/esm/third-person-controller.mjs:627 \u00B7 scripts/esm/third-person-controller.mjs:673 \u2014 the 4 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":"scripts/esm/first-person-controller.mjs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2b83fce5a6c6ba3aede033aabe0d05ecf6619cbd92b725471025d082149d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): scripts/esm/xr/xr-controllers.mjs:99 \u00B7 scripts/esm/xr/xr-menu.mjs:439 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 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":"scripts/esm/xr/xr-controllers.mjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4c2e3be26099de3100cc078dfbcc582d963efcc65de56994097e835c181f34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/posteffects/posteffect-bloom.js:297 \u00B7 scripts/posteffects/posteffect-ssao.js:510 \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":"scripts/posteffects/posteffect-bloom.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e021d46003e55f70f6d047117bc0dc29adba3cc6c7cb33741cb6410d8589daed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:3019 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3062 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3504 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"51692eb83ef77c1d88039e54d1673264f1a3748dcb643866f855a8a1698a88af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:4107 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4133 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4107}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f42e28517b777a150774e437f0e9d04d7f5ac164fe0ba86d29d78f7e90a8ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7192 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7243 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5003c3b735cfb2fb1eefe08b741a950ae08952e9683c86785ee203bc24d51e7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7348 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7372 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a321c577ee137f56f7aa39244453ccb3b4c741ea2513ae977dc2b0e103a8825"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12896 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12964 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1220939835561a3a6136ff2dccfe6132b07893833741d35359b2e324ba4542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:14789 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14841 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14789}}}],"partialFingerprints":{"codehealthFindingId/v1":"65513c3dea0c17d5a91e09021383bdcf9fd3d1497360a57a57dca3ddec5f8d81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/extras/effects/volumetric-fog/passes/frame-pass-volumetric-fog.js:89 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog.js:36 \u00B7 src/extras/effects/volumetric-fog/volumetric-fog-effect.js:85 \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":"src/extras/effects/volumetric-fog/passes/frame-pass-volumetric-fog.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a15b2cf3051f3fbcc3e514a0456d48a652617323a7c208e159a7b88ce57c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/components/element/component.js:2724 \u00B7 src/framework/components/particle-system/component.js:2265 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f080b87deeb2948946e1b48e413a4b5b28fe50e381572f2573c7fafb0621ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/components/element/image-element.js:516 \u00B7 src/framework/components/sprite/component.js:950 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c0311a1b32cef1711b4fb28febaa862602c3a8a28a96e4fefe93b15658a3f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/framework/components/element/image-element.js:1191 \u00B7 src/framework/components/element/image-element.js:1229 \u00B7 src/framework/components/model/component.js:297 \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":"src/framework/components/element/image-element.js"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eef922be11f463d65f0e01911a3053bed5ae61f413405cc292781663ab32855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/framework/components/element/system.js:434 \u00B7 src/framework/components/sprite/system.js:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba39b0f0475cf8fed065a0e14fceb0914eefb7fc6fa9cd2855abd792173b994"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/components/element/text-element.js:553 \u00B7 src/framework/components/element/text-element.js:615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c04ad9cd9d403b41d77b3fef24c89014b3cfa27e14835fde3f28de8e853e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:791 \u00B7 src/framework/components/gsplat/component.js:814 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d0de3dadd9f00f496feb69e838c0ff4d892a88e737ed60a2c48822078cd997"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/components/sound/slot.js:484 \u00B7 src/framework/components/sound/slot.js:498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d251e7e4afae1b69531cd25f439cc0ade35093947fff2409f4cb2d5d31a20d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/framework/handlers/scene-utils.js:11 \u00B7 src/framework/handlers/sprite.js:44 \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":"src/framework/handlers/scene-utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"35599d264b40488033156fdd981b0d2c1b4f97a385447967d8de000925aa1f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/i18n/i18n.js:281 \u00B7 src/framework/i18n/i18n.js:341 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/i18n/i18n.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e435905bcc69954059256f5753890920422c132725e18bf4371bec3ba386bc37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/input/element-input.js:438 \u00B7 src/framework/input/element-input.js:503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4da6cce058b6e543619ca05589849eefc90c9a4629ee1529360fd0cc3fec3f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/framework/lightmapper/lightmapper.js:703 \u00B7 src/framework/lightmapper/lightmapper.js:727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bba6edb5c18f184b9326dec3cb22b9a81a2004da2611923700bbe5a0a8f4d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/platform/graphics/gpu-profiler.js:110 \u00B7 src/scene/light.js:655 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/gpu-profiler.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e5c8d03ce4de84e949ba3632899043deb3b543948793b53e253eaddd074cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/platform/graphics/render-pass.js:565 \u00B7 src/platform/graphics/render-pass.js:628 \u00B7 src/platform/graphics/render-pass.js:692 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35e5cb2f99477e7accdc94041e38a212f43cc760caaa9c5e87f9497730e8b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:157 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:507 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b1160bb81381820339c91a747efbca7cc2f7544646242486aef0c42b40d435"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-upload-stream.js:84 \u00B7 src/platform/graphics/webgpu/webgpu-upload-stream.js:100 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-upload-stream.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b2cbd6834bfa0d316f47dae11876342e611bdd26e2a0ad6707bc8c90b9a297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-params.js:960 \u00B7 src/scene/skybox/sky.js:223 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85aee04c3b428c3baf896bfa10e9d6b922c670854e617fecc7c788642c08280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-unified-sorter.js:57 \u00B7 src/scene/gsplat/gsplat-sorter.js:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c65fbe4d3dfc9ccae55300e9b912cf3fe9a51242d13dd33e6adc908b8ffcb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/esm/lens-flare.mjs:281 \u00B7 src/extras/effects/lens-flare/lens-flare.js:82 \u2014 the 2 copies are spread across 2 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":"scripts/esm/lens-flare.mjs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c313800df922ca6d00f4f844aff6aa66b0e04c1f97642a612462cdf530c7a7a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/esm/sky/procedural-sky.mjs:815 \u00B7 src/extras/effects/dynamic-sky/dynamic-sky-effect.js:1459 \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":"scripts/esm/sky/procedural-sky.mjs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab4da53d830468694af05edcf4a3a566049be13e7ba197b2ed69132c3bfdc33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/posteffects/posteffect-ssao.js:375 \u00B7 scripts/posteffects/posteffect-ssao.js:392 \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":"scripts/posteffects/posteffect-ssao.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"342cb1c5f778a7304fb2e01a29f45ce28b455343bd7c401108ccafde06c21345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:2603 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2840 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2958 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3807 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d2b669f02930673f48b830057ce56ba1314da2a2d9cc9b156d109a73b49342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): scripts/spine/playcanvas-spine.4.3.js:6718 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6874 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7303 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8314 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6718}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47c460e45967ff7b2fd37c853bc0ffa92b88ba137b05aee92a2b37fcb5f429"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7464 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7582 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7764207f47d5a9c4063867f944e2c0b0b8bc44a5521f37b11833af7e5c2823"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10303 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13138 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10303}}}],"partialFingerprints":{"codehealthFindingId/v1":"718bfc53f1e2843da3e6acceb7f39e41beace623f311ff3c6a2e12f16a015228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10475 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10528 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c137e40fe4e499c519b2ddbe44a44691176677406c552bcbdfebb08be432a17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11621 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11868 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf6b293d60576a876ee34493420d09f1e8bc30a38b5c4d7af9b6bf8844fe514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): scripts/spine/playcanvas-spine.4.3.js:14892 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14905 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14918 \u00B7 scripts/spine/playcanvas-spine.4.3.js:14931 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14892}}}],"partialFingerprints":{"codehealthFindingId/v1":"70751d4ec8ef3a47e61981b0d5b8fbae54f3911039b1f20333b673c3e4abce1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/core/math/mat4.js:238 \u00B7 src/core/math/mat4.js:318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd26b5f30b50e5b0b03a9804f958d08cfabfb86d58bb3d61cf36db33d27c9150"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/extras/renderers/wire-renderer.js:704 \u00B7 src/extras/renderers/wire-renderer.js:810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6cd6424bc60b062fcc3896ff4e94fb145465902e6fbb5a63ffccecfe5acbdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/camera/component.js:1082 \u00B7 src/framework/components/camera/component.js:1096 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcebdc3a0977eb06927a98d3905a764ae2b7ad436293509ec9273589177aed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/framework/components/camera/component.js:1452 \u00B7 src/framework/components/model/component.js:832 \u00B7 src/framework/components/render/component.js:1030 \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":"src/framework/components/camera/component.js"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"2413c00017c3fe8a12cab6592e0c670d52be9ddf446eec25000c7664c19b4a8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/camera/component.js:1493 \u00B7 src/framework/components/light/component.js:1512 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adcf4a2a73f76d68c2dca971492091401ac52f102f907be2c1ca2062db5a3d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/light/component.js:580 \u00B7 src/framework/components/light/component.js:621 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51b6902d13228301ac7d64d5ef79bb523f7ee95f7b4ae3e28269e697d3a16e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/light/component.js:834 \u00B7 src/framework/components/light/component.js:918 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"470073a4a747580ac227e89b53568eabbc24991960ec39cd9c3737e7762118cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/light/component.js:1014 \u00B7 src/framework/components/light/component.js:1043 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9745c013fec6b8791e3147902bffa23a19cd9d673f7abfefbd916a8d48d6799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/framework/components/script/component.js:337 \u00B7 src/framework/components/zone/component.js:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4eec1e252a03fbc520beb1c3cef06cedf583a485e7af17a339157ffc009e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/components/sound/slot.js:241 \u00B7 src/framework/components/sound/slot.js:259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c32ecca48c59a73e7e2468d6312adc15fc4203bdce15c770009e3bb8d2a9062"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/framework/handlers/font.js:59 \u00B7 src/framework/handlers/scene-utils.js:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/font.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"86afc66fcd137a40b7631534fa8c04a1024b8d0032dce556380e7d3446191596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/framework/parsers/json.js:9 \u00B7 src/framework/parsers/material/json-standard-material.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19fa43e81adfdede26cfd6af0363f5b710dc4c546f36d0b85c55e9a971e4b72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/framework/parsers/material/json-standard-material.js:24 \u00B7 src/framework/parsers/template.js:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/material/json-standard-material.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d7c060568f39ccefccb6e34a3fb77acefb7aa500b9ad8299bc565c21f370ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/framework/physics/ammo/ammo-physics-body.js:216 \u00B7 src/framework/physics/ammo/ammo-physics-body.js: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":"src/framework/physics/ammo/ammo-physics-body.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8888d69a2934d144d596035ba791cff92a2477bb5dfcbd22664ed5f6d22b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/framework/script/script-attributes.js:85 \u00B7 src/framework/script/script-attributes.js:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"536cbb81d3bb5225337dcffcd89f30f7d4a522284a46f792b362873cf6d8147b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:229 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:700 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7bd2933817b58bb35dc7c0f65c18ac8eefc6d9832cb745c172bc39a1a632e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/platform/graphics/uniform-buffer.js:29 \u00B7 src/platform/graphics/uniform-buffer.js:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/uniform-buffer.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd12db8ca0c682a720a6d36fe2a9c67990dde39e68c6b476f9c9feb236be52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/scene/geometry/cone-geometry.js:33 \u00B7 src/scene/geometry/cylinder-geometry.js:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-geometry.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c8137ed55a4f51395a7f0ae09da3c90893ed869e597cf330a5b52fde1f229f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/scene/geometry/plane-geometry.js:34 \u00B7 src/scene/geometry/torus-geometry.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/plane-geometry.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e28da502d88ec6add0d0b1d5df24cf2e46d838c8407dff1e17bd28ff5cb68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:246 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:259 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:273 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e04c600718c5b1702c300d2fb9ee3988295de86d94a951c3248d42ec78ba1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-octree-instance.js:1237 \u00B7 src/scene/gsplat-unified/gsplat-octree-instance.js:1347 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f68cb166d2ade0eeb358c1e8a92324f3405e723fc568f5e7d3514adaffd6ba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/scene/materials/default-material.js:10 \u00B7 src/scene/shader-lib/get-program-library.js:10 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/default-material.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8200c0d234370480a8e6f5cbdcb7c6cffcdd9964c8556f3227323701fdd8d2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/scene/renderer/forward-renderer.js:106 \u00B7 src/scene/renderer/renderer.js:390 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c5ee69e458d71bd5e9a0fd4086d8a75e343f99dad132c80a07d45d3a8c0be1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/scene/renderer/shadow-renderer-directional.js:78 \u00B7 src/scene/renderer/shadow-renderer-local.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc7b01f3e5c937fd53ced48d29ffc37ab5521bfea12bc81bec6d7e77a5bfeb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/esm/gsplat/streamed-gsplat.mjs:168 \u00B7 scripts/esm/gsplat/streamed-gsplat.mjs:196 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/streamed-gsplat.mjs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19de92624491b4214aa06b5171039620e178260ed1409a53e2c2cf4dc47fd83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/esm/xr/xr-manipulation.mjs:665 \u00B7 scripts/esm/xr/xr-manipulation.mjs:742 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-manipulation.mjs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"041cfd1ffdd629ee5f5767897014679f73f6a865941e2cb8553581830eb60f62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1003 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9268 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57bc37e0979f1e2567f0b3248db1a8beeef8b02fc132f81b792b0204b3a1fa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2380 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2393 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"491c991f9e9158039709739efc138da34b1f935276eec7f2aa4724cd36909d26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:5348 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5380 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5775118611852dd9cf1d66f9290943027463f47f69b17f7b068b7e1865526dd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6978 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7083 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68cba2c535aeed0984c920d0b9f3d2e45996fddd4a4291ebd38578b9fb58b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7797 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9055 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7797}}}],"partialFingerprints":{"codehealthFindingId/v1":"019eb20e646ea163d5ef82bf8a1d506ae6f63a9c1dbca9d3ef476509af1f004b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11433 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11468 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11433}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c393f49a043401bf2661f71c8b1921c2680f133364e020adc6bb8cddc0e101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11545 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11770 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ec371480b28b93d30236fab80e1d2a528761578e0e286398128d32b5a796be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12960 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12994 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12960}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd55c45213255272533954bb04613c1dbc3294a95bdff01cfd85c5e049bd96b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/textmesh/text-mesh.js:46 \u00B7 scripts/textmesh/text-mesh.js:65 \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":"scripts/textmesh/text-mesh.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4c8de2be0d8bc356ee04b42cbc785c36415328f4004880bf290972ab4714a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/core/array-utils.js:4 \u00B7 src/framework/handlers/cubemap.js:218 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/array-utils.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"916016de3e0c8adff20aa811f6b3bdb99a11c7fe91ce99488acb348463745097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/core/math/curve-set.js:274 \u00B7 src/core/math/curve.js:256 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/curve-set.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"35137ecf6bdf2eaf50da32af1c7e31dd82fe27cf1b799e1b31c07f956a93a689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/core/wasm-module.js:18 \u00B7 src/framework/handlers/basis.js:35 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/wasm-module.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"339af746a005d22cecfcc385aabba5dc02010de2a32c16f74327430651099ac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/extras/effects/bloom/bloom-effect.js:130 \u00B7 src/extras/effects/dof/dof-effect.js:131 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/bloom/bloom-effect.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"78977df8f01ecab54a613da8b528e9794cc1ecd8e604e38f3992a42ad9baeb1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/extras/gizmo/view-cube.js:250 \u00B7 src/extras/gizmo/view-cube.js:288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/view-cube.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d082e86734c0388a8df653fc2506dfc0fdbe376abc1a6c4027bb481252445d69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/extras/input/sources/keyboard-mouse-source.js:325 \u00B7 src/extras/input/sources/keyboard-mouse-source.js:343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/keyboard-mouse-source.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"45942efda044740aa05690538a0007fdb886e6f56e463efb6db03aa32fd7a3eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/extras/voxel/voxel-occupancy.js:381 \u00B7 src/extras/voxel/voxel-occupancy.js:392 \u00B7 src/extras/voxel/voxel-occupancy.js:403 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c91c2cf0778d15e99bafcf9c1bd2d1ef04834717a3cfe7688e1ff853314534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/framework/asset/asset-list-loader.js:207 \u00B7 src/framework/asset/asset-list-loader.js:225 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-list-loader.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e93cad711392ab13b1f5997510d1ba61c5b3b2f6344a166b2999750f7eaa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/collision/system.js:798 \u00B7 src/framework/input/element-input.js:535 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"d388843f2af06239da474e6b52055a58eacd57405914ddf8bfcbcc3dc196c5df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): src/framework/components/element/system.js:461 \u00B7 src/framework/components/element/system.js:477 \u00B7 src/framework/components/element/system.js:492 \u00B7 src/framework/components/element/system.js:546 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"209a8cfb09b162d403839b71eedc99319d93b3b4101c70d5ef38a9916a38056b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/element/system.js:542 \u00B7 src/framework/components/element/system.js:557 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"072c9b110614f5f281890aaeb27dacb42a26982e817b4c0b7ee5f88298607020"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): src/framework/components/render/component.js:888 \u00B7 src/framework/components/scroll-view/component.js:472 \u00B7 src/framework/components/scroll-view/component.js:514 \u00B7 src/framework/components/scroll-view/component.js:556 \u00B7 \u002B1 more site(s) not listed \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"988e3445cbe706977e447285295561923c22a25faac70a3276df342bff5fb44a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/rigid-body/system.js:1114 \u00B7 src/framework/components/sprite/system.js:138 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf4dd88a60af633bca716b9973eef70ee02f4848169bc8080e686604bc38bef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/script/component.js:897 \u00B7 src/framework/components/script/component.js:961 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac97df512d21e06689961c048bf3c5e6b16bc010b5a9d0f05db5fa684e06183"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/sound/slot.js:742 \u00B7 src/framework/components/sound/slot.js:794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"668e96297a34948624c9f4005816558dff4d0dd40c887af1a725f7ae533bed40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/components/system.js:235 \u00B7 src/framework/components/system.js:250 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/system.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"508948380f099b43fe50255928c6afc4fe1ef22c9f4c38095f6e7b6dca709247"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/framework/handlers/css.js:10 \u00B7 src/framework/handlers/html.js:9 \u00B7 src/framework/handlers/shader.js:10 \u00B7 src/framework/handlers/text.js:13 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/css.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5028ac9ecbaf0a22d413ce8c52a7e763ea3a70331c2d54cd9dfdf29fa26a05c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/handlers/hierarchy.js:16 \u00B7 src/framework/handlers/scene.js:15 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/hierarchy.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7373820569dec3bc2b1b0c1ffd1b03a5f87daadda5e937f137bce9d749330636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/handlers/render.js:64 \u00B7 src/framework/handlers/render.js:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/render.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaa8af985adc2af941e516081048eaea6bac38647715217959ce063ffb9159a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/parsers/glb-parser.js:560 \u00B7 src/framework/parsers/glb/extensions/khr-materials-pbr-specular-glossiness.js:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43802a97a1e398b18fad124e6728fdcb0353b4873c64e84a7e4e14b912fb9c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/framework/parsers/json-animation.js:25 \u00B7 src/framework/parsers/json-animation.js:60 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json-animation.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b009522d7c446dd4724685d4c97ad9b044647f24963b498dde8d1d4f27faaa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-graphics-device.js:586 \u00B7 src/platform/graphics/webgl/webgl-graphics-device.js:599 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"1583f84b012894888f71a482e2345ffc65ac67e6dccb1f3b4448938e4264f5da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-graphics-device.js:1457 \u00B7 src/platform/graphics/webgpu/webgpu-texture.js:751 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ad5530bebf67b57d48c99d0b0bbc273450cbf3a3e8213523e804235b5dc886"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-mipmap-renderer.js:166 \u00B7 src/platform/graphics/webgl/webgl-xr-msaa-copy.js:87 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-mipmap-renderer.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b3c87f52f6b64f970cc8fc9ce85a48633dedcb74150d6d19ba7fda8e834ca6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-texture.js:670 \u00B7 src/platform/graphics/webgl/webgl-texture.js:687 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1902bcb5ece7653b7a4a5071762071d5e6e13e62f0525e25c2cc2be8ae095160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:163 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a6c226ee88ad965cbb12580f16ed8c62c163a5d76ade2286fd168522765340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/platform/sound/instance.js:380 \u00B7 src/platform/sound/instance.js:543 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efa6e17cfaa8119126880e4c2c190dad1a09b4ff2022c5b0b5e3f9fad54e7bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/scene/geometry/cone-base-geometry.js:105 \u00B7 src/scene/geometry/cone-base-geometry.js:151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8352935c60511868492e5ab3a953dda429abf470fce9353f16c4796d930ca3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/scene/graphics/env-lighting.js:184 \u00B7 src/scene/graphics/env-lighting.js:272 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/env-lighting.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee696916b93da8d20594cba40fd7baf216252a4f87b461179346c66ba3b0fa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-unified-sort-worker.js:369 \u00B7 src/scene/gsplat/gsplat-sort-worker.js:98 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500e433bb595af461c4b5007fed069eecb5135727d19cf74de73433baea0711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/scene/lighting/light-slot-uniforms.js:306 \u00B7 src/scene/lighting/light-slot-uniforms.js:366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"580cc3858fb4bd87576cdc52435d124221de1b7a9d42f09d76cd44aed34c2813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): src/scene/materials/standard-material.js:1127 \u00B7 src/scene/materials/standard-material.js:1291 \u00B7 src/scene/materials/standard-material.js:1339 \u00B7 src/scene/materials/standard-material.js:1406 \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":"src/scene/materials/standard-material.js"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f04a911fda3120c73bbe8cc9f0b9a6481aa087e35ab7d6d0d855fdced8c9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-lines.mjs:234 \u00B7 scripts/esm/gsplat/gsplat-lines.mjs:287 \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":"scripts/esm/gsplat/gsplat-lines.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b540c32adee991ad75457e55b25c4bf1a0a2d367cd8afd2a535f8e5ce69b5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/esm/sky/procedural-sky.mjs:936 \u00B7 src/extras/effects/dynamic-sky/dynamic-sky-effect.js:1573 \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":"scripts/esm/sky/procedural-sky.mjs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eb556b11e62a3ac82b913f9971c57e6da66524ca5ef4f517aee523b657e290"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:623 \u00B7 scripts/spine/playcanvas-spine.4.3.js:636 \u00B7 scripts/spine/playcanvas-spine.4.3.js:649 \u00B7 scripts/spine/playcanvas-spine.4.3.js:662 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8b6a9f6e9ed2ea72ffd2eaf8e55560560466fbd5dadccbd46e85cce05c8127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1050 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1062 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"14babcc4d419b7e263154377a640702b0e7be2750ac9349a9263982089db58e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2037 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3117 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1fd218e87cd222f55a1b94469eaaf4ab5a056f6e2cc48c579b3719b0472db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2161 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2193 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7eb64e4cfedeb69b08fe55700565afd59716f23f5efd43c2f364c01ede7280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2482 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3002 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7827ad58d052a3798d2026ddeb6108c72aa2d7dce3dafd5e0d68f648e6c626"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:2589 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2940 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3789 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada412b0168341cbd3f3a3becf1783883fb4e18295edfaa48c7b08cfa4bcc01e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:2822 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2942 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3791 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec37a29289d4df1c0e64a44835a4495800067d03689744c45875f6304377be9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3512 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3579 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3512}}}],"partialFingerprints":{"codehealthFindingId/v1":"858c94a694126006841d60bee93988c06fb59c63d9fc37f16e2fe87123f117a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:3868 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4253 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4273 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbcb8cf2a53b12e42642510902aca7325d21b4c0ea78a413ea847ad6a3e176d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6742 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7892 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761c288e9f1b96b34ad86dde383ba46bc8ad3bb705773ec6baba7d6e6ce5565"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:7163 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8582 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9158 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c355d0002aa4434e54e6e89a04b6f32238f91c49ea790d776b226777ac5576a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:8330 \u00B7 src/framework/components/element/text-element.js:182 \u00B7 src/platform/graphics/null/null-graphics-device.js:54 \u00B7 src/scene/renderer/renderer.js:380 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8330}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf402c10c0ab45f40e0bdc9a4b5d965c3e09f8f752267f2dff9c7dace2f726b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13839 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13861 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13839}}}],"partialFingerprints":{"codehealthFindingId/v1":"25980b32e7b2242c043121c2af679e6d47d58d58cb6935b99961417fa456b234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:15418 \u00B7 scripts/spine/playcanvas-spine.4.3.js:15446 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15418}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71609a6d54fbb864207640c98f6a1ed1b013ca86c15e73e4dd4effd423f8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/core/math/color.js:286 \u00B7 src/core/math/quat.js:810 \u00B7 src/core/math/vec4.js:689 \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":"src/core/math/color.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0450f23e86e34bfe7e9270ce9e197fa55d1010a204c346c2e2abc35a92cf6766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/core/math/mat3.js:73 \u00B7 src/core/math/mat3.js:98 \u00B7 src/core/math/mat4.js:158 \u00B7 src/core/math/mat4.js:932 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat3.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d351e3538cc14fdd9097c574897a8aa79a19476eea73e4df61632da5422f0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/extras/effects/auto-exposure/passes/frame-pass-luminance-histogram.js:250 \u00B7 src/extras/effects/smaa/passes/frame-pass-smaa.js:242 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/auto-exposure/passes/frame-pass-luminance-histogram.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9e50161d9590974baf904a72f5bbfcb1fe4734b773276c32842475c18ae17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/extras/effects/lens-flare/passes/render-pass-lens-flare-occlusion.js:41 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-combine.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/passes/render-pass-lens-flare-occlusion.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13d2945086ae8c3dfb68314a3c079d67f4f85661bb50b522818fc779718ae98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/extras/effects/ssao/passes/render-pass-depth-aware-blur.js:15 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-combine.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/ssao/passes/render-pass-depth-aware-blur.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"64141d577bcf1d961982fe16e37aa6509bc3ea604c7243c53ca586f1e10fbe47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/extras/effects/ssao/passes/render-pass-ssao.js:79 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-combine.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/ssao/passes/render-pass-ssao.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af76094557f0bc48f6e7c1a1d4e92fb815db19aa522e91ad43be21c5d129218"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/extras/gizmo/shape/box-shape.js:1 \u00B7 src/extras/gizmo/shape/capsule-shape.js:1 \u00B7 src/extras/gizmo/shape/sphere-shape.js:1 \u2014 the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/box-shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e4f606b95c88b9053886b5128a76095c34f12025222bb80698fce5379671e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/extras/gizmo/view-cube.js:185 \u00B7 src/extras/gizmo/view-cube.js:201 \u00B7 src/extras/gizmo/view-cube.js:217 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/view-cube.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e26487d5460694e69f2b356640caab310c2e71a89ff0adae5bb07edf13d5a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/extras/gizmo/view-cube.js:234 \u00B7 src/extras/gizmo/view-cube.js:254 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/view-cube.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b9f3f1448ad16520749b07dd940a6d6292dc527014f44641e46af9fae388f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/app-base.js:2268 \u00B7 src/platform/input/mouse.js:264 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14ce61c6608da82c120adcb083efe99f37d52ed4c28fa3725554012d0b36981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/asset/asset-reference.js:116 \u00B7 src/framework/asset/asset-reference.js:142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-reference.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba302823964360b913964d74dba45622f9d88f1b26d2baa6e615a0cb702c3b88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/framework/components/animation/component.js:707 \u00B7 src/framework/components/particle-system/component.js:2145 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd555ab417479d8ea647e0b0f03fabb096b8490812495d0e79d2cac46980424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/components/camera/component.js:1298 \u00B7 src/framework/components/camera/component.js:1317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"75806a6aabf3cc2d09dbe02fa624d588371b9d1d1f432d8876e47aeafdc5983a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/framework/components/camera/component.js:1519 \u00B7 src/framework/components/gsplat/component.js:913 \u00B7 src/framework/components/light/component.js:1538 \u00B7 src/framework/components/sprite/component.js:784 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dcf5b69247d9ff9ed22edae0590a8f7f836ab8949186fa3c0d773e8e3e1be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/components/collision/component.js:265 \u00B7 src/framework/components/collision/component.js:292 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc5f4454c49a110608819f56a2057b471f11a4d13037426ce5613a90b633781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/framework/components/collision/system.js:658 \u00B7 src/framework/components/particle-system/system.js:183 \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":"src/framework/components/collision/system.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad79864fa56735ee24563adce55131043548e0e8d96cde77414d01014e1c3b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/framework/components/element/component.js:2212 \u00B7 src/scene/graph-node.js:1054 \u00B7 src/scene/graph-node.js:1132 \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":"src/framework/components/element/component.js"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d3440cd3a3129e8370003ca921a11648ac4941be55db733834b0f93ae7fca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/components/element/component.js:2664 \u00B7 src/framework/components/light/component.js:1414 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af9034c3c4dffbe379ae12ac38259eaa9e7dd88930aa4e55eeb28f23ee76dc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/framework/components/gsplat/component.js:944 \u00B7 src/framework/gsplat/gsplat-processor.js:431 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bdf38d91347079da348a37c0fabbdc1d0a43b8ba2c1c44cc54056671fd0b28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/framework/components/gsplat/gsplat-asset-loader.js:225 \u00B7 src/framework/components/gsplat/gsplat-asset-loader.js:287 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/gsplat-asset-loader.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed26aa782539be4b4ebf1388a2353aba466b9825a90d5105cd824b75429b80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/components/light/component.js:690 \u00B7 src/framework/components/light/component.js:945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff64cd0908fae635a4da1cb72d0592de69709d7130c05799ee16fb1d5b9097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/components/scrollbar/component.js:159 \u00B7 src/framework/components/scrollbar/component.js:181 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scrollbar/component.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4200fae9bbc32af2bc6cf9b6047689af72de46471dfef5e2fa4f9b0a44cfe28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/framework/handlers/hierarchy.js:2 \u00B7 src/framework/handlers/scene-settings.js:1 \u00B7 src/framework/handlers/scene.js:2 \u2014 the 3 copies are spread across 3 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/hierarchy.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf074b0a7c36604d3ca148260948ac2d394b807a16792ccd86eb3b0497f505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/parsers/anim-clip.js:18 \u00B7 src/framework/parsers/anim-state-graph.js:17 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/anim-clip.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e7bc52ae09dbbc6f3d6401ee1a6b0a2baa6a547050f2dd1c9d1c1d7809b75d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/parsers/binary.js:13 \u00B7 src/framework/parsers/text.js:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/binary.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5799b3d878af218ffa7c75ee3a62004ca9c0c6638d3a8ecd3d64e65afdb631"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/framework/parsers/texture/hdr.js:31 \u00B7 src/framework/parsers/texture/ktx.js:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/hdr.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2a0b18dfc23ce7d08b9a258d7577776a8978da18612e74ae8647e668aae935"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/framework/xr/xr-anchors.js:154 \u00B7 src/framework/xr/xr-hit-test.js:124 \u00B7 src/framework/xr/xr-image-tracking.js:49 \u00B7 src/framework/xr/xr-mesh-detection.js:100 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f048b212ae45527990fec34cd1134d8429cf8aef06e56224490fca5ff5f9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/bind-group.js:354 \u00B7 src/platform/graphics/bind-group.js:365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff353637dfd65b32c7b1d3045702fd0e17249ac8fae2530454b7d904be98a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/platform/graphics/blend-state.js:163 \u00B7 src/platform/graphics/blend-state.js:227 \u00B7 src/platform/graphics/blend-state.js:245 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/blend-state.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb0b609816e411f3acde047166f2707e5a6eb044ebd6ca883e90b3c8dbdd196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/render-pass.js:595 \u00B7 src/platform/graphics/render-pass.js:612 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111b30d9db5159b6c107f33f399c4c414d82b500f32c9230a110ca5d8c7c1e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-graphics-device.js:1282 \u00B7 src/platform/graphics/webgl/webgl-graphics-device.js:1307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ea4af239bbedef520282a8f611bba25240b102a1bf953fee9c660381c07eba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 23 locations): src/platform/graphics/webgl/webgl-texture.js:125 \u00B7 src/platform/graphics/webgl/webgl-texture.js:135 \u00B7 src/platform/graphics/webgl/webgl-texture.js:146 \u00B7 src/platform/graphics/webgl/webgl-texture.js:156 \u00B7 \u002B19 more site(s) not listed \u2014 all 23 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"14920f3bce067212d4d9323cb4b0f7233498aafa3b55aa967b93e6b8c2e95e8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-texture.js:888 \u00B7 src/platform/graphics/webgpu/webgpu-texture.js:506 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06049f74139b82a34ada1631b88b82655a317c876f636d8159497dcda666cc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-shader.js:201 \u00B7 src/platform/graphics/webgpu/webgpu-shader.js:259 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3fb7e1c5eddbb1be911855b723d5bab008858ea1c682e4d1f931db139a2eb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-texture.js:419 \u00B7 src/platform/graphics/webgpu/webgpu-texture.js:458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc3880bf3be7b99c23a1c5b24cf9327a2dc9640e03c36f8c46a955c1efb0048"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/graphics/radix-sort/compute-radix-sort-multipass.js:494 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-multipass.js:514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9308a8edc0a1aa7303719439e80b7bc0fc242bdc9c7a9bd466ff509c2cb9d7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/scene/graphics/radix-sort/compute-radix-sort-multipass.js:524 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:526 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:653 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a1c8addfec9e7fefca8ec037e8ab5e902881580d1921538c68c3a202321f18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-params.js:109 \u00B7 src/scene/gsplat-unified/gsplat-params.js:124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4495ec43a7c095857a99ab43d7afc4e3982276f9bef95d72f7a7351a69e7d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/gsplat/gsplat-compressed-data.js:207 \u00B7 src/scene/gsplat/gsplat-compressed-data.js:236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1755298e04f819c693b1f639b20eb41efc7c74bb614e73ecb0d4d06b803731ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/lighting/light-slot-uniforms.js:319 \u00B7 src/scene/lighting/light-slot-uniforms.js:381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c6f211df070da48f61821309cc5a15a2848bee55ca14067fe04146dcf061bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/lighting/light-slot-uniforms.js:412 \u00B7 src/scene/renderer/renderer.js:837 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2f8788c5dcb4a7550b12a7b36ae2bee61228acdf3efc846b693903216f459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/scene/materials/standard-material.js:2207 \u00B7 src/scene/materials/standard-material.js:2231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb8a344655fb4083f113a67c751fdd123fe9297c1467f73643b249b1c62d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/scene/renderer/shadow-renderer.js:420 \u00B7 src/scene/renderer/shadow-renderer.js:436 \u00B7 src/scene/renderer/shadow-renderer.js:452 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac7d6c5be5ffe69ec0c2400625930db126305e7a53be5ab41c0b2d004dd9c24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): utils/esbuild-build-target.mjs:241 \u00B7 utils/esbuild-build-target.mjs:282 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/esbuild-build-target.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbbe2009318f7145954d09f628effdecca78ade47b4a7df5819e27401bb8eaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/esm/camera-controls.mjs:629 \u00B7 scripts/esm/camera-controls.mjs:649 \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":"scripts/esm/camera-controls.mjs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9671077bb13b4341653bbfca8d2cb8b59a74db3ef3c14f5b6821aa82f754273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/esm/camera-frame-effect.mjs:58 \u00B7 scripts/esm/lens-flare.mjs:423 \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":"scripts/esm/camera-frame-effect.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"604c4d1614a856433a0603f37db057e1e4d5a383bbd507ea48fb8c885b7c7d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/esm/camera-frame.mjs:284 \u00B7 src/extras/effects/grading/grading-effect.js:29 \u2014 the 2 copies are spread across 2 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":"scripts/esm/camera-frame.mjs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"403a9ea73591dfcb7ffe8e33ee31f6a1b56e9b950620c87e61f22376b83398ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/esm/parsers/obj-model.mjs:89 \u00B7 scripts/esm/parsers/obj-model.mjs:104 \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":"scripts/esm/parsers/obj-model.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2070c2de0198eb3870bc6ec5b2dec13187d4f24743cba6088c00680fdcfa1d4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/esm/water.mjs:1848 \u00B7 scripts/esm/water.mjs:1860 \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":"scripts/esm/water.mjs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"77108f5687ab25aafb14544ddde7885ce4df0f6f89a0faaeafbf01a235b25236"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/physics/render-physics.js:133 \u00B7 scripts/physics/render-physics.js:142 \u00B7 scripts/physics/render-physics.js:157 \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":"scripts/physics/render-physics.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb63fdb7c61d8cd44929969184f326378ec4ce3eaa08a38ab3363bea32f3a25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/physics/vehicle.js:270 \u00B7 scripts/physics/vehicle.js:279 \u00B7 scripts/physics/vehicle.js:288 \u00B7 scripts/physics/vehicle.js:297 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/physics/vehicle.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cd65df609fd49d6f8e831d0e1890a9bf350d60a09b299488577f860ff4f2c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/posteffects/posteffect-edgedetect.js:66 \u00B7 scripts/posteffects/posteffect-fxaa.js:86 \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":"scripts/posteffects/posteffect-edgedetect.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4471e2bc30718fd10c48f7df94040b790c622c441e4fb4493f2c302fe27af75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:767 \u00B7 scripts/spine/playcanvas-spine.4.3.js:776 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b77a6de90200f6e38b3063e65ff72286ea9c2ba7be8e4a22fa3aca3e5f00e99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:893 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7203 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7783 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9042 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48ca57b919874fd887b32be5a06ee6f6d5af7bbd3e96edd617a74e613101e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1600 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1609 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a6473101b4dea8ea9d1b639a8666564fd2571837646e67361b9e9ebe0d89fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1684 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9253 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964a314460408c9cdf5c1fdc7265e4aaf6966dde06af570f77e57234818d4ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2002 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3072 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949a4f464fc3acda3a069a797804f4157f6b97f3194739a7b9d5cff35a8d4dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:2563 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2642 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2778 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2899 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de9cc4a8b572468f314dba7bf9628a789597bc88a37cf4736e92068a827afae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2946 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3795 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0857e89aa110c90a9be3368f8b58a10ca2f2365296e91ce2298257e5504a56b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:3308 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3722 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3890 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4258 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce70c6dd33f56fe33b2b3cd4ac5356bfdc7c444dd0b32053557857b034bef5b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:5470 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5533 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bce1994579d813eda776dd69f525521b5cdcb40fd114f17dac44aa51dc62545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6175 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9026 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30adefd7580982c604d6ed986f07b18907ef3298fc528e00b1c84226f5ef0b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:6216 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7207 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7789 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9047 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b2e106bdf0727fdb5496572aec1995e94c515ae88f5faa4bf1586c499c700e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6273 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6309 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6273}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a834520c6f2f28a38197735d49de2281020f9f72ea30fee8cfdaf8803443f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6807 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8855 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6807}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5fc6d47591eaa7834a60f6d5bcfd12b9e4579df62825ee08efc385d4be755c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7680 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7692 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ffc51224e655b91c14114d8917b23b7db241804ea1e11e4a7bc2f57d7ef2c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:8085 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8787 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8803 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8085}}}],"partialFingerprints":{"codehealthFindingId/v1":"993ae2a48ac5163aee161be3b6b65598191f201d74b2c9047b06c1ff7eed1972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:9275 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9398 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9447 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9496 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9275}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d5e796a064c26fcc40087e452b3c86070d12ea79d0532ce5687e3081a6eadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9551 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12231 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba74716739f5e6cdedf0e6e2b0cd9cc2f7a40724921a590c62d780a96fd91c95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9647 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9751 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4828c650c5fba98e8e6c80ff5f22de36f402bdabddb8fb0927b690c6680783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10258 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10540 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aef4e388ad3786940433e4031e9de68662d2eeedaf8966045e0aa46d92c9b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:10411 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10420 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10567 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10576 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a81e57e816af6eab4b0caeb5d02f5a47083a7a9d8135942721368a719b6ed39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10707 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13437 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10707}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea905345f08d7c89dd8a8a4a6a4c349d507db74182789c21f16a1326734de9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11591 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11832 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11591}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff19bbe4fd4a86c96f8f29240f373cf72709db33ba128ee524cd0f1c1e9ec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12776 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12787 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6e54658278827e4038cea262bc815d8da8fada825107491bde00cb244c5ac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13035 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13044 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13035}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dee2bf8531c6890fe3cae5006268671c86be17cabee790d7e2b775abfee4c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:13080 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13118 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13184 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13080}}}],"partialFingerprints":{"codehealthFindingId/v1":"c449a885704bfb6494907b5cac640e65f24202bd6dabb4737829df879ba13bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13475 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13499 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9a74bf6beb9308ee81a98706449bff5d714ddee8094b8f378645dace105709"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:16067 \u00B7 scripts/spine/playcanvas-spine.4.3.js:16077 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":16067}}}],"partialFingerprints":{"codehealthFindingId/v1":"c224b734e1556efee42a6f5015e5ada238410f301de291802431e38d64eef600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/core/debug.js:91 \u00B7 src/core/debug.js:113 \u00B7 src/core/debug.js:135 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/debug.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"818c53430cf84766628464cdb3a41bd9c33acc2315e6789001253b092136c037"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/core/math/color.js:175 \u00B7 src/core/math/vec3.js:423 \u00B7 src/core/math/vec4.js:368 \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":"src/core/math/color.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2bd24a165ae78f39e6a9022d1c65e407e69327362337aa9d6a29ff130caabe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/core/math/mat3.js:233 \u00B7 src/core/math/mat4.js:1046 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat3.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5619db97eb12aecf107ae89beeef54262cb11b9e3bd1ac667df7968f18c29f19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/core/math/mat3.js:412 \u00B7 src/core/math/mat4.js:458 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat3.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf612bf38341c43d3411a2c37567109783bdf2a8d00a63ca5871ad52a7c761"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/core/math/mat4.js:539 \u00B7 src/core/math/mat4.js:1038 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b344291c03e4764f73fa3bafdb931b236a99a872a08a3dae22c50758556feec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/core/math/quat.js:307 \u00B7 src/core/math/vec4.js:340 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e12297f697b15edc2ef4f328e172b29e441308161a3095655be1086b81cd890"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extras/effects/color-enhance/color-enhance-effect.js:85 \u00B7 src/extras/effects/vignette/vignette-effect.js:94 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/color-enhance/color-enhance-effect.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e655f2de8e0f4ad3406a4c1191600cb53829058b42b86f49dcc36d397fe8b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/extras/effects/lens-flare/passes/render-pass-lens-flare-occlusion.js:51 \u00B7 src/extras/effects/taa/passes/render-pass-taa.js:118 \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":"src/extras/effects/lens-flare/passes/render-pass-lens-flare-occlusion.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aa54b973fffc9edb2435e82233ebe2cd1944ec656af87438e48cf3854b2762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/extras/effects/ssao/passes/render-pass-ssao.js:93 \u00B7 src/extras/effects/taa/passes/render-pass-taa.js:118 \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":"src/extras/effects/ssao/passes/render-pass-ssao.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5262c572304b87973be6501b7d9c902ec0d68d400b1d138a93ab70a0d435563a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extras/gizmo/overlay/overlay-renderer.js:681 \u00B7 src/extras/gizmo/overlay/overlay-renderer.js:846 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/overlay/overlay-renderer.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac0f3f0b0d6374eea27a3de5c9d8448ac773a6af6c17eb379be1c902df7daf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extras/input/sources/multi-touch-source.js:116 \u00B7 src/extras/input/sources/single-gesture-source.js:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/multi-touch-source.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0403f5cab3456fa4d149ae894f484587dc5a7545e26c784782c95489740d1abc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/extras/renderers/wire-renderer.js:315 \u00B7 src/scene/immediate/line-writer.js:179 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdf898ecf1afb0d01ac7d0f42dd99902a170c9bff3a4cbbadd9a7c5e19d5bf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/framework/components/camera/post-effect-queue.js:254 \u00B7 src/framework/components/particle-system/component.js:2125 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/post-effect-queue.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"769ab6dd0bc2ce2cf6de44a97d2f219f2c47ddcd5d86f164906a2b580f3c3a50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/components/element/component.js:723 \u00B7 src/framework/components/element/component.js:739 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a1dcd9210cb8d8c9026f31056f4f0b2a5aec9f15ecaff847aacce4d7edea29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/components/element/text-element.js:538 \u00B7 src/framework/components/element/text-element.js:591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"455b0b8459d57e20ca0597b8460c173ce257e160c62e64d2b1e641e72b8389f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/components/joint/component.js:182 \u00B7 src/framework/components/joint/component.js:211 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/joint/component.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ec5056f6fee11367da93d291ad610cbdf8d7ac7d05a9f9061df91d62aa6ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/framework/components/joint/system.js:54 \u00B7 src/framework/components/script/system.js:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/joint/system.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"59375c4c4eccf5034f0284284d9c68a4311443ba5ce870cf88be24f0261a196e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/components/light/component.js:1392 \u00B7 src/framework/components/light/component.js:1402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b348f19c611c4963f3b7cea6ebc0298c263fe1c795988d2f252d020af2fde2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/components/particle-system/component.js:1859 \u00B7 src/framework/components/particle-system/component.js:1876 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb3786b0d874632681d0a51e9b3ca8a0a01a7a6b9326653aa7bb13664a40492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/framework/components/sound/system.js:42 \u00B7 src/framework/components/sprite/system.js:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/system.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17231f25ddee0662680f08465fd2965aa396021ee0d700a8c6ab71d7db3eeec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/framework/handlers/json.js:14 \u00B7 src/framework/handlers/template.js:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/json.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"02835f911b774830787f41904dddfa38a5008e7cf14057f4d3c633a15a9344a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/parsers/glb-parser.js:1030 \u00B7 src/framework/parsers/glb-parser.js:1120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"38378cb801a79eef704932945b03d67e3562bbc18d517596c5bb2c834ddc3f11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/parsers/json-animation.js:49 \u00B7 src/framework/parsers/json-animation.js:88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json-animation.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"622f73d9afbfbd1121b90088be405c9cd121323a4895f932cf817205b16245f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/framework/parsers/json-model.js:155 \u00B7 src/scene/model.js:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json-model.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"341bdd409f41649df47c4bc196afe7f82b4bd8ed911f02ffc714ab77972a91b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/parsers/texture/dds.js:20 \u00B7 src/framework/parsers/texture/ktx.js:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51d5173a83b8362fd31bf271bd691a70a8866e40820924773bfa6736f0fcb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/framework/xr/xr-anchors.js:284 \u00B7 src/framework/xr/xr-anchors.js:338 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c848d76e0b1b459631ad2fe4d527996ce0e85666ae631571be1e1b29f1e36ee5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/bind-group.js:148 \u00B7 src/platform/graphics/bind-group.js:175 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52605ddf100f8dfcdbf3e7e85935132e058bf9eb9474b62c8fbe3876e9099ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/compute.js:278 \u00B7 src/platform/graphics/compute.js:324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/compute.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f15f184d339b1c7473dd9eddbabb6528bef09e5df0ee35fd5a147d455a42f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/render-pass.js:364 \u00B7 src/platform/graphics/render-pass.js:388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33854d99b65686f8d8577da8bc6014af2099e329e7e61f4fec648b41a23d9d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:373 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:788 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d05713cf5e7c93b0d12fc7e112f3c0deefeccfbeda8031761cce6c683b73f72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:455 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:1285 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94a44bc7198afbe702e8abbcbfd7b2383fa768bf81d8042661e72c7fb7691f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/platform/graphics/uniform-buffer.js:173 \u00B7 src/platform/graphics/uniform-buffer.js:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/uniform-buffer.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b264d40a2e391b3993efd1dcda34d3b0eccd0aa52678e69180d64915fd94c3ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/camera.js:1248 \u00B7 src/scene/camera.js:1279 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/camera.js"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cfc0daf6a40a1971b664c68f42702505ad8b4871596dcf2da9a58c1c902894"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/geometry/geometry-utils.js:14 \u00B7 src/scene/geometry/geometry-utils.js:87 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/geometry-utils.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a079e23ebb152d036f3f315a41612bf2e9a2857d0cfd871b042000b53d644a29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-hybrid-renderer.js:855 \u00B7 src/scene/gsplat-unified/gsplat-quad-renderer.js:335 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7a8a853c6e9e540b94141179c71c586691ca35e206fa0e3a7bcc06ec141313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/layer.js:717 \u00B7 src/scene/layer.js:768 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/layer.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e8703c7073002a8734b788c21b3ad733cabf64ac8d02ef920654fe4882d494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/materials/standard-material.js:1293 \u00B7 src/scene/materials/standard-material.js:1437 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19f66ededa6db86912cfeed2991f77259c1ce4334db5cbf95cc007fc9cd4789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/scene/materials/standard-material.js:2221 \u00B7 src/scene/materials/standard-material.js:2245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fdef61bc78edeaa0f7fd1ef6c0e3d90e78c9c38313f2caeccabfa2755e1534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/scene/particle-system/cpu-updater.js:205 \u00B7 src/scene/particle-system/cpu-updater.js:216 \u00B7 src/scene/particle-system/cpu-updater.js:227 \u00B7 src/scene/particle-system/cpu-updater.js:238 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4322c3ecb6247c2dd3262b09788648c6a86416a33d0318f0af8554c23b97df02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/animation/tween.js:139 \u00B7 scripts/animation/tween.js:180 \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":"scripts/animation/tween.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"683d4d2e063571b6d0cb2195419007d70aba5f223ba6919e84cc20efbdd5578c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 41 locations): scripts/esm/camera-controls.mjs:17 \u00B7 scripts/esm/gsplat/gsplat-mesh.mjs:1 \u00B7 scripts/esm/planar-renderer.mjs:25 \u00B7 scripts/esm/third-person-controller.mjs:24 \u00B7 \u002B37 more site(s) not listed \u2014 the 41 copies are spread across 35 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":"scripts/esm/camera-controls.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9a3c5569306928d101dab98e65a2684f2ad74a46fb2f1f24210769b7339b5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/esm/parsers/spz-parser.mjs:456 \u00B7 scripts/esm/parsers/spz-parser.mjs:522 \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":"scripts/esm/parsers/spz-parser.mjs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3733351dcbfd375dcdebd2133071e01e7d6b2e1376c3cf6a4fc9e98e948db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): scripts/esm/xr/xr-navigation.mjs:29 \u00B7 src/extras/gizmo/gizmo.js:26 \u00B7 src/extras/gizmo/mesh/mesh-line-batch.js:43 \u00B7 src/extras/gizmo/overlay/overlay-renderer.js:38 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-navigation.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"033fa9a50db490c7b1b96c723d08ea1795d929d8fa0edb02c5ec2910fb11a6f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): scripts/posteffects/posteffect-bloom.js:253 \u00B7 scripts/posteffects/posteffect-bokeh.js:119 \u00B7 scripts/posteffects/posteffect-brightnesscontrast.js:53 \u00B7 scripts/posteffects/posteffect-horizontaltiltshift.js:57 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 8 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":"scripts/posteffects/posteffect-bloom.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab277f8aec4ce7516b33f2e105aaee3b6e6a925efab4988c57c2dca04543b376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1260 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1558 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb678c63c4002296b90b5fda3c6032427822a7e2b5d496677cc4f093015a2e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:1278 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6743 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7893 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f435544fc0839d74cd6c134637a3b4ff20afe781e7e7f419a81d08e056d03ed5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1364 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1382 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba15e948d26d96a3aa6a8400cdba2b06026f0c93569b2f0754e380f66a38cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1408 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1552 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"0353b05d63a7fd232c4ba28b0ed8033d360227850bee0dfeccd88af5e14a32e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2322 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3788 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2322}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e8e8e1cf5932759444fd322a71bc96bf8ecd2a465110c3154effcb4cea4da4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3044 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3842 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3044}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdd176e7fea6166964b38be3cd1eff73fd98ecf6b5ff6ae09e60419fab3cfc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3272 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3286 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c851fe40e40dc7d42ab113566dc1e8e94093bf1fe8118d1de81823db070a6050"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:4761 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4770 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4761}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f89d6bc9674b6d3e26228a36c0c85655a1bef4ac471c7c86dd520e705f502f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6161 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9015 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6161}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b3a8b00840cdb0859fe181cb30cca3fd1c310c2aa455154722f9ac990fe1fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6360 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6461 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6360}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0d1017ab3aeafeff47a4db6bb5fd9566bd199f109c440119690a0c0e561888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7477 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7596 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e36109f356c288d6802eab4252c9835f66e9be8923452ac29b85879175ac3d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:7897 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10832 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13452 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7897}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca6676bf16337ec46895102e90048c88caeb810731cf2096d067f8d9e6e8a67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:8785 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8793 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8801 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8809 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8785}}}],"partialFingerprints":{"codehealthFindingId/v1":"7082ca941e51e815b13210f2dcd97f21923ecc39d0dd7c1c22dfddc7ec4099b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10456 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10500 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0161dde0a4df03f5aae57b27282ccd72e4f4283e208da8ee758a0fe375f27f85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10508 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10593 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10508}}}],"partialFingerprints":{"codehealthFindingId/v1":"911d4b66485fa80b54640524604ef3ab28abe69767d1757649c95da244f95bb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10564 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10597 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10564}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d278290c99937cee779e4b366e648313571869d1d67591c39efd64c1c2d64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10581 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10599 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10581}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47739dac1b7c85e1507aad92e7f7c987d7ef66cdfa94d0c48fd421d1f1a8fe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10878 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10900 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10878}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6e1873c2c76f58861892c8e3d24c0412bb036d7d24930e88798760dda9f9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11478 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11617 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3662af85960bdcec09c958e0017d01a8175d2b8787f2d3aadc5e6e485a2ed30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:11489 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11657 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11914 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11489}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b4f4671394dca00c6a998f4d911e6cba0911cec504834ec848cfb8eb4b552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11659 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11916 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11659}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b61e223980371961a37d1366680e8620ad6bb6518b29fa5a99fd683f948f4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12019 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12102 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12019}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4a73cb486e1fb2a94b51a5a69c17bbfc067889cf00451af548d4bbce5b525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): scripts/spine/playcanvas-spine.4.3.js:12277 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12538 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12546 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12554 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c68eb04fed8873ea5bf296efec4eef2e0f003776e15a6a52263f11da54fc5de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12853 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13011 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12853}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee033fbc0fe3572a3e1907ec93d0caeada9ea691498da3678f23422cc19f00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13137 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13197 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddfba9a1fa4d57bfb1c15fe0c5768a2ccb19d4344ab345cb8c25beb7deb10ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/core/event-handle.js:99 \u00B7 src/core/event-handler.js:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/event-handle.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"379accf4098aa2ad2e3efda83df916154dd4489b98ed95bda90356546f59b205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/core/math/mat3.js:354 \u00B7 src/core/math/mat4.js:861 \u00B7 src/scene/batching/batch-manager.js:759 \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":"src/core/math/mat3.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088b59e71dc0848748773ffcac6194b34944eac1dafafbe502b6ae8e8702d51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 22 locations): src/core/math/mat4.js:1 \u00B7 src/core/shape/oriented-box.js:2 \u00B7 src/extras/gizmo/handle/bounding-box-gizmo.js:1 \u00B7 src/extras/gizmo/handle/camera-gizmo.js:3 \u00B7 \u002B18 more site(s) not listed \u2014 the 22 copies are spread across 22 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09885a5a014828bdb95aced3d94099ef64faf1316e3ab40d4d4f8d423d6a70a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/core/math/vec2.js:341 \u00B7 src/core/math/vec3.js:377 \u00B7 src/core/math/vec4.js:321 \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":"src/core/math/vec2.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1fea574bb9bdd82e1e159db9c5cd3d73900b7075a824d524f4efd16acbe2b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/core/tags-cache.js:127 \u00B7 src/core/tags-cache.js:142 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags-cache.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74d59b83db2924983ce7d66250e6efc7a72df968de2968e902d6c71baa25da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/deprecated/deprecated.js:308 \u00B7 src/scene/graphics/post-effect.js:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/deprecated/deprecated.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff031559dae6f5b9d5e01c879cd131a6699e3be6cededd36d83d57270e4f81f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js:156 \u00B7 src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog.js:93 \u00B7 src/scene/lighting/light-slot-uniforms.js:82 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a5ab63e9c39304210a9037014ce3594afaa9e1e81523f04a296fe512f2226"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/extras/gizmo/shape/arrow-shape.js:5 \u00B7 src/extras/gizmo/shape/boxline-shape.js:5 \u00B7 src/extras/gizmo/shape/tri-data.js:2 \u00B7 src/platform/graphics/graphics-device.js:29 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/arrow-shape.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7be1e100d2e4655b723e2c7e36c3fff01d3cadc96442da8d889d30a33a561a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/extras/gizmo/transform/transform-gizmo.js:44 \u00B7 src/extras/gizmo/transform/translate-gizmo.js:16 \u2014 the 2 copies are spread across 2 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":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"296098eca8e9ca1aa6d9737755e4b9564c065b5e958106ca646dcabaed69100a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/anim/binder/default-anim-binder.js:19 \u00B7 src/framework/components/anim/component-binder.js:346 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/binder/default-anim-binder.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a6df0a9818ed4f8371a81be9f63b4f47d734585c3b2b0d8cea8e35c8e2233e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/framework/asset/asset-localized.js:154 \u00B7 src/framework/components/element/image-element.js:698 \u00B7 src/framework/components/element/image-element.js:733 \u00B7 src/framework/components/element/image-element.js:774 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-localized.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c17f9e9bf5724fa8f9902a09b1ff89c452041a8cbac37716519623087eafb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/animation/system.js:105 \u00B7 src/framework/components/sprite/system.js:255 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/system.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2ed24254041d6852f17c96065e2f4c2554eb92eff042d6bbf55ffc6916f86f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/camera/component.js:1435 \u00B7 src/framework/components/camera/component.js:1446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727496357a1e63389598557984f36f0898a35fd3d536c962efe051eb187d3f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/framework/components/element/image-element.js:747 \u00B7 src/framework/components/particle-system/component.js:1960 \u00B7 src/framework/components/particle-system/component.js:1996 \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":"src/framework/components/element/image-element.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc428c26a03218816dedcb2647c4e6ad961049d1565e03760d2806a3199dac93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/element/image-element.js:783 \u00B7 src/framework/components/particle-system/component.js:2066 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a83c53603d7d340f4b09dfa1fe4d06111fa4f47b022c0159fcbd4ccb9c062cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/element/image-element.js:826 \u00B7 src/framework/components/element/image-element.js:836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25328212b60da226bf8914b562105d108cbbe44f3fbc3375e35e6b79283d8e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/element/text-element.js:457 \u00B7 src/framework/components/element/text-element.js:465 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cee6fd1ef7019ea1fe9c37284d8dcadc84560276b24d0372b117ec910de221e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/element/text-element.js:1295 \u00B7 src/framework/components/element/text-element.js:1305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788a945ba6de7d86e9dce2f2c6f1658d644a2cb47c4bd36d5d93e4f218e9624"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/element/text-element.js:1313 \u00B7 src/framework/components/element/text-element.js:1339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffb6b900b8de3de177ab672610890420293e407fd754ed8ca3cd64ebad95b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:1011 \u00B7 src/framework/components/render/component.js:1144 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511898fd349942d58e07e332750db262f310cd57c8ade45105b32d48abde8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/screen/system.js:63 \u00B7 src/framework/components/screen/system.js:71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/screen/system.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f501d9c4cc5df54db346e3b657e342c685abb281820aca8e6b50603f3ae8b2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/components/scroll-view/component.js:848 \u00B7 src/framework/components/scroll-view/component.js:857 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a0ed5acb7a0d6bcf990fef43dbcbf6d160520c532e1894dfe423afda79a355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/framework/handlers/font.js:59 \u00B7 src/framework/handlers/handler.js:216 \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":"src/framework/handlers/font.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d53c91ee1cd2629245fa4b722051fbcd4d6f2e16c89eee2fbe2b9df2664c349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/framework/handlers/handler.js:216 \u00B7 src/framework/handlers/texture-atlas.js:106 \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":"src/framework/handlers/handler.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9556e462e05ab49d76f669272fb949ecbffb47681f84f7b3918e7682ebd3dfd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/handlers/texture-atlas.js:301 \u00B7 src/framework/handlers/texture-atlas.js:321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture-atlas.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86f94eb2b1851d35355522ecfcb5f0d51ab3ed0ae19b389b1d50dc171940342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/input/element-input.js:1052 \u00B7 src/framework/input/element-input.js:1086 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b492b933a413b4c5d5023ac77b100ccda59bf3e1b46101d7095a20d44dcf500"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/input/element-input.js:1167 \u00B7 src/framework/input/element-input.js:1178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37c6dc1f58ad6648781b92e0d899bcb67ae12e67ac897f2915d562b7daa02c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/framework/parsers/glb/extensions/khr-materials-pbr-specular-glossiness.js:27 \u00B7 src/framework/parsers/glb/extensions/khr-materials-sheen.js:7 \u00B7 src/framework/parsers/glb/extensions/khr-materials-specular.js:14 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-materials-pbr-specular-glossiness.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecad8e4a066afe84ea7e2b4961fcc38cd4296bfce1ba8006336058ebe752d59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/parsers/glb/gltf-accessor.js:56 \u00B7 src/scene/mesh.js:572 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/gltf-accessor.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d068a445bdc92cca744a94324ef7cab7e9dacace5939d5381032e3a8bb9df74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/physics/ammo/ammo-physics-body.js:150 \u00B7 src/framework/physics/ammo/ammo-physics-body.js:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-body.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b62d32e3754f7614d32d43616437d480be2448ae83979251a5db70640cfd78c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/framework/physics/ammo/ammo-physics-world.js:570 \u00B7 src/framework/physics/ammo/ammo-physics-world.js:603 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-world.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4493da7a4dcea9502579658525f8dfd228703954ac3a12ecbbd7ca1bce72074d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:417 \u00B7 src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js:1155 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3578ee55796f4cc599cde900edb4eb94375d9dc3c95e1e61829f6bc58ea9c953"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/graphics/shader-processor-glsl.js:522 \u00B7 src/platform/graphics/webgl/webgl-shader-processor-glsl.js:97 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7fabcce17d137c6a65841b1a2ed17ec96ee89e019d19a6d5d43df6915673a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/graphics/texture.js:1136 \u00B7 src/platform/graphics/texture.js:1149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb061d6c6d263b078342fd6efaa5c1a3a79b2e54daa499bddb8caab760b0a0ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-render-target.js:197 \u00B7 src/platform/graphics/webgl/webgl-render-target.js:217 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb031e58697b4e83ed11f39a838a8483b0f287faf9467174d1a6fcbe23b8c4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-shader.js:350 \u00B7 src/platform/graphics/webgl/webgl-shader.js:371 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a104939c5495ce1447cc77ad76ba5c5b8c9741d348d4a9da8c85b5137323bcf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-graphics-device.js:1444 \u00B7 src/platform/graphics/webgpu/webgpu-graphics-device.js:1784 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b32df8189c1fe63b4753c88e9548f28b51621e19d06485f5f3559731b1f39af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/input/mouse.js:185 \u00B7 src/platform/input/mouse.js:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/mouse.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9969a177c9cd2741907caaa27064f523a3afbcd9592ca837b27bf9b1e184ac8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/platform/sound/instance3d.js:107 \u00B7 src/platform/sound/listener.js:53 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance3d.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcb36af174a1b3cf05e63a0e61182e80909cdc206e93334c643283828441e72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/batching/batch.js:75 \u00B7 src/scene/batching/batch.js:84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"425f3400e2f4528ea4291e3e215de83771830096ee333de2650a0221b41fb210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/composition/layer-composition.js:511 \u00B7 src/scene/composition/layer-composition.js:578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7195f69700cf9dd37202df817f3052c1d15732e9a01b016a1302d05f7a1fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/scene/geometry/cone-base-geometry.js:130 \u00B7 src/scene/geometry/cone-base-geometry.js:176 \u00B7 src/scene/geometry/sphere-geometry.js:97 \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":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0820a42ddc61ee62370170d641bb445f33eb7a67f6e95ce6306474fb2153af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/gsplat/gsplat-data.js:208 \u00B7 src/scene/gsplat/gsplat-data.js:322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-data.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8dacc6ea26cdc8ada11284f04027fb430944589f080cb57c5ebc6a33a3cc53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/gsplat/gsplat-sog-data.js:118 \u00B7 src/scene/gsplat/gsplat-sog-data.js: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":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df23d99080b53af7cdf11edd504df936f57e6fe6bc0d2201e32453c237e55d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/scene/gsplat/gsplat-sog-data.js:283 \u00B7 src/scene/gsplat/gsplat-sog-data.js:310 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a4e013116653513235b40bd42e6f77ea38fe09ae5dbf20eaf8fcb55713579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/scene/gsplat/gsplat-streams.js:97 \u00B7 src/scene/gsplat/gsplat-streams.js:157 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-streams.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a43d82409e2053f8109b6a93ebb51cdfd8bfb8e162d72f9d6fe28344c7d22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/immediate/immediate-batch.js:167 \u00B7 src/scene/immediate/immediate-batch.js:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/immediate/immediate-batch.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad30f9328902f6be48d7cf0f7f71300e3a4f6ab7b44e99f6d4f53c9ed5c2b47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/materials/standard-material-options-builder.js:132 \u00B7 src/scene/shader-lib/programs/standard.js:164 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c3235f2903a9d350d37c3796ceb26297c6a31696b63627dd2ec99e16b2642"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/scene/particle-system/particle-emitter.js:139 \u00B7 src/scene/particle-system/particle-emitter.js:163 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0318ba8754656ffccbcd109e48141bef8946edc71e82f7c6237f268d6759401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/camera/orbit-camera.js:298 \u00B7 scripts/camera/orbit-camera.js:306 \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":"scripts/camera/orbit-camera.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4636feb91805fc9c9db65c9403ed800ce1e2e3a352c08a8dec9fba66f23f1bd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-lines.mjs:423 \u00B7 src/scene/particle-system/particle-emitter.js:504 \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":"scripts/esm/gsplat/gsplat-lines.mjs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"246941b9c97a4432dc356e56a00ca072d58a6b536ea8a5975fc0f0de25d9f447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): scripts/esm/gsplat/reveal-radial.mjs:383 \u00B7 scripts/esm/gsplat/shader-effect-box.mjs:378 \u00B7 scripts/esm/gsplat/shader-effect-crop.mjs:156 \u00B7 scripts/esm/gsplat/shader-effect-dissolve.mjs:373 \u00B7 \u002B1 more site(s) not listed \u2014 the 4 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":"scripts/esm/gsplat/reveal-radial.mjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"3151022360cbc78c21eb1e5591c1c9b9a2727852541731e958d1e5df4cc0af9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/esm/vat/vat-characters.mjs:550 \u00B7 scripts/esm/vat/vat-characters.mjs:564 \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":"scripts/esm/vat/vat-characters.mjs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37b9fd0a934b6be16e5e1494c99385e5f74eeddbb47d3898bcbc88b708db7ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/esm/xr/xr-session.mjs:135 \u00B7 scripts/esm/xr/xr-session.mjs:157 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-session.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f3b33fadea119c48fb8ba52e97ac5fecbb851d0104cd7e8fc55bf0063b87d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): scripts/posteffects/posteffect-bloom.js:281 \u00B7 scripts/posteffects/posteffect-bokeh.js:148 \u00B7 scripts/posteffects/posteffect-brightnesscontrast.js:75 \u00B7 scripts/posteffects/posteffect-edgedetect.js:97 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/posteffects/posteffect-bloom.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dafe1e1f4217b772b77ea31ebb791d7cdea44b9dafce50bfd88fdf64f339c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/posteffects/posteffect-ssao.js:418 \u00B7 src/extras/effects/ssao/passes/render-pass-ssao.js:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"scripts/posteffects/posteffect-ssao.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fae24b3735c273f7508a7a13953773c66d79b05cfde3a83dce06601269cdb0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:514 \u00B7 scripts/spine/playcanvas-spine.4.3.js:521 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a30ed94ab7324c5a613140c17cd390c93907a0fb84e18f8bd10fdd0d3e13902"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): scripts/spine/playcanvas-spine.4.3.js:2507 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3028 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3653 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3753 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e2295695be830abe6553eb92966ee6f64602372f82d2a25a23eff757ee3643"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:2544 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2624 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2756 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2878 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d1c76c4ea6830d54df1b5875ea54ddc7729851e08849420a3dfb3a3da88ccf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2956 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3805 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc0124705df8f837dcf0f24bba03844958cd7fffe3d471659ef7ddb3ee845eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:3746 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11498 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11941 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3746}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0cafbf685b1ca3032fb18460a5ccb928f3c08be99e1dd934d52717139dc84e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:3880 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4248 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"9260b722b86a65a3b8ad43bd966659d26059b8c894280817a0b139b85df0a72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:4690 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4729 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4738 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d33eee53f54e7cb9d2c0cc6d3e67676e450272c94b642ca35553f735b02e34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:4721 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4729 \u00B7 scripts/spine/playcanvas-spine.4.3.js:4738 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4721}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2655961c85af8cfdee5bde13b7ba47fee5d46f5fc560680d9735d1e2a21c5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:5140 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5147 \u00B7 scripts/spine/playcanvas-spine.4.3.js:5168 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b1a142034c04c468b2f4ca7dd973b989115d04be667386b06c33a234d4b3af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): scripts/spine/playcanvas-spine.4.3.js:6706 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6851 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7272 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7850 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6706}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee007307604c0ed4fbc199786195b2cc76c52c10a39f65a328efa178aa46f45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:8063 \u00B7 scripts/spine/playcanvas-spine.4.3.js:8070 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8063}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f4b0aeef2309ba6d1f06888eb9660ec38b95a143b1eab45fbf5535d35b5630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:8233 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11036 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7a432ab863075f16f3fa714c65bd44af0e886046cf7fa1ff09b14f3a0ec247"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9582 \u00B7 scripts/spine/playcanvas-spine.4.3.js:9914 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf452c1e5b700d7b1b3d4332f84e42d831eb6d130845f5b3b0ee5a859ca637"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10433 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10461 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0d1fc9c1d32b5afb3271f0d88c7649d8b174339da0cb05f2389881ba440179"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11192 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11254 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a64a0271d82378ab27a0a860c500e95640dc29eb3f49b227022908e48e5a0fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11843 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11850 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11843}}}],"partialFingerprints":{"codehealthFindingId/v1":"622ed43c16b60da43a9f80550e00fb70c40bef0cac548d0098c2759424102ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12094 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12105 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12094}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cee0392af6668b3f059cc6bd4798a632ec37d7e2bfb4016d4df0a664a75d01c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12705 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12734 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8058aaa8b501f9d944b59c5dd08cdb604f0ea376a7dd165c39d1e848851520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13110 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13124 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef80dea63b88e0890d7f4587c74dfbe6472567da85d88187074a54c49596523"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13384 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13401 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6a86f22b3a65b23ffd6476e88128146cf8ab51b1eb787235f0a71022517308"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:15433 \u00B7 scripts/spine/playcanvas-spine.4.3.js:15546 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6a835d4528f2d055f9253ea1cb1608980295d20732e4d9d0fd76f214ec576c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:2774 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2896 \u00B7 src/platform/graphics/webgpu/webgpu-draw-commands.js:69 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1816f8b15be63092a6981a3e36afd019d5cc3aa326af8fd55d25fc7c9a11d0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/utils/cubemap-renderer.js:143 \u00B7 scripts/utils/planar-renderer.js:71 \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":"scripts/utils/cubemap-renderer.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff066e4029b1be19f7be66023f1b35cd35ebaee8943c5a5e5b620da3168e578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/core/math/mat4.js:280 \u00B7 src/core/math/mat4.js:289 \u00B7 src/core/math/mat4.js:298 \u00B7 src/core/math/mat4.js:307 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe5c28da2a22a810af390a88d5511bc701428aa69bc43a5fa3967c23daa3984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/core/math/mat4.js:359 \u00B7 src/core/math/mat4.js:367 \u00B7 src/core/math/mat4.js:375 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c59c0c7306e06f341d2113caa3a7019eea3be91293756a4ce6a48c7b85f639"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/core/math/vec2.js:576 \u00B7 src/core/math/vec3.js:568 \u00B7 src/core/math/vec4.js:519 \u00B7 src/core/math/vec4.js:537 \u2014 the 4 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":"src/core/math/vec2.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"50968e2eeb4020093f4eabefd064906fb94f5ac4f458795b54cbab778e141084"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/core/shape/bounding-box.js:193 \u00B7 src/core/shape/bounding-box.js:200 \u00B7 src/core/shape/bounding-box.js:207 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/shape/bounding-box.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7fb8f2924fc142ca0281a25b6c8cc102a7a3ccf809c102e5ea11ab476a9742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/extras/effects/auto-exposure/auto-exposure-effect.js:401 \u00B7 src/extras/effects/auto-exposure/auto-exposure-metering.js:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/auto-exposure/auto-exposure-effect.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d446a4503253dc0dc370a3e3d51e42529c8310f314d39e317446a2134a0641"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js:277 \u00B7 src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js:293 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9401d8488dbf1057454362eefe3b51f71e4f99737464f524027cbd04333fd84b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extras/exporters/gltf-exporter.js:911 \u00B7 src/extras/exporters/gltf-exporter.js:949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"548fe9a3571eef38736587f6fd5de78e463ff3796362162fdbe17c6e6d975dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extras/gizmo/gizmo.js:334 \u00B7 src/extras/gizmo/gizmo.js:866 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/gizmo.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469966b17ed58a337c1d978d8536187ed79cec02e3d261587bdf8ad32be8377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/extras/gizmo/handle/camera-gizmo.js:17 \u00B7 src/extras/gizmo/handle/capsule-gizmo.js:20 \u00B7 src/extras/gizmo/handle/cylinder-gizmo.js:15 \u00B7 src/extras/renderers/wire-renderer.js:21 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/camera-gizmo.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e3c63103488eee4b2aca0b5322bc095632ec520c551b8284eac16cd2efafe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extras/gizmo/transform/rotate-gizmo.js:811 \u00B7 src/extras/gizmo/transform/rotate-gizmo.js:821 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"25433d9fffed51cf08c9828aa4b31ada2691eb91a888b6fd83516cc90572f52d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/extras/renderers/wire-renderer.js:201 \u00B7 src/extras/renderers/wire-renderer.js:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c3590983b4e705ab391ad0addb36a8d3ab990818e0c30c216753a403b77156"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/anim/evaluator/anim-evaluator.js:70 \u00B7 src/framework/anim/evaluator/anim-evaluator.js:138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca8f03fa6feb217fe42c2ddcabdcd29b93dd11c81060dae4668bb74c8210468"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/asset/asset-registry.js:472 \u00B7 src/framework/asset/asset-registry.js:504 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cae2d0144e2442a95b4cf376d933587aa7b504e8faf5cef7bf3afbdda717926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/camera/system.js:113 \u00B7 src/framework/components/camera/system.js:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/system.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dc9a2e0f98dbb8d7748f6cbb2004afbfa6854647d5c614fe070233a207187c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/framework/components/element/component.js:2709 \u00B7 src/framework/components/particle-system/component.js:2252 \u00B7 src/framework/components/render/component.js:1060 \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":"src/framework/components/element/component.js"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"094a3c0a14fd7e791e9bdcfdaba6acae952e00797cd19b8d550be63993bc57e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/element/image-element.js:360 \u00B7 src/framework/components/element/text-element.js:282 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3077c3601f33be1502bc45f9448121863ed17b9da7b28f411bb5079cbdf568"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/element/image-element.js:865 \u00B7 src/framework/components/element/image-element.js:1297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c8f96c35257da8fb4b428c66e100ebddec11ab9efa435943995edd6ae7ed03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/element/system.js:215 \u00B7 src/framework/components/sprite/system.js:161 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152d1522facd6cf66035e6c52bdf8e0cdd748e41740f6b38e7f85f98ca0e0c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:776 \u00B7 src/framework/components/gsplat/component.js:802 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef1dc7c0fa0580c2c3378d3cd81a7be074d5ce0f5f1571ab7bf820a38ca3363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/gsplat/component.js:892 \u00B7 src/framework/components/sprite/component.js:761 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"247d330a1bf0b8c757266a0446eecd9d44be186cbb3fd3b93e5204b608721648"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/layout-group/layout-calculator.js:185 \u00B7 src/framework/components/layout-group/layout-calculator.js:227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"130751ef63a7c3299f8afd98fd5b25d5e80f8d98effdced221f73f4b9414f1b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/particle-system/component.js:1896 \u00B7 src/framework/components/particle-system/component.js:1906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3437112ab75c72aa9198afd918e26ab8cbfe56fa1bbf179a5c42113c7a3927f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/particle-system/component.js:1940 \u00B7 src/framework/i18n/i18n.js:411 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"6533746e96c050f87961d7bf5233dbb16cf03da060e8898bd6c9354e191b6f77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/sprite/component.js:843 \u00B7 src/framework/components/sprite/component.js:859 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ea40be9836c2b8bb2d06dcd39f4af240bf54e1098e25465ff85f661f7db130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/components/sprite/sprite-animation-clip.js:223 \u00B7 src/framework/components/sprite/sprite-animation-clip.js:234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/sprite-animation-clip.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03c5c78197aacba386c00ecec0a10ab307ce7690e70490d08134206c7534eae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/handlers/untar.js:67 \u00B7 src/framework/handlers/untar.js:96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/untar.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bda500a18a2ae156493ea91b0be1cb2cbee6154fbb00bbe600da600ab7c122c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/input/element-input.js:638 \u00B7 src/framework/input/element-input.js:713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f303003851d5d15119b0625ae448911945e7bdf387c250aa57f7f16edd24a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/input/element-input.js:815 \u00B7 src/framework/input/element-input.js:823 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7cfaf6a3d65a008d8aacc51a17a92f60d60a710fbe92735851cf1bd4ef8fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/parsers/glb-animation.js:11 \u00B7 src/framework/parsers/glb-model.js:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-animation.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"869f8ab63c65adc3e685f28819151762c414dc72aa65b0c119fd4994b741b93f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/parsers/glb-parser.js:1361 \u00B7 src/framework/parsers/glb-parser.js:1577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8821aee471c197ecd5579edad23bd629bcaff8a7ba8e176169aa9ce1841e5c53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/framework/parsers/json-model.js:113 \u00B7 src/framework/parsers/json-model.js:407 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json-model.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"804e79b28359e0d1c1fc24e05479f62bf1b54759e174bd0e9346336c95bef06a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/platform/graphics/graphics-device.js:1298 \u00B7 src/platform/graphics/graphics-device.js:1315 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf53f15aedfc4f3f5144db7d069ab7fef004aed53b660752728b1dd20f788e50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-texture.js:640 \u00B7 src/platform/graphics/webgl/webgl-texture.js:653 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7fad18e6adab0bc6066bc017e07085c446171d5605742e3ece682089d6bd9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/batching/batch-manager.js:772 \u00B7 src/scene/batching/batch-manager.js:790 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b607d9259503292b69f6717db25b03873d8007a26994798d1db7e5bb8a512a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/scene/geometry/box-geometry.js:153 \u00B7 src/scene/geometry/plane-geometry.js:94 \u00B7 src/scene/geometry/rounded-box-geometry.js:221 \u00B7 src/scene/sprite.js:322 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/box-geometry.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b48ccb857f8a56b8bec41eb7a697388017061f128e6fc53209404e32ab5d3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/geometry/capsule-geometry.js:33 \u00B7 src/scene/geometry/cylinder-geometry.js:33 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/capsule-geometry.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbbb36d2d8761d685d1948d9058ea127005adf583e7657f570f456a8dd3e341"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:605 \u00B7 src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js:645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8f8f70a44079a0e50de477add3fc46f2cc5b5dc34623f32433e3076e39d987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-frustum-culler.js:120 \u00B7 src/scene/gsplat-unified/gsplat-interval-compaction.js:412 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-frustum-culler.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5e12f04bbdeca9aa05219303cc33144bdcd697bfb5d23bacf7b4246311e82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-placement.js:328 \u00B7 src/scene/gsplat-unified/gsplat-placement.js:361 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-placement.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"579ad63fb87014abc05bc9bb7d2339a13b3d101b4dfc56e8c72daec419295abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js:135 \u00B7 src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js:176 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46370918dd560bd6ad655cdc008168317c3e31f6998ebd91dc0cb4a8a13566b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-world.js:660 \u00B7 src/scene/gsplat-unified/gsplat-world.js:673 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ea5631a11f85b1614583b0c6c08f3e9362670617c59d7db952f9b458e9a6b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/scene/lighting/light-texture-atlas.js:284 \u00B7 src/scene/renderer/render-pass-cookie-renderer.js:196 \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":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f592cf14d0ef0e268e63c8846031f6ee4c98ab2c9edb551465de3a600fc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/particle-system/particle-emitter.js:156 \u00B7 src/scene/particle-system/particle-emitter.js:168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355cf8effdd87c4a012a50ce5d86346e6181962bafe7f15856127c5920f9a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/scene/particle-system/particle-emitter.js:713 \u00B7 src/scene/particle-system/particle-emitter.js:721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38daf1c3c3adb4b2f2018e80302a5449356a1b1e729a81e8416082915e912cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/esm/camera-controls.mjs:801 \u00B7 scripts/esm/camera-controls.mjs:809 \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":"scripts/esm/camera-controls.mjs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e670807bbe1164ef98ebbf4306095fb0eec5bddbcbd73e7a6d432fe04dafa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/esm/gsplat/shader-effect-dissolve.mjs:371 \u00B7 scripts/esm/gsplat/shader-effect-dissolve.mjs:410 \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":"scripts/esm/gsplat/shader-effect-dissolve.mjs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc8c4fd2fff46c58d2e1a062eab922771689e39fdcdbb6cd169a4adce9ca10a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/esm/gsplat/shader-effect-dissolve.mjs:410 \u00B7 src/framework/components/sprite/component.js:968 \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":"scripts/esm/gsplat/shader-effect-dissolve.mjs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fa9e89320b027a7cabaa0b8403ec7383c5dca216f7493c5d8e7a3dfd929877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/esm/xr/xr-controllers.mjs:102 \u00B7 scripts/esm/xr/xr-navigation.mjs:537 \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":"scripts/esm/xr/xr-controllers.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24278bbc76f756c550e82a0a6d58d1bc09f282a4867901f54e3931970e41bf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:1514 \u00B7 scripts/spine/playcanvas-spine.4.3.js:1524 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb766128195d4990ed7d2db27583484cd9437931ce79683796d6aa31add1ae94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2640 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2772 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c381a6254e5bbb18e25cd6579eb44b560822136ffc104d023e537b0748057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2728 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3030 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d612b683ce4b8cbcc590901fb47f5cfdd9b027be07c80ff2021a0d9f2ec74c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): scripts/spine/playcanvas-spine.4.3.js:5285 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7898 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10833 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13453 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e2daadab070866497842aea23447ff46ab4e8973c3366fbe4d8034bb0cc8a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:6297 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6341 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6374 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a58a10e08d6354cbfdb25c5484b0a8e07d1447b5c3ca579b681d41689dfd90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:6485 \u00B7 scripts/spine/playcanvas-spine.4.3.js:6505 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3fabc2459f8072dd6ebfa61f08d6a35bdcae657f5a7fb3bbc2928c4a5fa9b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9953 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10612 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9953}}}],"partialFingerprints":{"codehealthFindingId/v1":"de223dd6da135877a80202761c4924b0cd776c572883061f97fdb68fe92891e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10762 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10768 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10762}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a09fea55aedc2ad41ac555d3640495f2d71dd937219b3a1d3c55e265a466d06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:11753 \u00B7 scripts/spine/playcanvas-spine.4.3.js:11759 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11753}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7e35fe3a08fba546b83a3679cc48b2b41846a42337652132921e38e33edf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/spine/playcanvas-spine.4.3.js:12313 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12338 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12442 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35b2feb3ac1b2694e6cfcf26acd91ac3c75a79a938c22e2c7596965bdffdb5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:12355 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12363 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e56a94b4569d4ec064b155d15bae28ae1e9a56316c92a86215f6a6253406d14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13363 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13403 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13363}}}],"partialFingerprints":{"codehealthFindingId/v1":"47add28f2eedc741e65389798fad909625857abc02a135bc0e5c6da060f1a077"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/core/math/quat.js:618 \u00B7 src/core/math/quat.js:626 \u00B7 src/core/math/quat.js:633 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bb1ea90e646b8a1fe69c0e2a0acf3764859ef0832557a6fa1e36696845b9a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-combine.js:42 \u00B7 src/scene/renderer/forward-renderer.js:623 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-combine.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ba06852649ee388943ce448e8a1e1f7cb1e8824f5d541d9361b1ad23077ea2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/extras/gizmo/mesh/mesh-line-batch.js:249 \u00B7 src/extras/gizmo/mesh/mesh-line.js:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/mesh/mesh-line-batch.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda63b8458beacbcb5eaefcf560996738d6d5d5c068d395d20426c5b5e3f91c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/extras/gizmo/view-cube.js:143 \u00B7 src/extras/gizmo/view-cube.js:149 \u00B7 src/extras/gizmo/view-cube.js:155 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/view-cube.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c541d4980a98762a1bfc6259cf6ed17cf6fc79236b3fd4043a6d9c7b08460bf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/framework/anim/controller/anim-controller.js:731 \u00B7 src/framework/anim/controller/anim-controller.js:742 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b569b6e0bb2f3bf564fb00fc29dd7b332692dc77f92ae3e2ca676e2e55587736"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/framework/asset/asset-localized.js:71 \u00B7 src/framework/asset/asset-localized.js:113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-localized.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e59f3732904e62d64ad852dbdd03845e1529cec2a0e9e2090e9a1de0fa0116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/framework/asset/asset-registry.js:490 \u00B7 src/framework/asset/asset-registry.js:554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c51907af90adc9d332fe0897afc583b2bbf538995c9b22383ef05d67b111b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/framework/components/anim/component.js:562 \u00B7 src/framework/components/anim/component.js:581 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d92f03532cb5a58861690ef685c8b7b6674a73512e411b1980a176e9d40575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/framework/components/animation/component.js:497 \u00B7 src/framework/components/model/component.js:1109 \u00B7 src/framework/components/model/component.js:1183 \u00B7 src/framework/components/particle-system/component.js:1944 \u00B7 \u002B4 more site(s) not listed \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cdeaa268881513774414a2c71eeac4f10570445796b7741d779bba5c94f7ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/framework/components/element/system.js:108 \u00B7 src/framework/components/element/system.js:146 \u00B7 src/framework/components/screen/system.js:62 \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":"src/framework/components/element/system.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc72cf2d0b1d4d0927e0875fdd995fd084a27d4064073b59df81ceb4f4efb3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/framework/components/element/text-element.js:1203 \u00B7 src/framework/components/element/text-element.js:1292 \u00B7 src/framework/components/element/text-element.js:1322 \u00B7 src/framework/components/element/text-element.js:1349 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e4f720ca04e54b6b9f6f434f3e3a5d399c3819a4b0d575aa8ff30062894ee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/framework/components/element/text-element.js:99 \u00B7 src/scene/particle-system/particle-emitter.js:671 \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":"src/framework/components/element/text-element.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4125dc35742302043009c2c3386071781ce729fd09f80deed50f17e2a19d6858"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/framework/components/gsplat/component.js:226 \u00B7 src/framework/components/model/component.js:163 \u00B7 src/framework/components/model/component.js:1128 \u00B7 src/framework/components/model/component.js:1203 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b768e3a5122e571dd5c3855aa99a3dbe83a147c62a21f7a29c1e1241614a64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/framework/components/scroll-view/component.js:1223 \u00B7 src/framework/components/scroll-view/component.js:1231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fe0631ce6e07949ea14845edb872eeae0b301f1ab045ed21f7f47a9b4a5bb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/framework/parsers/draco-decoder.js:80 \u00B7 src/framework/parsers/draco-decoder.js:112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/draco-decoder.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62646171c9fd89dda88c58006abb013f1a18c5bad42889135b59acb858ef9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/platform/graphics/bind-group.js:301 \u00B7 src/platform/graphics/bind-group.js:308 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"7264baebcba778807e6a2519b430c4d2e5fade04484122144b473a6a8f142915"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/platform/graphics/uniform-buffer.js:57 \u00B7 src/platform/graphics/uniform-buffer.js:64 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/uniform-buffer.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a45b672bf45a2aed3deee8f21a2271945e94c0b00191d32e5ddf8f48837a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/platform/graphics/uniform-buffer.js:136 \u00B7 src/platform/graphics/uniform-buffer.js:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/uniform-buffer.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b927a7b2969f915f93982008e0822ccc1eb10733c73e8a9f6670c7bbfaea5c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/platform/graphics/webgl/webgl-render-target.js:278 \u00B7 src/platform/graphics/webgl/webgl-render-target.js:354 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2797a04ca10944c4c551662febe854f89ac4c1080a8c5d76cf4e2a3f0db2bc4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/platform/graphics/webgpu/webgpu-debug.js:75 \u00B7 src/platform/graphics/webgpu/webgpu-debug.js:105 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-debug.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9c9219c0e769bc80bb159982830171799cfd1e96406a5d684faa1730c13d49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/composition/layer-composition.js:748 \u00B7 src/scene/composition/layer-composition.js:756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cdca61e03652c4178a9a4031fca94d6b4d801fb795ce2086bdc9881d134535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/geometry/geometry-utils.js:28 \u00B7 src/scene/geometry/geometry-utils.js:53 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/geometry-utils.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c261a34abae099721d58352cf3cbcd051493987f28ade58cb3c8acf3b81c745d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/graphics/reproject-texture.js:99 \u00B7 src/scene/graphics/reproject-texture.js:116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a4c51d82be5649982f8475f328df6d61f568d94073839efe9712e005e05e5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-frustum-culler.js:169 \u00B7 src/scene/gsplat-unified/gsplat-interval-compaction.js:412 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-frustum-culler.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d937a4f7ac68c76837f64a989b952841d924253fec5b74dc373544432cbdefc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/scene/gsplat-unified/gsplat-frustum-culler.js:237 \u00B7 src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js:297 \u00B7 src/scene/renderer/renderer.js:604 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-frustum-culler.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dc29e96bd0ef6ee84982e864c98bdacc57e52c1c9dd49b2e4caa45e5e8b226"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/gsplat-unified/gsplat-projector.js:435 \u00B7 src/scene/gsplat-unified/gsplat-shadow-renderer.js:296 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba44da79051084627ed63f09de96bde4b26a4d8deb11ad6cd4d016586c42730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/scene/gsplat/gsplat-data.js:351 \u00B7 src/scene/gsplat/gsplat-resource.js:174 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-data.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"092909d4427963cf1f375cb36e93c95515882747889ec2b408ecb4f973c78300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/gsplat/gsplat-sort-worker.js:125 \u00B7 src/scene/gsplat/gsplat-sort-worker.js:234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b53683477a9213bf7b684f33538a9237ea58b7b4ebde5f9a117860683d9b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/layer.js:750 \u00B7 src/scene/renderer/culler.js:316 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/layer.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"540c13ebaa88b6e9d81829b3c78a05661d7233fd38671010c8456db406e565af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/lighting/light-slot-uniforms.js:474 \u00B7 src/scene/lighting/light-slot-uniforms.js:481 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9155de41ebfd17359a70b83cd187df2255fd991cae28676f1faca34cd919901b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/scene/lighting/world-clusters.js:256 \u00B7 src/scene/particle-system/gpu-updater.js:113 \u00B7 src/scene/particle-system/gpu-updater.js:126 \u00B7 src/scene/renderer/renderer.js:605 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/world-clusters.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee072f68ec486045f9822eca771013742ef8ee4d9b67e641ce5c072192c3dd35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/scene/materials/material.js:1559 \u00B7 src/scene/shader-lib/shader-chunk-map.js:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material.js"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7816bc4889517f877da865cc4b6c70be7300810e421dc5bf421d891f4a1b414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/materials/standard-material.js:73 \u00B7 src/scene/materials/standard-material.js:81 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfefea02c8972efb78e8951e2a75a80ccd34c7c15e3c3f737bbbff2495fd5c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/scene/particle-system/particle-emitter.js:191 \u00B7 src/scene/particle-system/particle-emitter.js:202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a32f128df367f3096691a271314814a2730bc1b8b4943893d466b18c4fa6fd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/camera/orbit-camera.js:435 \u00B7 scripts/camera/orbit-camera.js:572 \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":"scripts/camera/orbit-camera.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb9b377b57d48c0f8d02067519ff6d9863c209a0748fc05b411227544567ccd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/esm/anim/anim-update-optimizer.mjs:262 \u00B7 src/framework/lightmapper/lightmapper.js:475 \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":"scripts/esm/anim/anim-update-optimizer.mjs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7463fc4b7c66a473b4b65459cc29cc2f1efb771f441a7ac769d5be8ae2b35e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/esm/gsplat/gsplat-weather.mjs:356 \u00B7 src/extras/effects/dynamic-sky/dynamic-sky-noise.js:318 \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":"scripts/esm/gsplat/gsplat-weather.mjs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4884d22d6c7a4c6131e99c0c9dc3d630c506e0f8be9ea9224392705515b6fb5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/esm/vat/vat-converter.mjs:255 \u00B7 src/scene/geometry/geometry-utils.js: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":"scripts/esm/vat/vat-converter.mjs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eea877c6d3de02be30f9b674a7c1a626718f6dbd8cb5a2cd4cf5dbee94a33e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/posteffects/posteffect-bloom.js:235 \u00B7 scripts/posteffects/posteffect-bloom.js:243 \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":"scripts/posteffects/posteffect-bloom.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed68d9fae3f8c3434def952cf17937965d19c29649654482f6e0704b943d6a62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): scripts/posteffects/posteffect-outline.js:66 \u00B7 src/framework/components/element/image-element.js:556 \u00B7 src/framework/components/sprite/component.js:976 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/posteffects/posteffect-outline.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c4a6e2dd007d8dce64c165b5efb01451a3229fb5f1370e7a0c2d1f6d6d8944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2096 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2108 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"befabcc9e4d4d6d143a3fe30bcfed08449249401618ebd2b95dcee5d6ce2c7a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2857 \u00B7 scripts/spine/playcanvas-spine.4.3.js:2973 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ddc38d09e2e5a089306ede2f0adf20a5ee0e3c60cd35cd0162c591446c7ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:2875 \u00B7 scripts/spine/playcanvas-spine.4.3.js:3000 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05776b8237e38389400379343a4621aaffb0602001314f839e4ee2b3f8c823e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:7277 \u00B7 scripts/spine/playcanvas-spine.4.3.js:7855 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a284dcc03851f44ef9a74587432d0297a1d82823ab0a5c7b044bfcd29f2b8b58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:9893 \u00B7 scripts/spine/playcanvas-spine.4.3.js:12599 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9893}}}],"partialFingerprints":{"codehealthFindingId/v1":"7558a20b17749f9205306c5dd536db90a2283c090ce22a90cce629fe73e02756"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10001 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10116 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10001}}}],"partialFingerprints":{"codehealthFindingId/v1":"971e8be66cd9d6ed17e874d69c19aab1de8a88cfaaeeeb21046a52f73e707ba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10680 \u00B7 scripts/spine/playcanvas-spine.4.3.js:10690 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10680}}}],"partialFingerprints":{"codehealthFindingId/v1":"922748f18027eacb8523f6befd4354bca317411d086eb7d0c108e04a0ddd7480"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:10928 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13553 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10928}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e8ef5424518de82b9dc0f486649b3d6a632d2c35bc1d8e8352db8e7e509f26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13022 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13040 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13022}}}],"partialFingerprints":{"codehealthFindingId/v1":"792e704a2013dfa7ec1343b48e990f7b1f42db456692c11f6d71e9dad7a3d18a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/spine/playcanvas-spine.4.3.js:13130 \u00B7 scripts/spine/playcanvas-spine.4.3.js:13193 \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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9f63ae966c280957533076a2db1bd16676093573a6b9653c1a2fa09382ef6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12 locations): scripts/spine/playcanvas-spine.4.3.js:16172 \u00B7 src/framework/components/model/component.js:1108 \u00B7 src/framework/components/model/component.js:1127 \u00B7 src/framework/components/model/component.js:1202 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":16172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69de8813a689696006d9ca5fced272d6ee36e324c9a1bd5ad66fdcc187b283f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/core/math/math.js:256 \u00B7 src/core/math/math.js:282 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/math.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4766c52c13ce09a2bda2ec6b83f4f661188639bc1faccebbf216efae4e15393"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/extras/debug/world-clusters-debug.js:186 \u00B7 src/extras/debug/world-clusters-debug.js: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":"src/extras/debug/world-clusters-debug.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7448d992e79ebde45f47d2daa33422e2b5f20ca2c2aa8286043e65a6ca98a97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/extras/effects/dynamic-sky/dynamic-sky-noise.js:40 \u00B7 src/extras/effects/dynamic-sky/dynamic-sky-noise.js:276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-noise.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f17ed1390285f4b0017032b288082305dcdd27f4a3da9cb54450855479a33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/extras/exporters/core-exporter.js:81 \u00B7 src/extras/exporters/gltf-exporter.js:1046 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/core-exporter.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0f2d8d6ed753e6fe80587b5837ee8eaa9ffe37945c68898a4c03a3ebde73d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/extras/gizmo/handle/capsule-gizmo.js:227 \u00B7 src/extras/gizmo/handle/cone-gizmo.js:137 \u00B7 src/extras/gizmo/handle/cylinder-gizmo.js:149 \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":"src/extras/gizmo/handle/capsule-gizmo.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc09e504dfdec9e5c99fc416e808e34f7dc897653777a20ee18cd2496a8dc0f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/extras/gizmo/handle/light-gizmo.js:225 \u00B7 src/extras/gizmo/handle/light-gizmo.js:351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0e96d93ace2dcc7744924076af3f9a9c27a339a34de15da89930500a012a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): src/extras/input/sources/keyboard-mouse-source.js:157 \u00B7 src/extras/input/sources/multi-touch-source.js:54 \u00B7 src/framework/components/sound/slot.js:186 \u00B7 src/framework/input/element-input.js:379 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/keyboard-mouse-source.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f023a3a338ec49b8b468bb8329f442e5b544b814887838dae71c4de9b646b05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): src/extras/input/sources/keyboard-mouse-source.js:155 \u00B7 src/extras/input/sources/multi-touch-source.js:52 \u00B7 src/framework/components/sound/slot.js:186 \u00B7 src/framework/input/element-input.js:377 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/keyboard-mouse-source.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d5a3fd935f8938f2f19765bc78b2d83435ca455c0872c4defca04c86dc2b89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8 locations): src/extras/mini-stats/mini-stats.js:253 \u00B7 src/extras/renderers/texture-renderer.js:427 \u00B7 src/framework/components/element/image-element.js:337 \u00B7 src/framework/components/element/image-element.js:362 \u00B7 \u002B4 more site(s) not listed \u2014 the 7 copies are spread across 6 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbbec9b1d776731ca733c7359b8b1be84476306d32fb8c2f7f6cfe56ca2199e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/framework/components/anim/system.js:60 \u00B7 src/framework/components/joint/system.js:61 \u00B7 src/framework/components/script/system.js:82 \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":"src/framework/components/anim/system.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ebb6355ff2638bc054b893e3cf667a0c5552b31665cfc676798f1b8401951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/components/element/component.js:2233 \u00B7 src/framework/components/element/component.js:2286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9f302b269331756a044a9e85a6654732cff88d094ebf9be2e3cccabe0e3484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/framework/components/element/image-element.js:552 \u00B7 src/framework/components/element/image-element.js:557 \u00B7 src/framework/components/sprite/component.js:972 \u00B7 src/framework/components/sprite/component.js:977 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ddb7caef3efe7d495d29c7837983b16dc169e00ba8d0a6806f7e68eef1cacf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/components/element/image-element.js:667 \u00B7 src/framework/components/sprite/component.js:1045 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a5422aa633ea9c17b83ecbac1a473564f04bfb9b1694b920d5741dc5a5b251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/components/element/text-element.js:762 \u00B7 src/framework/components/element/text-element.js:1786 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a3a9bc3d63afc87f4fd35ed88073bfe26c160616497846ce62685ff3d6e718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/framework/components/light/component.js:1260 \u00B7 src/framework/components/particle-system/component.js:1802 \u00B7 src/framework/components/particle-system/component.js:1808 \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":"src/framework/components/light/component.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cfcc4d806d3d14c978b416b5175b9cc50f87c15581c8144a618fe8da7ca14f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/lightmapper/lightmap-filters.js:69 \u00B7 src/framework/lightmapper/lightmap-filters.js:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmap-filters.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e5da8ca468e35158cf84deb0f4305f00daeb9cff39e3cce88a9107b9b487f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/parsers/json-model.js:216 \u00B7 src/framework/parsers/json-model.js:371 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/json-model.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"581e7b0509bb85137c6eb908c778a27fe3a49103ff267a37d9cbb6fc3a52d791"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/framework/physics/ammo/ammo-physics-body.js:152 \u00B7 src/framework/physics/ammo/ammo-physics-body.js:207 \u00B7 src/framework/physics/ammo/ammo-physics-shape.js:25 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-body.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b465f75e7e64e1f6728d967d586909b7d9325772b75946182ddd2fd51f877718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/framework/physics/ammo/ammo-physics-world.js:584 \u00B7 src/framework/physics/ammo/ammo-physics-world.js:626 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-world.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"e312fb1ac28d3b00b602311269c5dd6b82de82171ffbb1f7d47c7581c05f3877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/platform/graphics/graphics-device.js:921 \u00B7 src/platform/graphics/graphics-device.js:926 \u00B7 src/platform/graphics/graphics-device.js:931 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"438dea9cd6995aa0351d8cc36ce290673a302f81650d8221042174668aa06db3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/platform/graphics/graphics-device.js:936 \u00B7 src/scene/shader-lib/programs/particle.js:29 \u00B7 src/scene/shader-lib/programs/particle.js:37 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9843f3f4e84ecd3cc2e732efbbeb5c79946efa4db5a881a2320718ce1040301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/platform/graphics/storage-buffer.js:123 \u00B7 src/platform/graphics/storage-buffer.js:137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/storage-buffer.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea869f2be0acc0b10412f67377b2398424a471a1f2bf075278cd59ad421280d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/platform/graphics/vertex-iterator.js:37 \u00B7 src/platform/graphics/vertex-iterator.js:43 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"218a9a8d0bf6bbec0ce7c33e55137cb30f48b4d53efed7bf08a605e726397ba2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/platform/graphics/vertex-iterator.js:59 \u00B7 src/platform/graphics/vertex-iterator.js:65 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-iterator.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0749e64a31dfd45be8777220f96e843faa9158b73ce4ad30d17abad6f94567a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scene/geometry/cone-base-geometry.js:70 \u00B7 src/scene/geometry/torus-geometry.js:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f358fc0864e7a6c0d4d20232fff05f57519386a439eab46dea02247e12aea694"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scene/graphics/prefix-sum-kernel.js:287 \u00B7 src/scene/graphics/prefix-sum-kernel.js:300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/prefix-sum-kernel.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"557496001b82940aa1380a7e3dfeb86f05f3331556cc211a052e7df7446ce0ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scene/graphics/reproject-texture.js:170 \u00B7 src/scene/graphics/reproject-texture.js:269 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c24cbf50c5bdc40ef4f0be203f3e20afd9f948e39fea1885f295388fe0f4725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scene/gsplat/gsplat-compressed-data.js:43 \u00B7 src/scene/gsplat/gsplat-sog-data.js:116 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebdaef32ae3045494b0891d6a896a993bc3edb1fb07cd0a279cce7e05eb7221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/scene/gsplat/gsplat-container.js:207 \u00B7 src/scene/gsplat/gsplat-resource-base.js:391 \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":"src/scene/gsplat/gsplat-container.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94f915a0c5577623b3277018e45715ec4e64e2b90a34f90e7fc9ed9b25836e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/scene/lighting/light-slot-uniforms.js:57 \u00B7 src/scene/lighting/light-slot-uniforms.js:63 \u00B7 src/scene/lighting/light-slot-uniforms.js:68 \u00B7 src/scene/lighting/light-slot-uniforms.js:74 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a41df2cbe4f7290ddf368c0aa275d1e773df5f5b4a96a2c3e6ef0fae67f0db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/scene/materials/standard-material-options-builder.js:64 \u00B7 src/scene/materials/standard-material-options-builder.js:70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"032d967fbfb3a1755f0eca6e149930b22ab96ff47b88b0f9302a0d818cabfc22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/scene/renderer/render-pass-forward.js:419 \u00B7 src/scene/renderer/render-pass-forward.js:483 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"879cb0b15e3a98114cf40150b5101777dfeb596a6f3bfaebb5c6f6a30e76b2a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/scene/shader-lib/programs/lit.js:48 \u00B7 src/scene/shader-lib/programs/standard.js:492 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"25def8ba80cbebd8023476e61af25618c98dc6fecd396f49985ce09fa96a0438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAnimation (cyclomatic 132, cognitive 418): readAnimation has cyclomatic complexity 132 and cognitive complexity 418; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12850}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc1a0d00a3eb28e9614443bcf77ff22f689a37d39e2d4d8e128fe5202b93c76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAnimation (cyclomatic 118, cognitive 291): readAnimation has cyclomatic complexity 118 and cognitive complexity 291; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":10183}}}],"partialFingerprints":{"codehealthFindingId/v1":"29261d174fe298b749b082efc19353580f8d4b148ef1b9f45a8a4b35cde4aa00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkeletonData (cyclomatic 106, cognitive 220): readSkeletonData has cyclomatic complexity 106 and cognitive complexity 220; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9557}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebc7c9c2f4b645e4fce77b8d9876c74de75957c7881970fe79901db9a25c22a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkeletonData (cyclomatic 101, cognitive 290): readSkeletonData has cyclomatic complexity 101 and cognitive complexity 290; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e295676d27478b73255d9171473b97a338340b2d27bffcf918acf1d79200f63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 85, cognitive 130): initializeComponentData has cyclomatic complexity 85 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a1e7fc15e18bdabbd4ab466be901c006e0cb9a80aca7162432c63ce2d75c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateMeshes (cyclomatic 84, cognitive 223): _updateMeshes has cyclomatic complexity 84 and cognitive complexity 223; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c6c4bf34ae8f1250cac69f55b4ae0a4b35f50c9d9fc5a1c0c6553f28f88898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upload (cyclomatic 80, cognitive 212): upload has cyclomatic complexity 80 and cognitive complexity 212; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad8955102a47d5465269227e33d7a656bff1ab17e236440acc59a6ac3197437"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 74, cognitive 84): constructor has cyclomatic complexity 74 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0b34c29353d08d5b074f6f7a38db3fb8cf06fae7ec64a6febdb25fdb239fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeStandardMaterial (cyclomatic 60, cognitive 83): writeStandardMaterial has cyclomatic complexity 60 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2c5156d7674c0e8f4927e2bbd45252ec902676c47e298374abe1988aead62b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateText (cyclomatic 58, cognitive 123): _updateText has cyclomatic complexity 58 and cognitive complexity 123; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d12914f52c2825f185c056e819d6ebf0a71ad6583d6314eb78fbd7de04676f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _validateCopy (cyclomatic 57, cognitive 43): _validateCopy has cyclomatic complexity 57 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d285cf4fe43120534bb4018e67df3350c3378541e6767ec5bf71224cb8a1ef3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rawToValue (cyclomatic 56, cognitive 106): rawToValue has cyclomatic complexity 56 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ddff6e3213cd49fb58ddb245d5ada8c86ddee6772adadbabe623a74aeaec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cullShadowCastersOmni (cyclomatic 55, cognitive 54): cullShadowCastersOmni has cyclomatic complexity 55 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"844861652022440c44822511e08b47d470de461886969657d290196ff52b46b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 50, cognitive 160): update has cyclomatic complexity 50 and cognitive complexity 160; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8364}}}],"partialFingerprints":{"codehealthFindingId/v1":"63828d4e2ae58090ae0894c827e8566ebd510154e97b1833f45977ed4e89a058"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _preprocess (cyclomatic 45, cognitive 113): _preprocess has cyclomatic complexity 45 and cognitive complexity 113; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a35cd85cda8c013839fefab63cc443c0da27f3dc0a778584756433bcb6dce44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 45, cognitive 105): update has cyclomatic complexity 45 and cognitive complexity 105; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/cpu-updater.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd9b23d58603daa33181abd16ad106facbebeba22e4fdb0afe8e7f57f818951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 44, cognitive 45): constructor has cyclomatic complexity 44 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5d55a13610a50b7db095ea3df73c2c0c7e91b2c68d664bbf58aeed45d911b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 43, cognitive 94): validate has cyclomatic complexity 43 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-validator.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed4752a56a512d0f0aef6b22d116b3892dd089580fcfd9e0045555f3326787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShaderDefinition (cyclomatic 42, cognitive 82): createShaderDefinition has cyclomatic complexity 42 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"29060cc4943bdad80b74e6ce1e5667afaff1e4f8a9e7ab355856a36e315ec1c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAttachment (cyclomatic 42, cognitive 68): readAttachment has cyclomatic complexity 42 and cognitive complexity 68; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9966}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5dae0c9ec0073d94a2d191e3f90b136c451a0ca363d6e78b97e6b4503a5e06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSpriteSheet (cyclomatic 42, cognitive 43): parseSpriteSheet has cyclomatic complexity 42 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sprite-sheet.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e834bd089ff28329f0881f75fda926e41745f4239b8e8a691d6ed433ce514aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeWorldPositions (cyclomatic 41, cognitive 87): computeWorldPositions has cyclomatic complexity 41 and cognitive complexity 87; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7450}}}],"partialFingerprints":{"codehealthFindingId/v1":"639023f777d789305ad00d3785a4b01567f9745717db448d88582a7426db76f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setupLightingDefines (cyclomatic 41, cognitive 87): _setupLightingDefines has cyclomatic complexity 41 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit-shader.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dda81ee5c1bd6673732a29c70461f1b3bf388a6f361de6931f9f1fb9ccd85aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 40, cognitive 149): draw has cyclomatic complexity 40 and cognitive complexity 149; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7c1bd7a8cbdf65ca355a8702fb2a30efdb927ee39519412607be7b0589f717"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onContactPair (cyclomatic 40, cognitive 96): onContactPair has cyclomatic complexity 40 and cognitive complexity 96; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fdb0bb27933bab1cb96d6504a6a3f6cc03561dba0754f2f2da2f58614000a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildGeometry (cyclomatic 40, cognitive 66): rebuildGeometry has cyclomatic complexity 40 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84d8e0cbc5da07b0030edab83bb8113dc709e5755c72f40f8110c6f02ea8267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToSlot (cyclomatic 39, cognitive 116): applyToSlot has cyclomatic complexity 39 and cognitive complexity 116; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"01792d45df1b44266e09256a5d9a07d76d0f9700164b8d8466f43c023827f152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _applyTreeCut (cyclomatic 39, cognitive 85): _applyTreeCut has cyclomatic complexity 39 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"42814c1bd1f9d375b191c625375ccab7991c9d8dcb88f68ce9cf50fce9308e94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drain (cyclomatic 39, cognitive 76): drain has cyclomatic complexity 39 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":5129}}}],"partialFingerprints":{"codehealthFindingId/v1":"222b2dcf616a29feb55b231f359ed3d1537c1c2ce2cfd26feb1c8b7a1d5cad00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inc (cyclomatic 37, cognitive 61): inc has cyclomatic complexity 37 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5e9e5867684d5b81461b2159326a011e33d9efcaf994007444e12de10f0f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function raycast (cyclomatic 37, cognitive 51): raycast has cyclomatic complexity 37 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60684a715dbfd515b61a3a9fafa0c861e568bb909282e16997065550c29a2b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 102): (anonymous) has cyclomatic complexity 36 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"391089340901d28f1c825155f5f84d1f33465f5fbd4a1ddf2b6ac110fd485815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function log (cyclomatic 36, cognitive 88): log has cyclomatic complexity 36 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f51e9dc775f8103636c481b5d91cd96311d7726d8c3440dea1ae512baab0e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFrameGraph (cyclomatic 36, cognitive 74): buildFrameGraph has cyclomatic complexity 36 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"798eb3492a1313ca29eb21bbc85a1135e856b77ccd8be7f7e566e9248a7a9958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 35, cognitive 56): start has cyclomatic complexity 35 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"725e34c3e7bdc8ba0e8169de7b046f5d0acaa284f353c5e14c7b35f6dc27b82d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 34, cognitive 97): create has cyclomatic complexity 34 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac984849d8b143e27824272cb2b5949a7c74377d89b125d1ace2d7f0a1ed26f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 34, cognitive 68): render has cyclomatic complexity 34 and cognitive complexity 68; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1641ba7d1b5aa0594d8ccd95fec7d69043c2e57c85ca9f5f2cdea28bde5845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 34, cognitive 42): update has cyclomatic complexity 34 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":"src/scene/gsplat/gsplat-sort-worker.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"60668673d998ec9a8ff38687314a6157b420005fe69eca28874a0d7a8da1e460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 34, cognitive 24): draw has cyclomatic complexity 34 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb90e036e5f6a36e4d5114695d0d75fc3420abd3bec7c6aff8432ca579d26ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bakeInternal (cyclomatic 33, cognitive 97): bakeInternal has cyclomatic complexity 33 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9e4f213c03c541baf45ffb47b7d659c8b2358a253fff3caf326d30a66d9eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 33, cognitive 85): constructor has cyclomatic complexity 33 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/cone-base-geometry.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b488bcfec55a93525964e580ec025986345bfe47b80764b31b49e08ccfa0738a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 33, cognitive 73): update has cyclomatic complexity 33 and cognitive complexity 73; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7316}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b65113bf06dcfc9541c53c2aad8dd625d429622a22b597ee4fa06058ee94f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSource (cyclomatic 33, cognitive 59): setSource has cyclomatic complexity 33 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7acf6639973cf08fc72cee6598e0e676e450c3cca446ad57f0993aacf910d63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateVertexShader (cyclomatic 33, cognitive 40): generateVertexShader has cyclomatic complexity 33 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit-shader.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dac50486630309a706b653f2dbf387bfa87d0e95448ced76868f812d6c7cac7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply2 (cyclomatic 32, cognitive 60): apply2 has cyclomatic complexity 32 and cognitive complexity 60; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6993}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb1fa645218f82c8df745872ca7c9efcc8548e2d980b9ca6b927bd9d79267e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 32, cognitive 55): update has cyclomatic complexity 32 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f43a074e65c68715e59c0d13081ef54fb932696bed87924f95c8ff374b5b692"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _rebuildElements (cyclomatic 32, cognitive 47): _rebuildElements has cyclomatic complexity 32 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"184b2ce04a76a8f8ca09b318ad9d989f5b3a83fe7fb611de84d8b6a965268f94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onAssetChanged (cyclomatic 31, cognitive 88): onAssetChanged has cyclomatic complexity 31 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe4ecdb0427bd36b3e6a6f6f406f9d5960fd0a3744b23d027b2e108de65eabc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 31, cognitive 64): create has cyclomatic complexity 31 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4f90e45e4af192c157d01a74fe31092b295375c01a381b4cfb9176e61827b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderForwardInternal (cyclomatic 31, cognitive 48): renderForwardInternal has cyclomatic complexity 31 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"141dd5e51dca7cd243c0699cb333161e76d9c5c5e128d114644d4953b3ce34fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadData (cyclomatic 30, cognitive 81): uploadData has cyclomatic complexity 30 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef64fb8dd41fda1d6ec4824b7ed94a0f65afefb741d826cfc3e76950d35c17c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 30, cognitive 38): update has cyclomatic complexity 30 and cognitive complexity 38; 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":"scripts/esm/xr/xr-manipulation.mjs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"2402b9716010b780ef4e39d3edda48b693a88b762eb5491c5a2ab6061982bb47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 30, cognitive 35): handle has cyclomatic complexity 30 and cognitive complexity 35; 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":"examples/utils/vite-dev-server.mjs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec6f1600528266df8827a1ab2249e74158dad857f8ee4f62b858d0beed7c28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameUpdate (cyclomatic 29, cognitive 71): frameUpdate has cyclomatic complexity 29 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edd153a9714b4af2c7a6b8b09e58df5354c28340bd22faf37dc3c6c55992936"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 29, cognitive 65): draw has cyclomatic complexity 29 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f21aa7ff863a0f3177438023a61a80b3e7bb4147ddb54595f06acc80d94fc50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyRenderTarget (cyclomatic 29, cognitive 55): copyRenderTarget has cyclomatic complexity 29 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee0098e27ee18ddbd1e2aa3d51cf57a42b6d7639a8bb4fc8a09102e88b223aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 29, cognitive 53): open has cyclomatic complexity 29 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/dds.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad2f76639c6ab57a2f86fb2b802d8c272335c052996044d16b1e134285a79e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 29, cognitive 40): prepare has cyclomatic complexity 29 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee49359f640035925950c4fbe48d5e54c1ada125997578dd2fcf2d22acc1c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuild (cyclomatic 29, cognitive 37): rebuild has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f608c65757490f1923df5c29203739a2b5b34bd197be971e50d817e7efe796d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reprojectTexture (cyclomatic 29, cognitive 36): reprojectTexture has cyclomatic complexity 29 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":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3335998732f4572a13b7a64f43b0b0a80ba2e683587ed432cf5e7757959808e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 29, cognitive 27): (top-level) has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/platform.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2058f1e692b3a3951231c322feeeab83fa8649a220926ef73a0c416ef6a74ddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupForRenderPass (cyclomatic 28, cognitive 42): setupForRenderPass has cyclomatic complexity 28 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":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0576d76cf912d2126c42caf6bbdc950da3a819aa1dbbabcfdfbd8cbe8780e3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 28, cognitive 35): dispatch has cyclomatic complexity 28 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2cd75de9ea0f296f4260d348c664ce4a6bd630114071868fbbac021ed89f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _initBoneAabbs (cyclomatic 27, cognitive 99): _initBoneAabbs has cyclomatic complexity 27 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa45150d71290c60420f0c6a91306198fa092867d8fbcfe4729774b5af0e74d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 27, cognitive 75): init has cyclomatic complexity 27 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cd8dc5838b84d3473f53a45058b09519c6cc61b2df4b913c3da653ac872cfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextureAtlas (cyclomatic 27, cognitive 65): TextureAtlas has cyclomatic complexity 27 and cognitive complexity 65; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc9e625972cb05e8bca42ca6234ec6a94741b35849bbf8349c8936090c590b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 45): (anonymous) has cyclomatic complexity 27 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/physics/render-physics.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc26fc353e92ff21159a832a1395aec965281e4be7b9c0da298972ae011c2dc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _frameUpdate (cyclomatic 27, cognitive 30): _frameUpdate has cyclomatic complexity 27 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":"scripts/esm/water.mjs"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d04f971a96bf5451a5c5245434e0ec979adb561185ac51d4d0b5f8d5eb98d86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawArea (cyclomatic 26, cognitive 57): _drawArea has cyclomatic complexity 26 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa546f2b6b276dbba816001dc18ac89bb538c2a5ec62a0615bfbf6e22841e81f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setupLight (cyclomatic 26, cognitive 29): _setupLight has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce6b3bed799c61d493a8f81e5022a2bb286f49f8f55831d996e3962cb3f40fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 25, cognitive 47): apply has cyclomatic complexity 25 and cognitive complexity 47; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5677a1d73b6ae3a13cc0a791dd1fabdd43307d289715bd308cda726fa8abac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAttachment (cyclomatic 25, cognitive 38): readAttachment has cyclomatic complexity 25 and cognitive complexity 38; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12701}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7932da378d9a23d108ed5277ad9a54f527c7d8e2d6233accae1fed4e3cfdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intersects (cyclomatic 25, cognitive 26): intersects has cyclomatic complexity 25 and cognitive complexity 26; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba488bc250779e244347813addc70a537f56d934dee47a3639824f487c56dda3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageElementMaterial (cyclomatic 24, cognitive 76): getImageElementMaterial has cyclomatic complexity 24 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a5615d94486ad2dc9361c403762ddd6286f878bd92fd16aa06b253e990ec19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipTrianglesUnpacked (cyclomatic 24, cognitive 74): clipTrianglesUnpacked has cyclomatic complexity 24 and cognitive complexity 74; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11738}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf520cec736183427a8d0721a3b703c6b626b325dce7b56aa1b5478cb1df95f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _update (cyclomatic 24, cognitive 69): _update has cyclomatic complexity 24 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"53414e52e7b68d25e61b6fe486fa1f1cf5a5a7309fbcfb98233c688eeb5f10a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 24, cognitive 56): parse has cyclomatic complexity 24 and cognitive complexity 56; 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":"scripts/esm/parsers/obj-model.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f021ef9e0e540832f7049bfd6300f84e8a7355c165748192fd6dbad27cd74e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processParentheses (cyclomatic 24, cognitive 49): processParentheses has cyclomatic complexity 24 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d97a86e57743e8ec53669819c543a0a0e014c5b5a1784e418c13804f421c58a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAnimation (cyclomatic 24, cognitive 40): createAnimation has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfbcc98e089014c719c1c2281b8b60cd97797cd8f32c9e01b23883f64549478"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMaterial (cyclomatic 24, cognitive 38): createMaterial has cyclomatic complexity 24 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2730a2e8b74edcbf1b154d8c2f322fc8d8c63c86bf641f3c9fd5024f505a60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyRenderTarget (cyclomatic 24, cognitive 35): copyRenderTarget has cyclomatic complexity 24 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3cba3621110c4befb41894186627e46943d7eba108a6a0d44994af1e3ead3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateWorldState (cyclomatic 24, cognitive 35): _updateWorldState has cyclomatic complexity 24 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5481b84664e1bc2fd23a1f4654617d9f47ba86c6b750f5b011dd91e16f8a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateRayInteraction (cyclomatic 24, cognitive 34): _updateRayInteraction has cyclomatic complexity 24 and cognitive complexity 34; 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":"scripts/esm/xr/xr-menu.mjs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"140734a030327769c1188fd83731aab42be19d56b47f9965f2ef33eefd2d8d5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyTextureToTexture (cyclomatic 24, cognitive 28): copyTextureToTexture has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0828657179e6087b4147451663e56350b9d0af5396acb0879fe4c15d9c5c1a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 24, cognitive 28): update has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11c416c09fac0ad9fc88ecf68f3e74836b6c1f0c01985b9dfb64c256d77e2f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 24, cognitive 26): initializeComponentData has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/system.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da51fa9d82127046a664e99654df764029c215ecc1796ee8fdfce96d9e1821d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateEnvOptions (cyclomatic 24, cognitive 25): _updateEnvOptions has cyclomatic complexity 24 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5059ea5aeab36003dc402e5e61ae93b9b964c0a1423ea26d714b0f22fd73de4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 24, cognitive 19): constructor has cyclomatic complexity 24 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit-shader.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62fd94b66fb12fb65f6f0e2d23066fba6b909d1474b4233253a538100f7680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function triangulate (cyclomatic 23, cognitive 67): triangulate has cyclomatic complexity 23 and cognitive complexity 67; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11173}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a3da51d0b4ab75ac021eee232246f2dd25d052f3529a512a93ca437418694c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 23, cognitive 46): request has cyclomatic complexity 23 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/net/http.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2149962c3e5a2d1311f382bbb9c899769cc3ce4c4b4ec28ff4bce33ef7b407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endRenderPass (cyclomatic 23, cognitive 44): endRenderPass has cyclomatic complexity 23 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfdd38a7ebc5ce78cc4fb29ae0d65d04645ccd1c3c780547cfc2560fc4caab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 23, cognitive 41): update has cyclomatic complexity 23 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a98432ef68a71cb0405c73cfabd07f81948cee16989eddff44f816e0ff1c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 37): (anonymous) has cyclomatic complexity 23 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da0a15f1b4dcdb90144a5e2bc5678f53dd499afc09d27f7306df7c9450f165a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBounds (cyclomatic 23, cognitive 34): getBounds has cyclomatic complexity 23 and cognitive complexity 34; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3d663ff03697fb42ff1cbac2f923907d942affc45d1113e4730d542c2c85d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMixingFrom (cyclomatic 23, cognitive 30): applyMixingFrom has cyclomatic complexity 23 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a410c7c76fbe6dea80f562bec1d144ffbd12576eae70ae6e907dd4543018e2ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initFromGpuDevice (cyclomatic 23, cognitive 20): initFromGpuDevice has cyclomatic complexity 23 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abf67892add960810e45a216031a3edf3d171f417567e845a620838d186317a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _draw (cyclomatic 23, cognitive 19): _draw has cyclomatic complexity 23 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cfa3e33720a7fe645c1ecc0d0408a2104a4a10977572a14e6e452fc5ddd2a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recreateShapes (cyclomatic 22, cognitive 53): recreateShapes has cyclomatic complexity 22 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"96525c2dba01ecffdf3d0dd2343df3b83b7fc52ac847fce5fa7ee70afd3482f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDuplicatedEntityReferenceProperties (cyclomatic 22, cognitive 51): resolveDuplicatedEntityReferenceProperties has cyclomatic complexity 22 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"666cc6f5def6f4f71fb3191cf5001a85e739efa82866b5d9428b3ae618f6ef85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTime (cyclomatic 22, cognitive 46): addTime has cyclomatic complexity 22 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/animation/skeleton.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3f7a164a3cbbe75520744837d29e687e60059411c60e718392f2718f6ffea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateStateFromTransition (cyclomatic 22, cognitive 45): updateStateFromTransition has cyclomatic complexity 22 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"419432ccf337fecfe7ab0867e0bd301e1f27a6dcff6a2c68a6ed8bb4688a139a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _compilePasses (cyclomatic 22, cognitive 42): _compilePasses has cyclomatic complexity 22 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":"src/scene/frame-graph.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca14ea1ecc95aa525b38fd099fb1b911b57249b98e846b09d1e03485b04b17c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 22, cognitive 39): read has cyclomatic complexity 22 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9754857581a65e857fa0d53818a46afb295e80c65a36c8d4006e324aa7ae4650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 22, cognitive 34): update has cyclomatic complexity 22 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87a81249052a5e01bbb07218cf03cef51425409327acf2c564ad97ef4506583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 22, cognitive 32): update has cyclomatic complexity 22 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":"src/framework/xr/xr-hand.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5098fa6b9d388949a8d5707e3b5e39007a4a8aca6170997cb5ed09a71a770463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setCameraUniforms (cyclomatic 22, cognitive 32): setCameraUniforms has cyclomatic complexity 22 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":"src/scene/renderer/renderer.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b020d571ffb63b4c2bd8f5459294c5c591a96b3e2e2374fe152d71b1c8b92d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 22, cognitive 30): get has cyclomatic complexity 22 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":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5d28b604c91d693421517949d6ede65522959c18bded6f83ae324f20ee300e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 22, cognitive 25): load has cyclomatic complexity 22 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d371b40a336f3cbc05fa1aab8c0c7ed8586034a923983431bb021c171fb790ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 22, cognitive 21): constructor has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/mouse-event.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de161be7b5856aa8c460646659c59296e7ecb98d330c3612e9790289300fe30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _createProjectorCompute (cyclomatic 22, cognitive 21): _createProjectorCompute has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7c488a98c023c2990398d0faf45fff4d993a7776a59457e47b34bce8307174"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTextureDeclarationType (cyclomatic 22, cognitive 10): getTextureDeclarationType has cyclomatic complexity 22 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":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e8a375d9b29ac94afa897e3256cea496de58d0d829225bd2d2499a227649fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typeStr (cyclomatic 22, cognitive 10): typeStr has cyclomatic complexity 22 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":"utils/api-surface.mjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4c5fc823250581641e93ca8851ee1ae160df179e92d1a0be0dd22b5b551c92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 21, cognitive 66): find has cyclomatic complexity 21 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags-cache.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a7a381e1736e8834547e8fea325391a0f8cba6470537cf5f383f9ddaac1223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 21, cognitive 54): update has cyclomatic complexity 21 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6734565e4775df51de8d5065cc4200e21c8a411200029fc0c234b1e0631855e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cull (cyclomatic 21, cognitive 46): cull has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer-directional.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c0c3dd27d1844c716efd5c35b3d5d38be4425757f3fa1e87c987a6724d6ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExampleConfig (cyclomatic 21, cognitive 43): parseExampleConfig has cyclomatic complexity 21 and cognitive complexity 43; 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":"examples/iframe/runtime.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b10ef80a60c83e7418bc207679c3f23fd9fc24374f8dc1204e6906e907fac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExampleConfig (cyclomatic 21, cognitive 43): parseExampleConfig has cyclomatic complexity 21 and cognitive complexity 43; 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":"examples/utils/example-source.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba0b200120312cf69f8241fd5914abdad05f65e0e4a2d9b0de1f1db7897430e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beginFrame (cyclomatic 21, cognitive 31): beginFrame has cyclomatic complexity 21 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":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"775814d49d4d16af54173d6b93bf82f5d0e2ec801e1084cde72c4dbef2b09836"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _onElementSelectEvent (cyclomatic 21, cognitive 30): _onElementSelectEvent has cyclomatic complexity 21 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":"src/framework/input/element-input.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a8ba70e0a40237e603b3aebbfc52f016876cccc327176bb616aede4c58802e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySettings (cyclomatic 21, cognitive 20): applySettings has cyclomatic complexity 21 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"225ebfa1764c17b477530b52f711b3aa8bfcd399e49fa5432e8dc044432311ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateMaterialOptions (cyclomatic 21, cognitive 14): _updateMaterialOptions has cyclomatic complexity 21 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":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed5fb4f815335ab506c3169bbff12b916113dc049b4e30f991868ee987df2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 20, cognitive 54): update has cyclomatic complexity 20 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7f030335de3efd6e265b41b04c681bb26b2d3d5d2e7bded9271ff0395d79c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _bindAndAssignAssets (cyclomatic 20, cognitive 47): _bindAndAssignAssets has cyclomatic complexity 20 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"995141ec0275eea3caa3a4b408ec9e978c7be799c77cbf2887a27b28ae0ca543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patch (cyclomatic 20, cognitive 35): patch has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture-atlas.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecd077f70f8242fa4e52c0b87ae1b94f5bcb2c220718e1bcc3a458d1c921121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readEntries (cyclomatic 20, cognitive 35): readEntries has cyclomatic complexity 20 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-lod-tree.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a27f0a868ea8d7ba79058cbc7dddff0a11718dfe2e6c324ce3941121225b300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeMesh (cyclomatic 20, cognitive 31): decodeMesh has cyclomatic complexity 20 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":"src/framework/parsers/draco-worker.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3265626c702ee190168ebee0826d4c14d05bab198041d24692bfebf550c7786c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 30): (anonymous) has cyclomatic complexity 20 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15497}}}],"partialFingerprints":{"codehealthFindingId/v1":"350b3fcf4f63ca463460fba20ec2943694634a105ae2c1f901dfd263dde0f662"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _parseApplicationProperties (cyclomatic 20, cognitive 29): _parseApplicationProperties has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe5b449751ab94b061f3a0ad32d6665f1bac3ef98e0cf0c706c33882397ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawSpot (cyclomatic 20, cognitive 27): _drawSpot has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"52677361f0acc99fe06593750dd450a888f8f1dc6c8e9408c46499435d142c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coerce (cyclomatic 20, cognitive 25): coerce has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef95e8a53796870926d12a8f1a7e7b665e47e8f14f78a97618b013d3d3b7c5c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _draw (cyclomatic 20, cognitive 25): _draw has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/camera-gizmo.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a1c8c72b04e50ba075f450816806d0f0a86cb84e9a9dff8155709ff93b520c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _cullEntry (cyclomatic 20, cognitive 22): _cullEntry has cyclomatic complexity 20 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":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d646eca4c7158cfd2435142a108a4c5a2b6e4d73fe1b28c3583d28f2a1ed2df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply1 (cyclomatic 20, cognitive 20): apply1 has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbce06e42d074606eee509aaca87e3b7d06747d88aadc089062695f0dbdcfb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 20, cognitive 20): init has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72bbe1ba82c2be2d2b179a4666edfac91c7b754b2ef5cb9b60902addee90cbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initCapsDefines (cyclomatic 20, cognitive 19): initCapsDefines has cyclomatic complexity 20 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fcca713ed044223629509a52c419bb08d126ace11e94ad72f67907953da7af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shadowType (cyclomatic 20, cognitive 15): shadowType has cyclomatic complexity 20 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5943d26866f6157d07540255ec59876b172b280a52448ac6bc4ffd145d9cd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _readPixels (cyclomatic 19, cognitive 43): _readPixels has cyclomatic complexity 19 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/hdr.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82d4fe684b07c667f3f7a41d336c16769ca9165780ceaa776bf560b6dfd40c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 19, cognitive 40): constructor has cyclomatic complexity 19 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/rounded-box-geometry.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"89375da117c65bc91acdd0d0ec2a544b5654f5b2585c7a9cbfa51b2350abcac6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function off (cyclomatic 19, cognitive 39): off has cyclomatic complexity 19 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/event-handler.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f3b5d226644053915d48e31d306c58ca7c6732d23d30ec2a34ee4b2749c61a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectModels (cyclomatic 19, cognitive 38): collectModels has cyclomatic complexity 19 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7759f1c992196238b4319e49deabfe1acabe3e66ab78f612ee1fc50b58dff405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachTexture (cyclomatic 19, cognitive 31): attachTexture has cyclomatic complexity 19 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":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"45132891a5bd0549898c8d98c4e3054f0e659f38b8de631b7da2409fa77c220b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeHold (cyclomatic 19, cognitive 30): computeHold has cyclomatic complexity 19 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf41b06e1949fb729eb194fb512f1ed9b24c878c06543b37b3f4b5b0e57aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply1 (cyclomatic 19, cognitive 28): apply1 has cyclomatic complexity 19 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6925}}}],"partialFingerprints":{"codehealthFindingId/v1":"d214a16615e873ceccc15723413d65286c94be3c5cbe8e4560a9263addace4ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 19, cognitive 28): initializeComponentData has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/system.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"478d2b126dae389fa433ebd1700cbc09e9df5f94154d9b52b116c09020cabeaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initialize (cyclomatic 19, cognitive 27): initialize has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/material/json-standard-material.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"83315cc168a8efd5844e124d4bf384927acf2870ade9c4c70b605ff1f72cb2fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 19, cognitive 21): constructor has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7437ef0d4019b517a142c7c22d2b7c57f1ba8b669627ceb53d056f2cae27f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderForwardLayer (cyclomatic 19, cognitive 20): renderForwardLayer has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39ff02033a2602ac8593346790ac9b9c4d9cd8f26333e368cc14bbacb3fafeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 19, cognitive 18): update has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"scripts/esm/camera-controls.mjs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdf6bf3591e5e220b09745961c3fa684c8dee76d6e7d0d4dc317e85552f435b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generate (cyclomatic 19, cognitive 17): generate has cyclomatic complexity 19 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-mipmap-renderer.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"171e0cbec5f6066abf482d5072fd94a15eebbea85d43d0513e21185667f06213"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneHierarchy (cyclomatic 18, cognitive 56): cloneHierarchy has cyclomatic complexity 18 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-container-resource.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96b8282a6683e6a67c8ebdafeee0ab66b237c29e7966f23b92c884e3497382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 18, cognitive 39): update has cyclomatic complexity 18 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2e8cc53f0339c8956e4acd190c94cf8156a39ceb8e4f205bde8f18908af17a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decompose (cyclomatic 18, cognitive 33): decompose has cyclomatic complexity 18 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e355ac50eb0bbba9f232f86110364120e7c0d754d388d01f952204a945c935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRenderPass (cyclomatic 18, cognitive 33): startRenderPass has cyclomatic complexity 18 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f774e3fb419d7a4eb916e73b91f6b7e09790213763927097d4ffb71482bcb18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLightVisibility (cyclomatic 18, cognitive 33): updateLightVisibility has cyclomatic complexity 18 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":"src/scene/renderer/culler.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"79841f7a258f6697ffd5d7c9d2cac707a45699c06764c630477e5d1cbd44a881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFromEntity (cyclomatic 18, cognitive 32): buildFromEntity has cyclomatic complexity 18 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":"scripts/esm/gsplat/gsplat-mesh.mjs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0388934da2be04d46d0acc77a396e5776902a7111b4902c264b9fe364363dbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateMesh (cyclomatic 18, cognitive 26): _updateMesh has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7672b77be9ee55e986c469ea68d4a4e77a6a85ccb8368221fc2d109ee3b3a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _checkFingerTouch (cyclomatic 18, cognitive 23): _checkFingerTouch has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-menu.mjs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c542180dd1f2acac7deef1d762a3e6a104cb7ef9701db1276d8b8ab5ad5af3d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTextureParameters (cyclomatic 18, cognitive 22): setTextureParameters 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4154068d5f19902476fab22d43cc9c6d1b5804158d529b83ff2647660617cdbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRenderableHdrFormat (cyclomatic 18, cognitive 20): getRenderableHdrFormat has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c74e22d09f0109ae2c31363f4b7c939850a413cc209347213474fdf303d1d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 18, cognitive 20): update has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"05314b981082ef3729b67f7dccdb07384ac24328cbd46cd103b61967250314db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 18, cognitive 19): destroy has cyclomatic complexity 18 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":"src/framework/app-base.js"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294bdf89895a3cd615a22de58e46c17e551cffe4ba328074c68c5b4703d8a2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function basisInitialize (cyclomatic 18, cognitive 18): basisInitialize has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1785715ceb03a19586ec1ea91bbf6b8e6d6656cdebc78236c423ce0d327c23f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intersectsSegmentPolygon (cyclomatic 18, cognitive 16): intersectsSegmentPolygon has cyclomatic complexity 18 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 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1023e3a4f4aa7f67c4326b27226115c6b136ef451b504a81a743c5b0a5cc8615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneComponent (cyclomatic 18, cognitive 15): cloneComponent has cyclomatic complexity 18 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/system.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ece91ee3619916a89891c0cf4eced23eb95f610305ec2068c7c36a1e4015fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 13): main has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3721852ae1ada4874c65b672f912ee14804cd15a53712e3fcecf37b1a71fffa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipTrianglesRender (cyclomatic 17, cognitive 55): clipTrianglesRender has cyclomatic complexity 17 and cognitive complexity 55; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11519}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c4ba8e218ca140f3d0caf344fcd6781115145d0873c44731f46f286fab88d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bleed (cyclomatic 17, cognitive 35): bleed has cyclomatic complexity 17 and cognitive complexity 35; 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":"examples/utils/generate-ui-atlas.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7844e46a9bc5f5feb5ddd6d9423b32c8b2f9b05adab4c333468752a2a817659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sync (cyclomatic 17, cognitive 35): _sync has cyclomatic complexity 17 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f68cef979d5db125a4c856e03fbf4b3649f572844e1be1887dcf4850a42683f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 17, cognitive 28): update has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e78cb20c410810b543a4618b9f46e30ca43febae0d6bab9176e04c7beddfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnable (cyclomatic 17, cognitive 28): onEnable has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8c13b1500481a07b61d597451afaee799ce63cbe01a24b73eb4d799585d53d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initGraphs (cyclomatic 17, cognitive 27): initGraphs has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bf1a812b46f74d6ad470a2b14edf00dd422c8c3c7977f25e38325448993f03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function font (cyclomatic 17, cognitive 26): font has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"823783f8a71988e759e99d07e034a4d4498428529a0c6d8487d66e930895f415"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-registry.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e098174a2c665550fb1260d9c9c85ae18f5bd53c61e9610f25e8473e5cebd5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _onElementMouseEvent (cyclomatic 17, cognitive 25): _onElementMouseEvent has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e716d493b25ec417c5f2796d6a5146b5b2cfeaedb08034d808dc8ba1736fdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLayerRenderStep (cyclomatic 17, cognitive 25): renderLayerRenderStep has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb00e2423b3d9ae864ae81c25d4e4afe0de6b9800f8d7c967d80fee960a10b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 17, cognitive 24): update has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-menu.mjs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a23f3ff1886e1aa243d038f664f35c25f7c6716b8dc518e661f70b296f66057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSampler (cyclomatic 17, cognitive 24): getSampler has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a1c2ec88a0cc244c8bae607d657f2caf9321a2acbf84d62ac60c01ce9b912c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _showFrame (cyclomatic 17, cognitive 23): _showFrame has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c69e7e074571131b276de1c0ee591dcd0016736f64f08b3218ca2ac5b33b118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createGSplatData (cyclomatic 17, cognitive 23): createGSplatData has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-gaussian-splatting.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"455fa98b80c6b8765b1c2847b51a562ca1d7b44b6ef529bd7cdc78ca6fa2051b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFlag (cyclomatic 17, cognitive 22): validateFlag has cyclomatic complexity 17 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":"examples/eslint.config.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"160f885df892b4defba107580ec75f01471c2e68aad972214617b9f36e793107"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnable (cyclomatic 17, cognitive 22): onEnable has cyclomatic complexity 17 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":"src/framework/components/collision/component.js"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfca6620816c1bd44fb4ab63f7a17db55febc068c4786ee6ce53049341a6baa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcodeBasis (cyclomatic 17, cognitive 21): transcodeBasis has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8b2b653754db57c8f36e1f27cc1f9efe1149c399adce617822e7d03cf1082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postUpdate (cyclomatic 17, cognitive 19): postUpdate has cyclomatic complexity 17 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":"scripts/esm/camera-frame.mjs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"40912c3887554ce6379a776179e79e9bf4ec80777f65e2f0f6279e25b4db37fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLightData (cyclomatic 17, cognitive 18): addLightData has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/lights-buffer.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"37181cecf1f31bbc452d92603cf98918b0329a314822ca29e1ca47c23f627423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateTexOptions (cyclomatic 17, cognitive 18): _updateTexOptions has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48951937350a6f6c0fc5bfae2ef899249131a30caa420e382318d0bc2df6695"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDeviceType (cyclomatic 17, cognitive 17): updateDeviceType has cyclomatic complexity 17 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":"examples/iframe/state.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be9d46e4cd0b9ed3e38d8b50eba94977f73e8687d750165bc2b716ad94d5f56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unlock (cyclomatic 17, cognitive 17): unlock has cyclomatic complexity 17 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":"src/platform/graphics/webgl/webgl-buffer.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83fa0adf7a763beb51e29cdea6413b2203c0464431c1468181ed576c1356762"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aabbIntersectsSegment (cyclomatic 17, cognitive 16): aabbIntersectsSegment has cyclomatic complexity 17 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 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11055}}}],"partialFingerprints":{"codehealthFindingId/v1":"225c9ac030e8965d5308a17d1e84fbb20846fb872fc441fb651f6cdbdb00b859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function equals (cyclomatic 17, cognitive 16): equals has cyclomatic complexity 17 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"33da9de5046015710c9b99298f03fe6ba9481441e984c218f75301868f40e4d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function d (cyclomatic 17, cognitive 15): d has cyclomatic complexity 17 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 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"58068fedc3300d945695ecfc96f189445d8aa80f67ea42a8a8096aa7f2b7112b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Program (cyclomatic 17, cognitive 14): Program has cyclomatic complexity 17 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":"examples/eslint.config.mjs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ce66318fada322ce750b2cb46b00472598c7f1eec2711d489403821eb2cff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _createAnimTargetForProperty (cyclomatic 17, cognitive 13): _createAnimTargetForProperty has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component-binder.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"33805d0d49cf2c98f7836037950fc490e64738acfadbeac96ba930b06ea9e01c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignSplatOffsets (cyclomatic 16, cognitive 42): assignSplatOffsets has cyclomatic complexity 16 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":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"21be780f03e7313100503880de2b48659faeb26ed737a14ead2a335fb4c94384"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _allocate (cyclomatic 16, cognitive 39): _allocate has cyclomatic complexity 16 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fb71d47f8ead98a833009f2a47356ce7495dc72f4d4f19abdb1643c166591d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aabb (cyclomatic 16, cognitive 36): aabb has cyclomatic complexity 16 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":"src/scene/mesh-instance.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bc02399a569c23e9dfd9e8dabcf945c9a7f725d61746cc3b1251664549d994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapping (cyclomatic 16, cognitive 29): mapping has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"8615c5b9fda0f2fac409b19d8e08f19e9f323300123d7b125efa9ad0d39f2f31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 16, cognitive 28): load 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":"src/framework/handlers/loader.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57559221dd673cac5eb6f567ab7a75b77f7990b1b6142b71a45f853d1f8a073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _render (cyclomatic 16, cognitive 27): _render has cyclomatic complexity 16 and cognitive complexity 27; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15920}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a1458f15d0e140e151548576737a6b19777ddc1ab78da8cb71e79c7d826ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _defragIncremental (cyclomatic 16, cognitive 27): _defragIncremental has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"c773bf3ee36c5025dbeeabede6198564555857ed92f910848b2e57516c8ae601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function file (cyclomatic 16, cognitive 27): file has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"821d27aa6e260f7dfc8d315a5e18899651c34727d5f8209fefdd0ae5b13b7719"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 16, cognitive 24): constructor has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-format.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d756539b3c85980937f1c6704eefbb90ca02dea68d6260f4e563753cd4422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTime (cyclomatic 16, cognitive 24): addTime has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f2e64cfe7a9b3dc1f1ca94bacdf6b034e15e8648f6e703084ad9c076ef39c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rasterizeTriangle (cyclomatic 16, cognitive 23): rasterizeTriangle has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-mesh.mjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46c11933183305912e9060fde10757ceb67828db1098fbaa6a9b53dc24192aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCache (cyclomatic 16, cognitive 22): updateCache has cyclomatic complexity 16 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":7975}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbfcfb707754e32688fd5ae65a155a16b368878551b6ec8a8c4450fc340866"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clear (cyclomatic 16, cognitive 22): clear has cyclomatic complexity 16 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34e90a32392d850eb4b171bec9f150223f4e9b4d80917e7237e40ac53d96f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _rebuildFromText (cyclomatic 16, cognitive 21): _rebuildFromText has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-text.mjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b9ac9b9620aa70ffabe8145f422bfc592d99f12c20a673e6f57c02a96df7b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTimeline2 (cyclomatic 16, cognitive 20): readTimeline2 has cyclomatic complexity 16 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3609070c36a07b2ea1106d2688bdae2e3e272eaf63b3de69d8c0d99bcf62ed6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateDepth (cyclomatic 16, cognitive 20): _updateDepth has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-view.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2597b0bf497e3be14acfd4d9992484b564be86dd4cc86d61603ccbb041e9cdc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 16, cognitive 20): update has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"042d60fd6acd3141554625ddee90dc361809e9dd659c44673167640dc7ef6593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToSlot (cyclomatic 16, cognitive 19): applyToSlot has cyclomatic complexity 16 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a85f70722d7fcaf6244d62972f178c04488cafc77fddf48bca2e49afada5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcodeKTX2 (cyclomatic 16, cognitive 19): transcodeKTX2 has cyclomatic complexity 16 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":"src/framework/handlers/basis-worker.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bd3a700d7b195b72e36d62d21292a1ff8fd55e62e48763ba53abe523f6c6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 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":"test/scene/layer.test.mjs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84370281c9450bebb0bb0c7a080b3543846eed99bd02c14a25f747d6b3ee6bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SemVer (cyclomatic 16, cognitive 18): SemVer has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bdcf0138bb8d715e35799134addb1d804f007e12939f11dc36ad8b3f9e119c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameUpdate (cyclomatic 16, cognitive 18): frameUpdate has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb19618bb5bb1688a35608a4b32f179cf1b636860aab0f0824847c9b3d5cba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createURI (cyclomatic 16, cognitive 15): createURI has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/uri.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3f486fe604e324de303a4946df4c3e2f9afd8e7a6f1862b02da479ed16498f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createVertexDefines (cyclomatic 16, cognitive 15): createVertexDefines has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/particle.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49347bc22e637bf1692d345003778205255e78c0abd76699af22f5cea77fddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertValue (cyclomatic 16, cognitive 12): convertValue has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/system.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec34474b5f6eff61335e699578edb2d76d58f66fbc6f3a21542454333e4cfd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clip (cyclomatic 15, cognitive 36): clip has cyclomatic complexity 15 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":11974}}}],"partialFingerprints":{"codehealthFindingId/v1":"9661b73b41e458d5e09069bc89394502dddface9a3b0fe83bd1a456f48d5fe2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 34): (anonymous) has cyclomatic complexity 15 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/khr-draco-mesh-compression.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"631d73c11d094d604b6ec97f0177d16bb11e132fc47969563ef34b2c8adf9094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 32): update has cyclomatic complexity 15 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4302}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf5a094abcf48ccec5224bfee59f0490656928cdf9d67e5a2c237577eaa277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sprite (cyclomatic 15, cognitive 31): sprite has cyclomatic complexity 15 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":"src/framework/components/sprite/sprite-animation-clip.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ce96b198d7d50dd2acd702b71498f8bcee8edec695345ce4c59937ed13af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 15, cognitive 29): play has cyclomatic complexity 15 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434b2c7b008e20ca48a1d6eab4ab225ccf8aea17304ebc1e937087af1eb9e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endRenderPass (cyclomatic 15, cognitive 29): endRenderPass has cyclomatic complexity 15 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"010acbd53fe54f954391c1215d6c1d19929165cd3d9925f5b48dec7c9118771f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 28): update has cyclomatic complexity 15 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0092cad19b5de1d10a1f063c1313ea3a8f8f8c643aaa35e3b5cc8e86d6d320f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postRender (cyclomatic 15, cognitive 28): postRender has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c64505d6c76a3b993ffc438edc1c9e745ab5e8ee70f429bb3241ad2a3e93d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendFormats (cyclomatic 15, cognitive 27): appendFormats has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adf39d7818aced847cb3d46dc68bd8a83e34d65224ef4390f321ad520c83781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 25): update has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-navigation.mjs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"9599dbf1132ac1df5d3d0b0f3131982f91122bec7e95f248ca501fd9601e87d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateLightmapSize (cyclomatic 15, cognitive 25): calculateLightmapSize has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd16e27a8b3d068e280cead86f45a523315be63617c400e74e9b137d93559ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalize (cyclomatic 15, cognitive 25): finalize has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33e66e611feb0f6e5cc3f8248e772f2d4f84843d72911c68bbc1aa8e61b8f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRotateTimeline (cyclomatic 15, cognitive 24): applyRotateTimeline has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4517}}}],"partialFingerprints":{"codehealthFindingId/v1":"183813c141ea3f1e6f888eaccdbf216620ea5979d2c667cbe6e750e4dfa8b36f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnable (cyclomatic 15, cognitive 24): onEnable has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2637854cdc5e69f6781fef5112f89bd6bb31ae73e26c74fb0fa57f4e36556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 24): update has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ec62339bf081fd0ae887bf467c4e11e49f29afaaacd3e5eab38159efcbcc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb/extensions/ext-mesh-gpu-instancing.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae26f1eb6b077d119ed00106f241a752020d0bd1d3c1d2fc7bda12b927aeecc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _parseAssets (cyclomatic 15, cognitive 22): _parseAssets has cyclomatic complexity 15 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":"src/framework/app-base.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccdb370c50b648a16508af81c25fc4e00109ba03e9a643b2405397c81465a40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 15, cognitive 21): load has cyclomatic complexity 15 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0992f1e9216546f6ffb5392d3971ba8255c90cb025dd3be8b3bd7a769ab2ebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchCommands (cyclomatic 15, cognitive 18): batchCommands has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13934}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec3bc42c03c8261008381aa4a8a63abd0215f70fd0f6e16ed0be79c3d541dc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function outlineColor (cyclomatic 15, cognitive 17): outlineColor has cyclomatic complexity 15 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":"src/framework/components/element/text-element.js"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"6517ea73188202a69986a93658de66ca48faf2f4cd5ed1441ca59ea4662c646b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateController (cyclomatic 15, cognitive 16): _updateController 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":"scripts/esm/third-person-controller.mjs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7c04fa84bb6d1d63cf22ea47787770aa93a25af876252f75f33f356446853"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function comparePre (cyclomatic 15, cognitive 16): comparePre 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14587}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec38b001886c810e5b8c58439cd2a0aa46a721a478744238c872432ceccc39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMaterialBindGroup (cyclomatic 15, cognitive 16): getMaterialBindGroup 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":"src/scene/mesh-instance.js"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce546e2096e50b68f324eb4e29906dfad7b1b7310ed4f955049fe23e474de82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneComponent (cyclomatic 15, cognitive 15): cloneComponent has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f652b15e02231504211139e642d13b4ce15d9e29c9831b78b4f06e4908ab20"}},{"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":"src/platform/graphics/render-pass.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad4468f0d96879aadda3d16f3a3ebf121faddfafb0f95508c9d0ca59baa0d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478a79d610ce8fab48d92924be725a52cd1531c361c6d547014839623e7a202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 15, cognitive 13): create has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d10bd5d2031dcc5ad4d6318798c308e27bb743267517ee2948e871b0511cb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copy (cyclomatic 15, cognitive 13): copy has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f507866d717e87c69d1710275e2960b26cf5dab542850fdcbcd160fa8b23d464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 15, cognitive 12): constructor has cyclomatic complexity 15 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bb4a79e781ec1065192e853ff5da2af8bb6a32ed6aed97aaab8d9b64fbb143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateAtomicExpression (cyclomatic 15, cognitive 11): evaluateAtomicExpression has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa6dec859ae76b7b59ec14ee6aa88608dffeabc9f9e245ec03db685c1f5f63e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmp (cyclomatic 15, cognitive 9): cmp has cyclomatic complexity 15 and cognitive complexity 9; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14999}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fe275884b778a06adf9cb13734d75e803defec3554bc6f108ff068f4ed9fd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 53): (anonymous) has cyclomatic complexity 14 and cognitive complexity 53; 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":"test/scene/gsplat-unified/gsplat-octree-hierarchical.test.mjs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f67181124863c1ecabecf46ccb10ea72b4d623b7809319fbb57da9407747c34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onUpdate (cyclomatic 14, cognitive 47): onUpdate has cyclomatic complexity 14 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/system.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ac6620df474f2bba6693d9867f2e78ff1951d75f8f887d502591aec67de2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _logRenderActions (cyclomatic 14, cognitive 44): _logRenderActions has cyclomatic complexity 14 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7b409a0f070e5bacb417e0ebee2ff0a1c646f63ef04301daaf41e9b1850ced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 14, cognitive 38): update has cyclomatic complexity 14 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab9888480ddc51d34baf97799873726334a90e2c4fe131a476f04abcdab4d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipInverse (cyclomatic 14, cognitive 35): clipInverse has cyclomatic complexity 14 and cognitive complexity 35; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12054}}}],"partialFingerprints":{"codehealthFindingId/v1":"162d39995df246b83b53c3917594fca518d42e4c7804feebd09c9bb7df8433ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupOldWorldStates (cyclomatic 14, cognitive 34): cleanupOldWorldStates has cyclomatic complexity 14 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bfae2782e53792d58cb01ebe36d2674c18cfd45781554c10c2cb2a7a4b263a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _boxHandles (cyclomatic 14, cognitive 33): _boxHandles has cyclomatic complexity 14 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":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbba645c54bb79395d8df3d7c66592946c3edd6ff719f7bf11efb2f2cb2d8ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDuplicatedEntityReferenceProperties (cyclomatic 14, cognitive 32): resolveDuplicatedEntityReferenceProperties has cyclomatic complexity 14 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":"src/framework/entity.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552a46f0ecc75d477182bd7372e29535f163100720e0f843e9a72c22c2bf8ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeDistanceRange (cyclomatic 14, cognitive 32): computeDistanceRange has cyclomatic complexity 14 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":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"00724b531d79974726a16ab58b9d97b64e761c78d5c0a3ac8e5a824149a44d9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveMarkupTags (cyclomatic 14, cognitive 28): resolveMarkupTags has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/markup.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"00017bdd9400632b6fedbaa33907462ea1935487f008336bcd499c73f6f20455"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _parseTag (cyclomatic 14, cognitive 24): _parseTag has cyclomatic complexity 14 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/markup.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b93f3c2b0cdbd556a606513174334b2e88a1486345847da3fda6664d98b34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _syncModels (cyclomatic 14, cognitive 23): _syncModels has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/app/components/code-editor/CodeEditorDesktop.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2868e1e69e755ed3e3c24033148cda78e5b1efc0c52e02431f2888143647411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectUnapplied (cyclomatic 14, cognitive 23): collectUnapplied has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e025752f66a13b28adfb57e2a29bef59b00b3a9d3d27790c2e5f050b028fc8cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _initTextureBased (cyclomatic 14, cognitive 23): _initTextureBased has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/morph.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b9ccdac7238cb80e863aefcf044c927e1f01c6fb5a8d7f7f368884e301ba86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submitCasters (cyclomatic 14, cognitive 23): submitCasters has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bb1a1be82248379c42317e5cd6b82bab534b24c79020f269efead176b4ad3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _iterableToArrayLimit (cyclomatic 14, cognitive 22): _iterableToArrayLimit 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"32efd43ed39777153596f5d8356877852e4da42c344cfe9383c3094f90a65db3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clips (cyclomatic 14, cognitive 22): clips 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":"src/framework/components/sprite/component.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2215c9c38f7f3e5e84702c1a90463f7228a1080d1e521b9781b6794b9ba385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createVertexBufferInternal (cyclomatic 14, cognitive 22): createVertexBufferInternal 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":"src/framework/parsers/glb-parser.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1bde60c7db5b6cbdeea6c7fedcd7445de8b641af88f3d8929d46caf50bec5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNextFrameNumberFromLast (cyclomatic 14, cognitive 21): getNextFrameNumberFromLast has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-flipbook.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ec603a224d810b2032519b8a5deb70db3b1abcda54f580e33541ec8a5f4713"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _transitionHasConditionsMet (cyclomatic 14, cognitive 21): _transitionHasConditionsMet has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3190dc44825ef30c011b7f21b58ccaf1d1e9a8cf834400de073cc7b13b7825c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 14, cognitive 21): load has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a61a7cca5689cc133c87d609d29d53790a16b121788aeeb26654a2e0ca21e82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decompress (cyclomatic 14, cognitive 20): decompress has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"553e3616498b13407a16663ce3cf29c0fb3d95003ca441788bf6d0a5cd165098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queueEvents (cyclomatic 14, cognitive 19): queueEvents has cyclomatic complexity 14 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4580}}}],"partialFingerprints":{"codehealthFindingId/v1":"22260a06d60f0b4a3a71578509292c04cc3ba3b9cf269483681f79726a5f3b27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quad (cyclomatic 14, cognitive 19): quad has cyclomatic complexity 14 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":"src/extras/mini-stats/render2d.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eef032be934deca8bb8a562b1e32ac8229831367bc4327f6b8f9647fbe5b4cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 14, cognitive 19): update has cyclomatic complexity 14 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":"src/framework/xr/xr-manager.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ee43382f6a2a136bad5e36a80f0bbb218a2bb92c471db515abfe7ed1d92f49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 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":"test/core/block-allocator.test.mjs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae31765d3a5a3dfd85421d61b267d71208e952e1b87cba50c78d08bfa368640"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _rebuildFromImage (cyclomatic 14, cognitive 18): _rebuildFromImage has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-image.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee06a7b3916d3ad3ddfea12bc8e85c5e9429d0b00419d4146fd7cf3857b1352"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateValue (cyclomatic 14, cognitive 18): updateValue has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-target-value.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e36e35646805f9be9fc52e9bc7cd430d18dedb608082760ea9ae69860a40b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clear (cyclomatic 14, cognitive 18): clear has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-clear-renderer.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7d6fa940340e79f9330bed27d07b935aa9a62435ebc814c507e3e7cf483935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderForwardPrepareMaterials (cyclomatic 14, cognitive 18): renderForwardPrepareMaterials has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4dfa83af6a804fb5c6094bfe5378009f18af2683a222c6467273659862ccab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 14, cognitive 17): build 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":"test/extras/voxel/voxel-occupancy.test.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fae5cd6ea75a3c594e7240dcf55ec84dee82f61f6709dcc7d9724ac6c8541f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTransformMovement (cyclomatic 14, cognitive 16): applyTransformMovement 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a607e8f2cc4de7796faece458699a19462bfa08db0c74473cfc9c4dcd30fef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTheme (cyclomatic 14, cognitive 16): setTheme 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":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49de0f798d1ff0b401fba7f6dd34df31c278b0639a4e385d86218be491708fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shadowColor (cyclomatic 14, cognitive 16): shadowColor 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":"src/framework/components/element/text-element.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a91e9739438db8006d95382d8b7ab98b5c3b7c322103f25dec8be2ed0ad5f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 14, cognitive 16): initializeComponentData 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":"src/framework/components/layout-group/system.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"85620f0e36337284264e70ee991b11c34aad3feea619c7124d0d7e5d31cb899f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply1 (cyclomatic 14, cognitive 14): apply1 has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b90a42f0b93b4977d5cb0bc5b29061fc4fab5e6cdc5546dd99ecc5c3d69b3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _allocateBuffers (cyclomatic 14, cognitive 14): _allocateBuffers has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15856}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de66dfb8616abf2e6299a5a966cffb8da01ef1743800b71c8ddb87fb30df445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchGroupId (cyclomatic 14, cognitive 14): batchGroupId has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"deea0bbb9e5ce9ea6cf5e7d6b87b7e64789e70adc14deb91b5ecb1543a7f5c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGlb (cyclomatic 14, cognitive 14): parseGlb has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b14c611e2bb647a6ab10f37927ca8d6cc8f1b90af64c6d6b7a50f9bd9f85243"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEnvOptions (cyclomatic 14, cognitive 14): updateEnvOptions has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/lit-material-options-builder.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"671fcf58a86f79f3bf92ee5a232823ccacd9049b25ac951ec2a19b27d39f8faa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateSharedOptions (cyclomatic 14, cognitive 14): _updateSharedOptions has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9efbc9a2cdfa8b51070932ef02b91b88f824804bb67b16f304b14d3ef05c5af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 14, cognitive 13): render has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/app/components/Example.mjs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ba2da87b00a98c4aa37947e3355748a86ac102a528fcfcdd6d2d1dae61201"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply1 (cyclomatic 14, cognitive 13): apply1 has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3562e46bf641e74a7020f0cad423109e54333bd1c6bd356ded10f39ce1ce653"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 14, cognitive 13): constructor has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/shape/shape.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4c35c0d2188e8b103bf46d30d7cd543bcd4125e9db94335d77e6e54f1a387c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activeSizeIndex (cyclomatic 14, cognitive 13): activeSizeIndex has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ea5ee8efb813ac6eae8b88f20504f98136e98f622146e72316da7877629b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getWGSLEnables (cyclomatic 14, cognitive 13): getWGSLEnables has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-definition-utils.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e56ca8103b0af32020a2a192adc8782f35b0ef552a7cd863d8956af6865dece"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 14, cognitive 13): render has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/frame-pass-multi-view.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1d4fa36ce50855759e7e19f0c34fed6863aae8614a1feb58ccc60c2f1f9686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyBlendState (cyclomatic 14, cognitive 11): applyBlendState has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3060}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebfcc3fa4c8a8611e82ba7b126f856e412c0629b32b9efc73817510194dbaed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareForwardPass (cyclomatic 14, cognitive 11): prepareForwardPass has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit-shader.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067623396bf9e6c25220201e26e8de73aec6cda10c175dbd4d673d8a316a178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decl (cyclomatic 14, cognitive 9): decl has cyclomatic complexity 14 and cognitive complexity 9; 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":"utils/api-surface.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"405a7f3f4e64ed96c591d9e6838e7c1d546b017d0c108ea1f1646ab6aa040282"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _cleanOldCollisions (cyclomatic 13, cognitive 44): _cleanOldCollisions has cyclomatic complexity 13 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2e32a5de1866d21634321b404e0bddd844eb067d95d71d1fa9ce84b2585c54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function castShadows (cyclomatic 13, cognitive 33): castShadows has cyclomatic complexity 13 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":"src/framework/components/gsplat/component.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a137eb5fbc410e08a12780cc9efe4a684b3b84ff13d8ec965fc38eaaba35f100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getData (cyclomatic 13, cognitive 30): getData has cyclomatic complexity 13 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":"src/framework/parsers/glb/gltf-accessor.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"df53c43392a65bc225b3c91f9fdc95bd8a39ec328bf6656eeef3f1498b83e67a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _processArguments (cyclomatic 13, cognitive 29): _processArguments has cyclomatic complexity 13 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/tags.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32247d0dfa47507b6fb050d5a82256e34c439950ff15a18c572bb363eac1839"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBindGroup (cyclomatic 13, cognitive 29): updateBindGroup has cyclomatic complexity 13 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-compute.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d0437f917cc08725238d36a131c9f802a74b76191cdbf57be93b627ea1cccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 13, cognitive 28): execute has cyclomatic complexity 13 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/render-pass-picker.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d03e00125ca892ec476ea16253778cd428a58119650541040c730b6fcede8b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _update (cyclomatic 13, cognitive 27): _update has cyclomatic complexity 13 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/evaluator/anim-clip.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee4a807ad93c2c87b24b1740ee4fd29d5598db45014115789fa3a6f13dfc095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getSelection (cyclomatic 13, cognitive 26): _getSelection has cyclomatic complexity 13 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/gizmo.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc4a8881a6ae055ebd188b42304438e7657f333dc3c66b75226fdf549e87064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 13, cognitive 26): update has cyclomatic complexity 13 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/lighting/light-texture-atlas.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ddc3c1e630ee7d21716758d6bac48856a5808814815344d02e2979b45e1cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 13, cognitive 25): update has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-controllers.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"698208fe21b3d71a7e7b20a7e344558b25437296cd109510a1af3b0f3c4bfa41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 25): (anonymous) has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c292fd78122c4deae55b6187d8275f6a436cdc49dbbe33787d3ed3462dea437a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _buildAabb (cyclomatic 13, cognitive 24): _buildAabb has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/camera/orbit-camera.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4147c1d9187f31f367ef47a3baf85d5fd9d30eafb31faa7b73af6345702fb992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readDrawOrder (cyclomatic 13, cognitive 24): readDrawOrder has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7368e848c99b29f68a080b9c4fcb5a048dce91b3ee2afa1bb9fd5e2beb88beaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPressed (cyclomatic 13, cognitive 24): isPressed has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e974fd8f39c4d17402277dadf61c80c432c4061d498a4e3bae0563bfa55813c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wasPressed (cyclomatic 13, cognitive 24): wasPressed has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/controller.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d68f81102e1dbf7de0161d70f3f6d607c1e01a931db9f5f87288450f5b150bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _resizeBox (cyclomatic 13, cognitive 23): _resizeBox has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef194336f684a6c79576038445a0d9479e63fe3329b1d8bacc47ec41bc10d148"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cullMeshInstances (cyclomatic 13, cognitive 23): cullMeshInstances has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"621a79dd002a1e4d8c8b08df8a68f9e41c6f385b912be75be55406824e1934da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Range (cyclomatic 13, cognitive 22): Range has cyclomatic complexity 13 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15174}}}],"partialFingerprints":{"codehealthFindingId/v1":"89092c1273d58ce5a692c6fca68b15ef93eb269ddf231e7b9bbdf93ac4e162bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _intersectsRay (cyclomatic 13, cognitive 22): _intersectsRay has cyclomatic complexity 13 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":"src/core/shape/bounding-box.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6234080fb944872cf315154808e8437cd0da9b9da5f493d9ff7faa0402552a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 13, cognitive 22): resolve has cyclomatic complexity 13 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":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd90e0e145ad80cf3d4ce2103e15318a2202c90b89541401f00553063fc96b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generate (cyclomatic 13, cognitive 22): generate has cyclomatic complexity 13 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":"src/scene/batching/batch-manager.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"100513c0e6e31935fe8b97ad5f0f99e808997ea31f6085abeee8425cc85c5b08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sort (cyclomatic 13, cognitive 21): sort has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f378ab3301ed54eaf3248981538014f623c287b2988ee73169d6297a9d95b30a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildResourceFormats (cyclomatic 13, cognitive 21): buildResourceFormats has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecdfd825b28229adca1b71990c5fdc76be743cb73d63cf8909ce662d6f128df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRenderInfo (cyclomatic 13, cognitive 20): getRenderInfo 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":"src/scene/gsplat-unified/gsplat-work-buffer.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130560954d560dca5c75a694674faed54d314200f4d3e15fb7dea24419736f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _normalize (cyclomatic 13, cognitive 19): _normalize has cyclomatic complexity 13 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":"src/extras/effects/lens-flare/lens-flare-shapes.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e1155c8c6e31f6aafac57f0aa414e60ddadd8a9d5ca54ef963c5f8f96cc4a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function model (cyclomatic 13, cognitive 19): model has cyclomatic complexity 13 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":"src/framework/components/model/component.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"08af4d6ac96c8fde9be725a3da746791629909d6fead00c9a4483cf92385f37b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 19): constructor has cyclomatic complexity 13 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":"src/platform/graphics/shader.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f828d78b8ddb0fa901b55901c42c5bad05ad699b8e677bde03cb53788428d94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 19): constructor has cyclomatic complexity 13 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":"src/scene/geometry/sphere-geometry.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34090d3e436451f2de4017dc823cf62fd8766af927c6177d55382b1ab9e0e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeControlValue (cyclomatic 13, cognitive 18): sanitizeControlValue has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/app/url-state.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"75595f8bd56969ba4d06c1b0cf426b849edfe8bb278025efc3cca4c913ae80ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDevice (cyclomatic 13, cognitive 18): createDevice has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bca8f97ce2642b47b242b020001ac6bdd916a24d9cf108a8cfd99cd5aa65ef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _updateIds (cyclomatic 13, cognitive 18): _updateIds has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-map-transforms.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b2e0564ba40378034b82c8252015e6c7b2d1009226a0ae104ed7798533ed08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15561}}}],"partialFingerprints":{"codehealthFindingId/v1":"29008f1316a5889b577554e55622e2df15c5dff7a4856b17f60bf408882e7e13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawShapes (cyclomatic 13, cognitive 17): _drawShapes has cyclomatic complexity 13 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":"src/extras/gizmo/handle/capsule-gizmo.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"899a9228393302563ada11cf9cc0b34d8ce1a9b4f87f5b334ed82b9e55cdc418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupScenePass (cyclomatic 13, cognitive 17): setupScenePass has cyclomatic complexity 13 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":"src/extras/render-passes/frame-pass-camera-frame.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"02534b71bbe2cb1d11e28418b37fc52fe1b484fd01f4a8f496725ce41e32494f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _prepareUniformBuffer (cyclomatic 13, cognitive 17): _prepareUniformBuffer has cyclomatic complexity 13 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":"src/scene/materials/material.js"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfed9d09dbf869e60e28b1e2c4b7cfd387c7b28f28360adf761c1b517fb6ac22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _rebuild (cyclomatic 13, cognitive 16): _rebuild has cyclomatic complexity 13 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":"scripts/esm/gsplat/gsplat-trees.mjs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"58718ab92a2c9ddf3d5e54212e8d60b633324dddfe6c357b89934c776e8b7691"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function textureToCanvas (cyclomatic 13, cognitive 16): textureToCanvas has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/core-exporter.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af7f0c9d1b8223593f45cd01457dd563adcf30fc0ee7ea1c3029add2027761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 13, cognitive 16): parse has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/texture/ktx.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"207ca8d899e9eb082e4eec036778373a76f5226730223eb624efb3452c008904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSpz (cyclomatic 13, cognitive 15): parseSpz has cyclomatic complexity 13 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":"scripts/esm/parsers/spz-parser.mjs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3146349cbbaf26abae4e1621c8b347fdf2813ef8d914b0f6af718de4df242ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fire (cyclomatic 13, cognitive 15): fire has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/event-handler.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18aba7c37235fedb0c06f5d80486a68d10eab97b957b7db4fec81614f933afa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareIdentifiers (cyclomatic 13, cognitive 14): compareIdentifiers has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":14428}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ccba0d0a6e0580e1c10fce7d9e0bfcc3978f1bd8572fefaa40106418c67fce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTextures (cyclomatic 13, cognitive 14): loadTextures has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"368dc4fc711817a36af5801f20ecb709ba94fed107fba729aa2a8a7ec488408c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-bind-group.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"763ca5d94aaf83dcc52ba946984cefbb0b3c46e96ee0570550134431e1b42f42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSplat (cyclomatic 13, cognitive 14): renderSplat has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-work-buffer-render-pass.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce67583ab0cf8448755c7331f5316c4a05157e3883bbd5ba89f91cb42d5dde1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuildWorkBuffer (cyclomatic 13, cognitive 14): rebuildWorkBuffer has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a237f69697801c62fc4920da51f804b32b19797f0bc0dc86d3c49f58227355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 13, cognitive 14): update has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/gpu-updater.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4337a2bcdb7f2d4015f9e5725b40604c8a0c43e31e8aaf02f8aee2bdf258ed44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 13, cognitive 13): tick has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3938a9cae26ef66ae7ed175693df68ad7d7d01fd9c43871c35385746ef30b9f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/i18n/utils.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff62a8c1c24745989c2d945201f6cf31452e2066ec80ce18e202e1efca91e1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addRenderAction (cyclomatic 13, cognitive 13): addRenderAction has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfb090e182bfd83c80581666d85090e80bc5a76b2ddccb5b7dae6c7e4780f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasChanges (cyclomatic 13, cognitive 13): hasChanges has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-placement-state-tracker.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e480f2d4812e515c2547748b010c5d8976977e7293a7bdd3af6d1bbf807fb109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSharedOptions (cyclomatic 13, cognitive 13): updateSharedOptions has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/lit-material-options-builder.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dc07430c3ae5f65dc37db8dda4995003a6e4869fcadd07e5114a71655a04ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _shapesLookAtCamera (cyclomatic 13, cognitive 12): _shapesLookAtCamera has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ba271e5d2005df75498683b11a31006148f46fac00686852e3d2a305dc901"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _shapesLookAtCamera (cyclomatic 13, cognitive 12): _shapesLookAtCamera has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/translate-gizmo.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612ba239bb8fabad572b8035b8737db922dec2b0743be101b7cd54d120e28e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 12): constructor has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/render-pass-downsample.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0614cf6cc1951652b47f2bac502ad6ac10a39054bbe28f4248ca0db2f10b133d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _completePartialMipmapChain (cyclomatic 13, cognitive 12): _completePartialMipmapChain has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ee57a372b2d1d2ad41e0a8e495aa2c36a976834491a2baa204d73267d400d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/i18n/utils.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"40844143b07ebc4f567291a4d10f2e72d085d6afcfbbc45a5db099ecaa2c257e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeCapabilities (cyclomatic 13, cognitive 12): initializeCapabilities has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"17083e24ff310343781091749512a5c07c2939d383ef1252d5c554299454a24c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateKey (cyclomatic 13, cognitive 12): generateKey has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/shader-generator-shader.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dca4cef7d1797ff3a6887705a4c69fbebf9bff6c4431cfe6b3b63a7b336b04c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTextureAsync (cyclomatic 13, cognitive 11): readTextureAsync 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf57422f0357ad1fb76d789168a2bfa4f1dcf6685f01578f1dbaf5ffc86aaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c10333a613bf1bafe2a942583e7650bb9e03d24411212350b27a7c4015e69fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unlock (cyclomatic 13, cognitive 9): unlock has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2c36f0f0017ff84a0b13615f2e913c48e3503156447d18ea7e0aeb05db4443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unlock (cyclomatic 13, cognitive 9): unlock has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/vertex-buffer.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d9ee6ba09b134f092b3fe822831bb017c4852998eeb8ec87c5146a90d68c68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPath (cyclomatic 12, cognitive 38): extractPath has cyclomatic complexity 12 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/path.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02cfd7ef81c02b70a3e1771be09b3dbb5742ec5cf6ac024e3edd7070fcbd6ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 35): constructor has cyclomatic complexity 12 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/state-graph/anim-state-graph.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b096a561503e1d5cbb6442cc13471d5a8fcd19771fc4e8a79c1d045e393b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventsReverse (cyclomatic 12, cognitive 34): eventsReverse has cyclomatic complexity 12 and cognitive complexity 34; 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4610}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73e03e7c12374d7e82f4ddcddd902aec428b9c095576038a757606f7185e776"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addClip (cyclomatic 12, cognitive 32): addClip has cyclomatic complexity 12 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":"src/framework/anim/evaluator/anim-evaluator.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbf7a2ba29722d0518fff796db2a766f68a070b97d5103903d2b458e749728a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function castShadows (cyclomatic 12, cognitive 32): castShadows has cyclomatic complexity 12 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":"src/framework/components/render/component.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31d197aed6aa85c18434c8b85084f21dd21c34f6acda01c71a0b2b17725fe3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initDepthStencil (cyclomatic 12, cognitive 30): initDepthStencil has cyclomatic complexity 12 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":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b72642bd1bcc191e25d5d959e98cac9d2b7e87aa93de6145eaa6051aa8b4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _decodeBlocks (cyclomatic 12, cognitive 24): _decodeBlocks has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"863d9ccc2872767bd3d62758da015687c6ebaf105f244882516ede2b45cd43df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function castShadows (cyclomatic 12, cognitive 24): castShadows has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4736767dc13225ffbf4c9a63faa1f537e5cc3065db71c2b76186e82873d7dd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAssets (cyclomatic 12, cognitive 24): loadAssets has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/cubemap.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea4e6ba715160e8fa2bbc4912bb77ea2b77a422c34fbb74e35f518ddb3ba32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setDepthState (cyclomatic 12, cognitive 24): setDepthState has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c23615d39386f87c89fa51b3fcc70553fb9522d9c23b3c55c2e88f53f41b28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 24): (anonymous) has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e8b53e914a88eda14bed1d8be164b3473e22e6e9868b47739f8e5597c6989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 23): apply has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3993}}}],"partialFingerprints":{"codehealthFindingId/v1":"467a2183089d0afbedfcc2c8d7a4445525905e305f0413ebcfbcc4de40894746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _addMapDefines (cyclomatic 12, cognitive 23): _addMapDefines has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a42da8ee16a836b11318e536558ca839b9af47420d055ed12be291db6a7274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copySkin (cyclomatic 12, cognitive 22): copySkin has cyclomatic complexity 12 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":8912}}}],"partialFingerprints":{"codehealthFindingId/v1":"caede535697966b283b742443f3e2e64daabc5ad3951d7a1afc452b90ec12469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 22): (anonymous) has cyclomatic complexity 12 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":"src/framework/parsers/glb-parser.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef557776dbe13b0dc85d42328d54675b59c0d4887da5c4d4de52d00819ea067"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 21): apply has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b571727eb39b3f075069903fa2b0f320f7b9701196c251a9aec093f42ad61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getTextureOptions (cyclomatic 12, cognitive 21): _getTextureOptions has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/texture.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"704306b7276c5fba6568a088dc6063d187bfaf7b10f622089d7aff3a19d7fefc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateClears (cyclomatic 12, cognitive 21): updateClears has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cc5d9805b9b91f08c0f0fdd351bdf165e1c4e535ef3de1fdfa0cf3ea7ad379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initColor (cyclomatic 12, cognitive 20): initColor has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e5876f2d963c0b440e68ec0a5b8d1cb7b6222bd85f6605a380a600d3a578c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valuesEqual (cyclomatic 12, cognitive 19): valuesEqual has cyclomatic complexity 12 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":"examples/src/app/url-state.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ed33df6a86964bf4ea9a969c1d6a4baf2440ad0d32bd1d23736a0a6b8af33b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function material (cyclomatic 12, cognitive 19): material has cyclomatic complexity 12 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":"src/framework/components/element/image-element.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1877f6ac79e6369cb6ee1e68468003b646b92c0723f221eac40a2ec479f0e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postUpdate (cyclomatic 12, cognitive 18): postUpdate has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/gsplat-lines.mjs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"52543cab2de69ed8012a11fe6af7d6091b34b42c9614de9e86660611bb5133b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeConvex (cyclomatic 12, cognitive 18): makeConvex has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":12175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a320c377374c2abfb1b123c969acfc93f49f5d27495aa84fd1ab40bf3548b046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function type (cyclomatic 12, cognitive 18): type has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d5f34be0acf15a3ae25bed3c1d5dab85bca1e320c073fc90ff5f87b86ef72d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _onCubemapRemoveOrUnload (cyclomatic 12, cognitive 18): _onCubemapRemoveOrUnload has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/material.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9dce3d63f673c3c004f140b9ac9c3c60804bb1c2cbaf495792450b157e0138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _collectAndRemoveMeshInstances (cyclomatic 12, cognitive 18): _collectAndRemoveMeshInstances has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316686956969d89062b836718e83abe6c79107898138a09348c7cbc1d6d5563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyBeforeFirst (cyclomatic 12, cognitive 17): applyBeforeFirst has cyclomatic complexity 12 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2d54d35804b57acdce0d2d7aadd52a92a54f6cae6cea2580589d1c05f91f3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSubStat (cyclomatic 12, cognitive 17): updateSubStat has cyclomatic complexity 12 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":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"496651e6b24da25425fb34bd0b7f164690f89b2fbf1bb06681c7ac299c5a9680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _writeLine (cyclomatic 12, cognitive 17): _writeLine has cyclomatic complexity 12 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":"src/extras/renderers/wide-line-renderer.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e9a09710e02629f76369d6cad60ecd46fe5c9171b0c1eb5fbd362410f374cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShader (cyclomatic 12, cognitive 17): createShader has cyclomatic complexity 12 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":"src/scene/shader-lib/shader-utils.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bdfd34cbabf8bde33d1f0f606403f81aa83efd03e363dc3c8124525ba3a00b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) 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":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cc2d5106057182f0835a50873a803c5719caef9056c1e500820a883a67d3fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawShapes (cyclomatic 12, cognitive 16): _drawShapes 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":"src/extras/gizmo/handle/cylinder-gizmo.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f7fcd0b8fd5b3149d9ae8ff62787f28d4ed2e3d3a45d180c2fe89748ce638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAnimation2 (cyclomatic 12, cognitive 15): addAnimation2 has cyclomatic complexity 12 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4742}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeb6e3941a908e8236b1459dc26e7d5104bd0c3d030c0e91ed20c34b079c588"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTimeline1 (cyclomatic 12, cognitive 15): readTimeline1 has cyclomatic complexity 12 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":13467}}}],"partialFingerprints":{"codehealthFindingId/v1":"6438a71c826f24f98e903dda3952160d71d736044b42960dfb6b1d8ab4081cc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _calculateArcAngle (cyclomatic 12, cognitive 15): _calculateArcAngle has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d5db92c0fb6330e7d3127353fe82e5c181cf52d8c3ccbf803b9b22b84a3fdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 12, cognitive 15): destroy has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"535ba8fa60a55b760f8c24cffca8fe428babd4e8bcef3154fa84f581dd6e433d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfiguration (cyclomatic 12, cognitive 15): updateConfiguration has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fec87a7ecf0a43d2b09b4122c194e2a89d5b7a5d4eb77cc0c5355d285dfc7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUpdate (cyclomatic 12, cognitive 14): createUpdate has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/utils/vite-dev-server.mjs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"17af2a0cb7a1ea317ddea5eae52ecb5ea197127309ac7d36d6f2f6002858d879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 12, cognitive 14): update has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/graph.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7846e5ff7645206b5c152a032efb26ee906cb111c28380dd5c8848d3b5d4388"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sprite (cyclomatic 12, cognitive 14): sprite has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba7293f94c507eb1665c1a585a78e7127b62858998d0dad384f87bbecc34f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchGroupId (cyclomatic 12, cognitive 14): batchGroupId has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"298a8593c90de0986e0348cf6f8e7ab2a7a258052d35ec08a9d8807cfd8e31f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function allocateAttachments (cyclomatic 12, cognitive 14): allocateAttachments has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dcccd61c6f5763f678f59eb9868999c811534d016e3786b92314bcff16d981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 14): constructor has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/game-pads.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7151ff9b912fa0e9e7a40bd4e6405de500332d3d5f4a04fe5a66eaa74da3da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 13): execute has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4474654eeb91d3548f4675f68cb9186a0549ee7680208fd7bb0f2552276801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortAndProjectForCamera (cyclomatic 12, cognitive 13): sortAndProjectForCamera has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffbfc152d7c0be7e07be0f434d6e8e2ec0488d495442300cc492ae40b1c166c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyExternalImageToTexture (cyclomatic 12, cognitive 13): copyExternalImageToTexture has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/webgpu-shims.mjs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"021e65397ac653eb69c7c05edb0d11b366104fcf861ef4e34e1cce2110596353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) 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":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af42065fcddc3583dd42ad00a008f48a7db9f6090150bd5ea8a9e8453938f8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 12, cognitive 12): initializeComponentData 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":"src/framework/components/light/system.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ca33851641e89141ed39b9e5ae2dc629884ad2e755acb4a0662201627f084e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extract (cyclomatic 12, cognitive 12): extract 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":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50dd2587aa0a867c55b5d02e5ee58b8919fca949f1ab38add2b7ae3ff5386bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureTreeNode (cyclomatic 12, cognitive 12): measureTreeNode 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":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ee57dca95cc37f5193988d6c73be67b41498d33b335549a377113dcfdcfdb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 12, cognitive 11): load has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/gsplat-asset-loader.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9314de919f5a49bd5f282c2c1311e8622ffd854106e529da8102196373b69630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchGroupId (cyclomatic 12, cognitive 11): batchGroupId has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f233a8b37de937248484fd1d24de5ae62a8bc61c6927ff618d6c03db0e12a576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sortElements (cyclomatic 12, cognitive 11): _sortElements has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55b74c13a139614a38e475835bb8b7a00baf775acec2fbfffea080aa33c7d4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRenderView (cyclomatic 12, cognitive 11): prepareRenderView has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9e2fbb4a124ae3d05c17978eb1644058e2facb15077586d818fab89b8ca03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBundledOptions (cyclomatic 12, cognitive 11): getBundledOptions 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":"utils/esbuild-build-target.mjs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2a28bf3e4aa44caed1ffc4e2db5e434802c88447aeb9056e560af768b836b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setGenerateMipmaps (cyclomatic 12, cognitive 10): setGenerateMipmaps has cyclomatic complexity 12 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":"src/platform/graphics/render-pass.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"45932b88cf3e4be722370f3c4847ef3513b7e389304e9da0e0c82fdb98884d58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sync (cyclomatic 11, cognitive 34): _sync has cyclomatic complexity 11 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a736f5986971d80c5c6fa95b0de1266a491932ff350ebc5bdc285e5261a55c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawBrackets (cyclomatic 11, cognitive 30): _drawBrackets has cyclomatic complexity 11 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":"src/extras/gizmo/handle/bounding-box-gizmo.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cfdfb4c0606fd1a840a39256bfe11d5ca4c39301805c28a7e3124ecfa3cdd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getTargetElement (cyclomatic 11, cognitive 27): _getTargetElement has cyclomatic complexity 11 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec188fa374591f15ac0cd4b24320ff272d9aa6dea6363fa4fe49c513fd9d76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 25): constructor has cyclomatic complexity 11 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/parsers/spz-parser.mjs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd07cf9a705c5b06f14559a2e0420b518de29025fda50d295addd40c351f4a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateWireframe (cyclomatic 11, cognitive 23): generateWireframe has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae193772418a2d6ac1ce460ef75325f300fab1b527a24bd8ae76b17a3cc3c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderShadowMap (cyclomatic 11, cognitive 22): renderShadowMap has cyclomatic complexity 11 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":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f026e4a6a7836c1388850eced7c0d933d1b06c4b0a33bd9220d5b1423de5617"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkin (cyclomatic 11, cognitive 21): readSkin has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":9931}}}],"partialFingerprints":{"codehealthFindingId/v1":"1786ec9e718ac5715e0eb96f3d64c7af8e16b25192a035f57f53c6599f60261b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drag (cyclomatic 11, cognitive 21): _drag has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e78df1b2159a3d361cd6910ade6f155f692cc0eee2552784e41b0a427cfb60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drag (cyclomatic 11, cognitive 21): _drag has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/translate-gizmo.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"633ee0c926744386a0009c61d52928c33f51077748dd7ae747222aa7b962f20b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeEffect (cyclomatic 11, cognitive 21): removeEffect has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/post-effect-queue.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00193b08079644cfbf6994ada110c9d7c7d027771b355b2506bf2c741d68470"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core/block-allocator.test.mjs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"006c0c08c4b4bd056ad02be27475244236d97b1ff05e1a37b1ae921c1ee981fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _revalidate (cyclomatic 11, cognitive 20): _revalidate has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1d9494e563a06ea5c35e2b30f2037ce6f4b5911912207fef982ad55979f041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _execute (cyclomatic 11, cognitive 20): _execute has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2238aaeffd4475d3445c85f5e6ad1e6ac7aa751872410c22c47353785186d1ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _create9SliceMesh (cyclomatic 11, cognitive 20): _create9SliceMesh has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/sprite.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2224ef612e939e1f40a84ba08d1b0272eb7134405d547da745a01c2764e06ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _showReadout (cyclomatic 11, cognitive 19): _showReadout has cyclomatic complexity 11 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":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"419761041b7a18a4e9591fa748154728b5a8ff964189fe5c991882558b6649c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _writePoints (cyclomatic 11, cognitive 19): _writePoints has cyclomatic complexity 11 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":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5aa040833d57e01d1c22ca2e7b383782f713f8e0bb03938c6dc2845450b828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layers (cyclomatic 11, cognitive 19): layers has cyclomatic complexity 11 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":"src/framework/components/element/component.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf47da0efdb2cb270700b800b5b496cc8fdd87d668af98870fddb5cf95c3a5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeComponentData (cyclomatic 11, cognitive 19): initializeComponentData has cyclomatic complexity 11 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":"src/framework/components/system.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d9c5b2f7d6dd8bfa3ead16c86651b1d9c33e1136b9c99f63fac9566291cc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testSet (cyclomatic 11, cognitive 18): testSet has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15589}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e367c0f5e5a6307c47c524a25b60b80a8b6001c96cce603c8b267752d824ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateSizesOnAxisB (cyclomatic 11, cognitive 18): calculateSizesOnAxisB has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"549553479c7ebfd8ecac12d870b5821f432d0a488eeb6e4717f023f5c1f956b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function link (cyclomatic 11, cognitive 18): link has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2bb16b35575088ca0d51d0c9dc0b402380aade56fda95130706ae8a14739a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeEffectiveDistanceRangeLinear (cyclomatic 11, cognitive 18): computeEffectiveDistanceRangeLinear has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1846385a2c7c2ba5af702858e8f52be21405240a05624774b0c42a51668f6998"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function warnUnappliedMaterialProperties (cyclomatic 11, cognitive 18): warnUnappliedMaterialProperties has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material-debug.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c461456911a509096a75e35a52b12afb9ab18e8bc0e99ffa414ce226cdbffc78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sort (cyclomatic 11, cognitive 17): sort has cyclomatic complexity 11 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":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb08f647fba8cab6f1b66964687e326aa9495038327d186323daf301c855d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortIndirect (cyclomatic 11, cognitive 17): sortIndirect has cyclomatic complexity 11 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":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"575cb1d0b2ddeab58ed74c191e8351bbcfc3fdc36b1623639a55342afe6616d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAllocations (cyclomatic 11, cognitive 17): applyAllocations has cyclomatic complexity 11 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":"src/scene/gsplat-unified/gsplat-world-state.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb86d92c79e172e9db2b33febda887cda863a3c4b4fb35b127c937632b10e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 11, cognitive 17): read has cyclomatic complexity 11 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":"src/scene/gsplat/gsplat-compressed-data.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa33e82004b0f139945bb878efc6183a9ed7122105552296f0a01edd0407d2cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffLeaves (cyclomatic 11, cognitive 16): diffLeaves has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/app/components/Example.mjs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaae3e1f92220a59c92a8e359f1455f6debc99dff7c452ea9deddfc08aec476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeUVs (cyclomatic 11, cognitive 16): computeUVs has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ce90f2f8c5b470149ffc88f2cda20833a978f2e51f96f94ffe58dfc5369288"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _createLightingTargets (cyclomatic 11, cognitive 16): _createLightingTargets has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"19803c7ee4ecaf6f7c7bf4be9007423c2181977fb883ce1f7c51122da44fcd5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rootBone (cyclomatic 11, cognitive 16): rootBone has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca8b0ddca4a9146c79daf91322a5665ffdc4f9032fead3d9cf76b96f7fbeedf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set (cyclomatic 11, cognitive 16): set has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script-attributes.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d43d19e3479dd3f7ebef34664d8df2de181b93758a4417c9526da2a7659bfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/utils/generate-vfx-textures.mjs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0fc13511de6519b9e5acbfdd6a6816441274852ca6a53f2140721e7e6c74d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _drawShapes (cyclomatic 11, cognitive 15): _drawShapes has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/cone-gizmo.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bb7628d3fee251aa9c3a5bc5670bfe21f9917f4e7cf5cd61ba40ad0d74711a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enableSimulation (cyclomatic 11, cognitive 15): enableSimulation has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"804de742310b95ad6c4d957ca694d6851f03890677e0be446d3d77f8f718f55f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createGraphicsDevice (cyclomatic 11, cognitive 15): createGraphicsDevice has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device-create.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b91a0616c911eb559a1436c59b6cb036dee1e54dab504017ab791df46000b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSuppliedTexture (cyclomatic 11, cognitive 15): validateSuppliedTexture has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cd2fb47fabe84bf961525e9ec606b8e15059c1c8e49a9a3692664c50b4039d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateLUT (cyclomatic 11, cognitive 14): generateLUT has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/gsplat/shader-effect-box.mjs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed60b0eaf70db07b42ffb5de17edbd499d8c50b6d6a6c5d92cf861e176d9a1d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 14): update has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/physics/vehicle.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222687efca5721a71af4821b01f315e8f76be89d54dff28c857a0de01151896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply1 (cyclomatic 11, cognitive 14): apply1 has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda426e417d5fd7cbb21bc63c1aeed834ca63c7e5c2a969ca18b92841c38e1ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize (cyclomatic 11, cognitive 14): normalize has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/path.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1753f1fcefb4749cdb8dff29c80aecacde61a32c6761e8a61dce3f2eb1d9627c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function line (cyclomatic 11, cognitive 14): line has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/overlay/overlay-renderer.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"d694022c343345ee6cc72fa28a5e387ee3532e839adb5342347bd231c00e402e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchGroupId (cyclomatic 11, cognitive 14): batchGroupId has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00d7aadd20c2a42d7f74313085bb2a692e00d5b93272e39a005d1edd27116fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _validate (cyclomatic 11, cognitive 14): _validate has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/i18n/i18n-parser.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36b7e4d97f661d7cafd21a57c992911820959e4231b6c5c39d177bdf6ea8670"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 14): constructor has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-view.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd2ee68d65d4bea8b6b70c0fd8fe93114a0140bff1888db8bbea97a5196afef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paramsIdentical (cyclomatic 11, cognitive 14): paramsIdentical has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ede338ff05ddf93ee1149e78670c2f41c697e4cb3403753d94cebe9a805e423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _solveAnchored (cyclomatic 11, cognitive 13): _solveAnchored has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/xr/xr-manipulation.mjs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d44f682bf283bca629a35a76482ef8a877c3f680198551bc756cd95dc624e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _buildEffectChunks (cyclomatic 11, cognitive 13): _buildEffectChunks has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/render-pass-compose.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae76cd1bbd64456f950df5261ec5336451601fb70fcf8a8e138e736151cfc79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reverseLinesIfRequired (cyclomatic 11, cognitive 13): reverseLinesIfRequired has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37fe40ecd4156b747afd50d0bfe4ca2d3f74f517a66b1f78a35ba6a1fcb96b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _update (cyclomatic 11, cognitive 13): _update has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/sprite-animation-clip.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63d7595d2328467986ab4e5fdc87ac2283a82a04b5a71e74c404173944e404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 13): constructor has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/geometry/torus-geometry.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1ed202feb2af4f9b8dff3b6b9162f4268f8565fb87ef78b58a6e85ed5e0d16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function balance (cyclomatic 11, cognitive 13): balance has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-budget-balancer.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7bdf49a0aa3d00e543d20083aeb34f344315ff4b7cc10969c70fe5bc1e4183"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calcAabb (cyclomatic 11, cognitive 13): calcAabb has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-data.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde475988f91e8da1c154fbbc2b7b5b8e1b80d5e6de2d7365f2de002c678bac9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function member (cyclomatic 11, cognitive 13): member has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/api-surface.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaed26951273faaaba2b6b05982c92ebe372cc57e9ddf39f2e27e1243235618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _appStart (cyclomatic 11, cognitive 12): _appStart has cyclomatic complexity 11 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":"examples/iframe/loader.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1fc1a403fd5294367c7f8016155f5a2d3c4f8254382443c6a6daba1e7bc134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLight (cyclomatic 11, cognitive 12): createLight has cyclomatic complexity 11 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":"src/framework/parsers/glb/extensions/khr-lights-punctual.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72a49dd5508ff0beb4f65cb29be868e253cf19e945497504b919a54fbd9a2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enabled (cyclomatic 11, cognitive 12): enabled has cyclomatic complexity 11 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":"src/framework/script/script.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"654ad97c2a2196a0505d7f718b25a2e4377143209f70887b1b3f115be1323f9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 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":"src/platform/graphics/render-target.js"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b0c131edcafe6b880a164e744ca3f5556b173669817a212dcde1bd9b457d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPrecompileRenderTarget (cyclomatic 11, cognitive 12): getPrecompileRenderTarget has cyclomatic complexity 11 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":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a99149297571b1444fc0fd63b4c12e4579e4a6db1c11d0a2658079ae1af6ddc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 12): constructor has cyclomatic complexity 11 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":"src/scene/geometry/circle-geometry.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8aa94df52e8e6cdeeabdc4999e8e2700ffab9ad921d9dd5533e1b9724860bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filter (cyclomatic 11, cognitive 12): filter has cyclomatic complexity 11 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":"src/scene/renderer/render-pass-cookie-renderer.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4906f2c1ebc3d490e54556cd8e4a464618f5c3414602a67b6ca722fd9e57c20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 11, cognitive 11): apply 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"96162d74e43e65c772aa5dfd5c06aa870e46b2f74adc2679b9f44d65157ab3fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAttachmentTimeline (cyclomatic 11, cognitive 11): applyAttachmentTimeline 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d1d899131bf61f329c94bcf66a02aab7b3fc5b747680bf82e402670846a47d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRange (cyclomatic 11, cognitive 11): parseRange 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":15262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5526b9de1ec0d322da2fbadbc6f2a279cfb8355471629af04d0e34e39930bdb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShaderVariant (cyclomatic 11, cognitive 11): getShaderVariant 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":"src/extras/render-passes/render-pass-compose.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9efc1bb392dcbf0277625b664b63f55dde4db4e67df1385d4650068a8540300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _onSuccess (cyclomatic 11, cognitive 11): _onSuccess 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":"src/platform/net/http.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9071174bb79c2ba9763a8dea3a4d1bde060e40c3deebce119b14b7b4fddd1cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUniforms (cyclomatic 11, cognitive 11): updateUniforms 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":"src/scene/materials/standard-material.js"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfdf36323b8807590fa5e951bff8b086a0efd1beb5bd635a1db1104affdfa6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startMobilePanelDrag (cyclomatic 11, cognitive 10): startMobilePanelDrag 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":"examples/src/app/components/MainLayout.mjs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dc8159f3b30c122d9be9e50f0bda1c1fa6b42b7b42f8ad90c7dced2a05fb08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateWorldTransform (cyclomatic 11, cognitive 10): updateWorldTransform 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":"scripts/spine/playcanvas-spine.4.3.js"},"region":{"startLine":6266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8836c574e0d59088999eff7cb8f88b6a8fc0f87749761390cf47f83d3703e63d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function active (cyclomatic 11, cognitive 10): active 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":"src/extras/effects/volumetric-fog/volumetric-fog-effect.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdeb72e180126f769317fb14e51bf4ae2ebdb5e5b3a8e7644843e9b78df4ffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _moveHandle (cyclomatic 11, cognitive 10): _moveHandle 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":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dfff6c6c3d42cbb564b511923f6712c6c82aa68d86b6876869920d9363539c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _iconOf (cyclomatic 11, cognitive 10): _iconOf 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":"src/extras/gizmo/icon-gizmo.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7787336da5500dd5628a9b102534eea466d5161cee7fd639a9c3de08dba1f3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _tryCreateConstraint (cyclomatic 11, cognitive 10): _tryCreateConstraint 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":"src/framework/components/joint/component.js"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8165ea9f842a09a6855a0b91ace5802396001d8ea9e48a1b6473163629c14e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 11, cognitive 10): start 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":"src/framework/xr/xr-light-estimation.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26f28f377e3d8cc945020106144b33933c1befac70d230f912cc20d79e7c9b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function precisionCode (cyclomatic 11, cognitive 10): precisionCode 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":"src/platform/graphics/shader-definition-utils.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a20f99c753c759ed2d332b1529210553fde91a97d07774975b2be4f791f98b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createView (cyclomatic 11, cognitive 10): createView 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":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c582e424f1f36cb4dc3a5ba948c2f477b0b10b21a5efbcf20f6c46667d657d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _removeModelsFromBatchGroup (cyclomatic 11, cognitive 10): _removeModelsFromBatchGroup 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":"src/scene/batching/batch-manager.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e536667bef8d991f1d1f92104e7c0e3f88fc2a038579757d0e1ce911119b609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateKey (cyclomatic 11, cognitive 10): updateKey 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":"src/scene/light.js"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b679eda9f837cb12b8cbb92cf96c3447d6456a6972b9840600c5ed806b5218d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 10): constructor 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":"src/scene/sprite.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f2dcc0fe93a6304275ae7cf6b5426757ed263b9af0aa146a845f42119b2720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectIdentifiers (cyclomatic 11, cognitive 10): collectIdentifiers 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":"utils/esbuild-build-target.mjs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c27526b7706bed16b114b45d593b42afa92eb5f3fc8febbc693cdd2d243438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serveExampleFile (cyclomatic 11, cognitive 9): serveExampleFile has cyclomatic complexity 11 and cognitive complexity 9; 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":"examples/utils/vite-dev-server.mjs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd1d19d1a69b30ef66cb53ddc11bf34e48ab15af83ba898c7c38c88eebc8c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _findTransition (cyclomatic 11, cognitive 9): _findTransition has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea431342015c97a838c162c6a8bc4686901804edba0188aea9df03620f0f435c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareGpuData (cyclomatic 11, cognitive 9): prepareGpuData has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa14c64394eae7dc532c45d7e3bac7215c8185b281256239d97d056eb1961371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShaderVariant (cyclomatic 11, cognitive 9): getShaderVariant has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"838566c03f7e75a04c8ae3e361012e6526c7d1a0a943bc5f3d3ce6ff5da1f9ec"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgl/webgl-graphics-device.js: 2958 lines of code: src/platform/graphics/webgl/webgl-graphics-device.js has 2958 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82abd68ae78b5c7dae996bb3747b8d0f478652af965ad09db0bddfe04b4492c7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/element/component.js: 2610 lines of code: src/framework/components/element/component.js has 2610 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcacf55b48e7ed314cd95b36ab3110e0578d2e8b8f1feade87678dac8376d76"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/materials/standard-material.js: 2364 lines of code: src/scene/materials/standard-material.js has 2364 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd2a137b502d5d1b03515f6aacd303700e00f5456c5c23ee6629d9afc3253de"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/constants.js: 2180 lines of code: src/platform/graphics/constants.js has 2180 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2602831177d19e6447780b70a71c968f0ef9662b31a06693083940c0675ba13"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/particle-system/component.js: 2104 lines of code: src/framework/components/particle-system/component.js has 2104 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/particle-system/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eb69b63b3a459362df0c964146adea6c36202dc159a7e4f9b1d12b3527e319"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/app-base.js: 2055 lines of code: src/framework/app-base.js has 2055 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-base.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87390c13573aa3b9204265afd64aabdc13e89acbdabaed4f8f746b89a5000401"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/element/text-element.js: 2018 lines of code: src/framework/components/element/text-element.js has 2018 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/text-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb79a5a141291ee36a279a30441d916a240ee192fb78d4dad0e5dbda36dd8f78"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-graphics-device.js: 1992 lines of code: src/platform/graphics/webgpu/webgpu-graphics-device.js has 1992 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a1c4e15ebc89f28980a30cbd347b2a64cc726bfa3e7ef549e98db8cf962738"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/graphics-device.js: 1893 lines of code: src/platform/graphics/graphics-device.js has 1893 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/graphics-device.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92880b51e4387e7a815bc8de50a65724e32648e0f456edc13eb945567aa2c176"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js: 1887 lines of code: src/extras/effects/dynamic-sky/dynamic-sky-effect.js has 1887 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-effect.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e07e7e00d13c7a556e756cf0e82b020e8fe0031487bc02f3a7aaa621eabff5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/mesh-instance.js: 1885 lines of code: src/scene/mesh-instance.js has 1885 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b9fe90e24845b1c0fe2e633c6dfc46da27c183d66998c4c121391c4113c58b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/graph-node.js: 1748 lines of code: src/scene/graph-node.js has 1748 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graph-node.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306592e8c33952b916f4d90bbb83456b33ff34cba6b8caedb79ca029e1582a2e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/parsers/glb-parser.js: 1589 lines of code: src/framework/parsers/glb-parser.js has 1589 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/glb-parser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b63102a3ac56e41ca8412030df5e05df81212f89433baf2d7560aae8be98b34"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/texture.js: 1556 lines of code: src/platform/graphics/texture.js has 1556 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070f91f5441ac7aa74484572b761fd51fc65f293db0614c93aa52e5bc2fdba54"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/camera/component.js: 1525 lines of code: src/framework/components/camera/component.js has 1525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/camera/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3d0abbce47a20b9ba600816742b0703219e17a016c677b0da502c4cc300521"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/materials/material.js: 1498 lines of code: src/scene/materials/material.js has 1498 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/material.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e485e2ed9de3d2b0adff6716211b3b8d59ac39a9e93ef00d9b36a09e54540"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/light/component.js: 1403 lines of code: src/framework/components/light/component.js has 1403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/light/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e318a3a4616cd7cdf2ccdcb00f563fea9823747ec8ef556591275007443e37d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/constants.js: 1289 lines of code: src/scene/constants.js has 1289 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/constants.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9035da869ac6c5f93a4ae38bdfca7c6a2c4aaa851a43993fee845dc1b8450160"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/renderer/renderer.js: 1273 lines of code: src/scene/renderer/renderer.js has 1273 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae23b541531ea6a8b27fbb7c5809aaf2d11b3c41524cc9a11eaaf3b417982a4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/joint/component.js: 1234 lines of code: src/framework/components/joint/component.js has 1234 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/joint/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2d60eb98155a620a443e1d6b136b991399e1b193fbce88ce9d06b103bc0948"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/mat4.js: 1215 lines of code: src/core/math/mat4.js has 1215 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/mat4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35232bbea7d4eb3abb2ca53306869cea5aa525e1b5046d4d51f031eabc4ac7c0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-octree-instance.js: 1189 lines of code: src/scene/gsplat-unified/gsplat-octree-instance.js has 1189 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree-instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f20cb44475b8d12967d09671adba1e63b05bb871573a1bfcf40a3f505fc33a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js: 1172 lines of code: src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js has 1172 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd005bc387dea87ab4d889631b6c6fa03cf0daaff84c9a62603ae1b4fb1f9124"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/camera.js: 1156 lines of code: src/scene/camera.js has 1156 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/camera.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2258b74c9fb09eec1619e1c0363880e28e4a28f8fe13cd0a9ef6579502a97727"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/rigid-body/component.js: 1152 lines of code: src/framework/components/rigid-body/component.js has 1152 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac484a9c29acfebae4fc67b27aa2b8a989220f9d353b2b83f81e22d4f642a584"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/element/image-element.js: 1148 lines of code: src/framework/components/element/image-element.js has 1148 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e74d0262cb548dec3584bfb6e2037a72d841e1d8713cb2d199065735a6152"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-world.js: 1135 lines of code: src/scene/gsplat-unified/gsplat-world.js has 1135 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-world.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b751794a2050c727aac2d85d40b4e2b9683b370e559017fa57169f9fd5aaf0c4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/scroll-view/component.js: 1130 lines of code: src/framework/components/scroll-view/component.js has 1130 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/scroll-view/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e233f3708a332fced9fa679150250849191cb85aa66a888b5b5da02e37253f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/light.js: 1121 lines of code: src/scene/light.js has 1121 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/light.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"362616dca30c9cd76dbdfdc054bdbc762a7ab9df1e67951db63dedfa36cfd6e0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/model/component.js: 1112 lines of code: src/framework/components/model/component.js has 1112 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f58208e753d691bc72325e3c5d21a2aaa6b0177589e51d27ffaa59d19c027c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/render/component.js: 1109 lines of code: src/framework/components/render/component.js has 1109 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a0afa3c15af54a3ee1a582b48cb1abeea339308552d7abfb8e910684a87e3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/render-target.js: 1078 lines of code: src/platform/graphics/render-target.js has 1078 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-target.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55f9b3bffbc2926bc5837dba974fea8d09dab0dcf73f1db6ee41cef85935990"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/exporters/gltf-exporter.js: 1076 lines of code: src/extras/exporters/gltf-exporter.js has 1076 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/gltf-exporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acedefe6b8b50dc9e2c4af3a98125e4fce306830a9d6bb438b084e0a54db660e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/button/component.js: 1070 lines of code: src/framework/components/button/component.js has 1070 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/button/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eab8242baf73259dbc6bf5b96ac9ef2217210336f8be681c1d5deec960e69d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/xr/xr-manager.js: 1070 lines of code: src/framework/xr/xr-manager.js has 1070 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b905262644ff3fb4f86c9ffdb68ffb764cad4af3cab614ae2b7fdcfcaf289c2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-params.js: 1055 lines of code: src/scene/gsplat-unified/gsplat-params.js has 1055 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-params.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f0f3926bef3b7f8be013ff8e459aa4b09deb32d1bcfe81007cf190dbdc3dcc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/input/element-input.js: 1041 lines of code: src/framework/input/element-input.js has 1041 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a695ad1610d17cdd6697d53e4a29090235448c08cf9fe46f24afedbe37e5a64"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/scene.js: 1031 lines of code: src/scene/scene.js has 1031 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/scene.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c828980e3c77dee21a3ba1818644a350222465d334473dfa0af97fb0a485be8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/mesh.js: 1022 lines of code: src/scene/mesh.js has 1022 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/mesh.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf03e545eef2fba57f64baee0752b988fbce4e8ab46621d34110931e07ca113"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/rigid-body/system.js: 1020 lines of code: src/framework/components/rigid-body/system.js has 1020 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/rigid-body/system.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46232d8a07c330e3d6fa6322c2b5a2ff4fec3bb2ad654f990038d910f03ea13"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/script/component.js: 1013 lines of code: src/framework/components/script/component.js has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/script/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853c1b12f8e6821050da168b63500fa63b00a3b5435e13afaa20d99940927b47"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/sprite/component.js: 1013 lines of code: src/framework/components/sprite/component.js has 1013 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e932a8170a1cbb0dd3d06be8c53b15e3461b01b39736228efe7ed1928b759e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/sound/instance.js: 998 lines of code: src/platform/sound/instance.js has 998 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/sound/instance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22b3c4c4700f20418f5360048e8c780cc4ed567fabfe8cb501aa2df21d45eae"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/particle-system/particle-emitter.js: 980 lines of code: src/scene/particle-system/particle-emitter.js has 980 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/particle-system/particle-emitter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a29f4a6d2331913c12a52bff639673708935c6255cec2c358205362e82cc8f6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/input/game-pads.js: 961 lines of code: src/platform/input/game-pads.js has 961 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/input/game-pads.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d53d0c9b516adc8946e79e9c2ed1fa21777664abdcb60353e2c969a8dc1c000"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/mini-stats/mini-stats.js: 960 lines of code: src/extras/mini-stats/mini-stats.js has 960 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/mini-stats/mini-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ed04c2cf7d852c6c67c59dda4a3b518bfccbc22f602acf2df45f543f33c9c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/gsplat/component.js: 930 lines of code: src/framework/components/gsplat/component.js has 930 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aa58300474edb0f8e4a879dffcc1123b33592cc83d4de1779b185f3d729a2e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/lightmapper/lightmapper.js: 928 lines of code: src/framework/lightmapper/lightmapper.js has 928 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/lightmapper/lightmapper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121a8e9d66b891a24522640a756c9e04895c0452db3f439580a2f933718a437"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/anim/component.js: 926 lines of code: src/framework/components/anim/component.js has 926 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/anim/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45c2f1a086f65047bbdce414717c7b1b7eea56262283f4be94d62bd150fdb76"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/transform/transform-gizmo.js: 911 lines of code: src/extras/gizmo/transform/transform-gizmo.js has 911 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/transform-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e491de5a61f38a0e32ca7b18618808b0dbb45176923a457ab104115fcbd69a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/renderers/wide-line-renderer.js: 905 lines of code: src/extras/renderers/wide-line-renderer.js has 905 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wide-line-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1c2f555f7b44d0034234a068caf2ce903a1483ccebbada8ecbe21b2180335"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/layer.js: 900 lines of code: src/scene/layer.js has 900 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/layer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b439a555e294e34975f598f5daac08d28049e6c07f5490d99da237ecf83112"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/handle/handle-gizmo.js: 895 lines of code: src/extras/gizmo/handle/handle-gizmo.js has 895 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/handle-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af6948831cc7b09d43a06315f7608f2f2116c31e294ce09895ade0b88cef8c2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-manager.js: 885 lines of code: src/scene/gsplat-unified/gsplat-manager.js has 885 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff68f7d9fe591a58e9c3cc693bf0e9dc464eb010af47d18e18275668df71e79"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js: 884 lines of code: src/scene/gsplat-unified/gsplat-hybrid-renderer.js has 884 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c17aab7347947ae0ff7e325de34abde2be81076c3396626a86fb0abfa60e1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/render-passes/frame-pass-camera-frame.js: 881 lines of code: src/extras/render-passes/frame-pass-camera-frame.js has 881 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/frame-pass-camera-frame.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d276194d340f9aade6aa4917455e6388d00894796ad6bd1d01f16aa1b8af4703"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/overlay/overlay-renderer.js: 872 lines of code: src/extras/gizmo/overlay/overlay-renderer.js has 872 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/overlay/overlay-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f18e17d79fe2a7fade1c984032522a2fe3a608403c3859f32d3e1778a6621"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/asset/asset-registry.js: 872 lines of code: src/framework/asset/asset-registry.js has 872 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset-registry.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d67601ea8d331e08d4c0698ff6d43c6dfd6ca73eae4c8f4199d03ef0697070a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgl/webgl-texture.js: 867 lines of code: src/platform/graphics/webgl/webgl-texture.js has 867 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e2ad62e8dee85018f96cf248a6cefddf1ea561e2a81fee393be7fc227ab9a8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/entity.js: 845 lines of code: src/framework/entity.js has 845 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/entity.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a664aadab9cf8944a6f8389569ab858d88c50e9b7174cfcb083589f98faaa85"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/renderers/wire-renderer.js: 844 lines of code: src/extras/renderers/wire-renderer.js has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/wire-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02181749455ecbc920ba712b0a6fceaf6a65fcff9bda244f07e9d252f41e6a71"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/collision/system.js: 837 lines of code: src/framework/components/collision/system.js has 837 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/system.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d476ff68ffe066a064444f0040db8b69b156d16de050860464e9c362d3944c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/batching/batch-manager.js: 832 lines of code: src/scene/batching/batch-manager.js has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/batching/batch-manager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeedb7cb17be1affd33dd0c51dc8d31e16bcdf177818be4b3923f0bb31ccf15"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/vec3.js: 827 lines of code: src/core/math/vec3.js has 827 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e836705f25487d6ba1f3ae4c2fd1616b83c19dd135c2f1ca35f39ad54ed2061d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/quat.js: 821 lines of code: src/core/math/quat.js has 821 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c2cb383542a79deba89c316a1ce5bfbea2498bbe12d84452152d7b7dff302d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/transform/rotate-gizmo.js: 805 lines of code: src/extras/gizmo/transform/rotate-gizmo.js has 805 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/rotate-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5207a654c07b6f05b5d008492a17382e48028d7a29c2edbdd298a476f093e9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/vec2.js: 798 lines of code: src/core/math/vec2.js has 798 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0e5e24b57ca5a8065697705bac03ba8a3758b2c4b59911eb650ed383ebf22f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-projector.js: 793 lines of code: src/scene/gsplat-unified/gsplat-projector.js has 793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e11e634bac2e49ef6895edb146e8335bc6318af6c5af8cb87d54c6c99c7945"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/renderer/shadow-renderer.js: 778 lines of code: src/scene/renderer/shadow-renderer.js has 778 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/shadow-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1658960cb4061fef3ec55f6796f818a08d47ac2a9ac927e2895414bcf9872fef"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/gizmo.js: 769 lines of code: src/extras/gizmo/gizmo.js has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e04f807f6e741b697ef45a598b38ccefe5e57004a40182e977c22e9d034fa9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/render-pass.js: 769 lines of code: src/platform/graphics/render-pass.js has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/render-pass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d4e1cf57fdccd812bcf88b9708008910d38555ae8ab48354809fa44a1f732"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/collision/component.js: 766 lines of code: src/framework/components/collision/component.js has 766 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/collision/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca9ccc11b4822ac496bf0ef310f0963fbbd03ced5db49c1ce303e56b3a82436"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-shadow-renderer.js: 765 lines of code: src/scene/gsplat-unified/gsplat-shadow-renderer.js has 765 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-shadow-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65e8395bd772a0cf6f3ba29be36dc78bf92fc48a58766b312b2ba9fa812deea"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-octree.js: 764 lines of code: src/scene/gsplat-unified/gsplat-octree.js has 764 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-octree.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b54018d18c427a93135124de7a3225b19fd6784cd08536c26c0a30d176ab1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/asset/asset.js: 759 lines of code: src/framework/asset/asset.js has 759 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/asset/asset.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39989bf2001b0ac67f92ead9e693baad5d718d670451581686d56e327cfd9c3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/vec4.js: 728 lines of code: src/core/math/vec4.js has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/vec4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483351ed548c0b9a65a026094e79bec12a63abbcff010ecae8de5bf10f629aa"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/renderer/forward-renderer.js: 719 lines of code: src/scene/renderer/forward-renderer.js has 719 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed8506ee4abc29ad3271b8f290f05e96fcdbb3e275025f65df908763aecfaf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/sound/slot.js: 708 lines of code: src/framework/components/sound/slot.js has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/slot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eba6d9d3649ee4de3fd48777325771ab93fc08738974353e4ebdc6113aec34"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/animation/component.js: 705 lines of code: src/framework/components/animation/component.js has 705 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/animation/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1263647e893e8997c561226e38f570abcb9cf81d2933a64dea532f75bfb10f84"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/block-allocator.js: 704 lines of code: src/core/block-allocator.js has 704 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/block-allocator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade892c6ae2ba939d0a3518b859beed54cc370d73a36e8d3327579807576aa12"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/render-passes/camera-frame-effect.js: 703 lines of code: src/extras/render-passes/camera-frame-effect.js has 703 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/camera-frame-effect.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e33ceb212d7433f93be5fbd28bb05f3719e7120f56bf40bb385735771afefd1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/composition/layer-composition.js: 693 lines of code: src/scene/composition/layer-composition.js has 693 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/composition/layer-composition.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6a2258372feed2a1117a19b6f1baa2f12f0fdfa0cc660038bcd968086b4278"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/anim/controller/anim-controller.js: 679 lines of code: src/framework/anim/controller/anim-controller.js has 679 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/anim/controller/anim-controller.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375007cae23c76608339c5740fd1534eaed13a5783b26542b8de9ce8715414ed"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/net/http.js: 669 lines of code: src/platform/net/http.js has 669 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/net/http.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa3fdf1f0c47e346ef79eef636da85e3e030beff1769f9bd7425ab95880c175"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/xr/xr-input-source.js: 664 lines of code: src/framework/xr/xr-input-source.js has 664 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-input-source.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"823c90010e190c3adf98f3bf108f3c14e9756ec4404afabc2bf8f12d772e5c1f"}},{"ruleId":"R3","level":"warning","message":{"text":"utils/esbuild-build-target.mjs: 644 lines of code: utils/esbuild-build-target.mjs has 644 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":"utils/esbuild-build-target.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a2b412478145f8bbba376b8bbf80c9769173b0b1697db98d752d1152bd039e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/grid/grid.js: 642 lines of code: src/extras/grid/grid.js has 642 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/grid/grid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ce9c39caf231ed5c90a082b0c56bb7c5eb887b77a3eedea54e4efd9ba9e41d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-texture.js: 628 lines of code: src/platform/graphics/webgpu/webgpu-texture.js has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73dbe2ab10bf979dd1b8dcc18ab51402b926eaced53166acd5844b99ba1fbf3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/sound/component.js: 627 lines of code: src/framework/components/sound/component.js has 627 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sound/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bae09b8885f81e7c828a0286e776ee5de979f2e6149e508d2226d1138bd60c0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-render-pipeline.js: 620 lines of code: src/platform/graphics/webgpu/webgpu-render-pipeline.js has 620 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de28c81da60b06993486fb2d1429de57d692e496679f3d89a483bc09232c5f33"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/compute.js: 604 lines of code: src/platform/graphics/compute.js has 604 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/compute.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4639048da0c2248fa73ba54d1f0a8378f41dc4fd4be5f2c75346e16366df33"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/render-passes/camera-frame.js: 597 lines of code: src/extras/render-passes/camera-frame.js has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/render-passes/camera-frame.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36efc7d66d8effe498599c8713b7fb4db99e1394b12416d799fced1da57b0a9b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/preprocessor.js: 593 lines of code: src/core/preprocessor.js has 593 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/preprocessor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe397b3bc93347e622201d2a320f22754b21dd3505e54e19aa646d5ced2152"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/shader-lib/wgsl/chunks/lit/frag/clusteredLight.js: 589 lines of code: src/scene/shader-lib/wgsl/chunks/lit/frag/clusteredLight.js has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/lit/frag/clusteredLight.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5ac59f0ae78f36972421b9a452750e3131cd18fd8073655130d3ac64c32b0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js: 587 lines of code: src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c11d13e3bea77dbac7b4901a801510afabb2a2a5e623a460f507a5385b2c8b7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/shader-lib/glsl/chunks/lit/frag/clusteredLight.js: 583 lines of code: src/scene/shader-lib/glsl/chunks/lit/frag/clusteredLight.js has 583 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/frag/clusteredLight.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ec086721781bb3cf7a02cc8e7604b69025215ef95c182aa55ba69d82d3f564"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/parsers/ply.js: 580 lines of code: src/framework/parsers/ply.js has 580 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b54048e3a46f58a8dd00253b788ddee8f9c09752aa255541624abe2ef7ee07"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/renderer/render-pass-forward.js: 578 lines of code: src/scene/renderer/render-pass-forward.js has 578 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/render-pass-forward.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211a03543f0925f5b6016cc1452fdacebe9b43bed71b681313456436ca8393ad"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/element/system.js: 564 lines of code: src/framework/components/element/system.js has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"696e36259aa5f617cbd6a53b0274abf4126be52efb61bb38edf70fe8ae8e7482"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-render-target.js: 564 lines of code: src/platform/graphics/webgpu/webgpu-render-target.js has 564 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-target.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c164abcf67acd55289fa169778c32b3691319083bad8ed34d7dc4db42bcbb8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/voxel/voxel-occupancy.js: 563 lines of code: src/extras/voxel/voxel-occupancy.js has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/voxel/voxel-occupancy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515f03f0c84349faf54c670552f7ee9c9ffea7b18bcb93c954e630f1b5401544"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat/gsplat-format.js: 560 lines of code: src/scene/gsplat/gsplat-format.js has 560 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b836874fff52c4e3b15044496e803389cd062007b9857287806f214663d995d4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/shader-lib/programs/lit-shader.js: 559 lines of code: src/scene/shader-lib/programs/lit-shader.js has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/lit-shader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc24e8ffe9e8792775351800ec5c2c2cc1fd3adb4e6222a1034aa5e0fe934172"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/transform/translate-gizmo.js: 558 lines of code: src/extras/gizmo/transform/translate-gizmo.js has 558 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/translate-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf408cbe801b098b4bd755d3af671cd3b58d721bc5274878e46030fcf082bf2b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/transform/scale-gizmo.js: 545 lines of code: src/extras/gizmo/transform/scale-gizmo.js has 545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9225f866f4425153566bb21df01e699ce41b450451a4acf6f594d2f017822c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/physics/ammo/ammo-physics-world.js: 542 lines of code: src/framework/physics/ammo/ammo-physics-world.js has 542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/physics/ammo/ammo-physics-world.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc324720dc8532eaafa9d24a67c227a3698a8b5f383862b450b9a3449df2ec5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat/gsplat-sog-data.js: 529 lines of code: src/scene/gsplat/gsplat-sog-data.js has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-sog-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6543c879cb9a8cdd837a8d6960c30a337bd27c77ac9a23b436fdfb44435907d7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/layout-group/layout-calculator.js: 525 lines of code: src/framework/components/layout-group/layout-calculator.js has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/layout-group/layout-calculator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c60beb5d3cb9ebd68789f50bd517b77d6dc29023e26b4d56366064402ba536"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/exporters/usdz-exporter.js: 520 lines of code: src/extras/exporters/usdz-exporter.js has 520 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/exporters/usdz-exporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73f07b6b9be40d7358c851b740b569f4e5e8d462b9fe68185dd89fd7100ff14"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/sprite/sprite-animation-clip.js: 514 lines of code: src/framework/components/sprite/sprite-animation-clip.js has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/sprite/sprite-animation-clip.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f889be50809c5d6cb493bbd2488015923febb2fc6320ad49ee5542f9a5d24f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/graphics/picker.js: 484 lines of code: src/framework/graphics/picker.js has 484 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/picker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a1d7acfd6e10c17524b7ec024473d323b3f756771b98133d6b0515b13e419"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/app-stats.js: 482 lines of code: src/framework/app-stats.js has 482 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/app-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0339dfbca21ccb5a6e55d11175d0dffe5f5a441f41601d5297a76d4f760ffa48"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/shape/bounding-box.js: 481 lines of code: src/core/shape/bounding-box.js has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/shape/bounding-box.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea160cf9bdb269a262db1303999de90915ce45f36be86083b6a4db16e597e81"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/graphics/scene-depth-reader.js: 478 lines of code: src/framework/graphics/scene-depth-reader.js has 478 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/graphics/scene-depth-reader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be62c9f989740be6796d4152e7fa45007239c7faa58dee9c37734e20990591a8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/effects/lens-flare/lens-flare-effect.js: 477 lines of code: src/extras/effects/lens-flare/lens-flare-effect.js has 477 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/lens-flare/lens-flare-effect.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d613733ecc131f5e4fa11c2a27efa3cccd3e68c1839a8ed00dc5c4723939f28a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js: 475 lines of code: src/scene/graphics/radix-sort/compute-radix-sort-multipass.js has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/radix-sort/compute-radix-sort-multipass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d00fff8104f95bb7b6d3066453be049ced26403ace6e3f5d65aba7c512c1ccc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/xr/xr-anchors.js: 469 lines of code: src/framework/xr/xr-anchors.js has 469 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf5dfeb573e05f22d8d49bbdffdcaa9ab590bad23e476f8c26f554bc8bd3275"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/shader-processor-glsl.js: 468 lines of code: src/platform/graphics/shader-processor-glsl.js has 468 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a9c7f3b25a592f80561e15b0dede1eb9f5b31b4ccf5e2c91e6f4165d272976"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/renderers/outline-renderer.js: 465 lines of code: src/extras/renderers/outline-renderer.js has 465 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/outline-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61eb67b760e7dcee2449907c6ee9dcbad1e6d11eddae5eca26a79cd0391d762"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/renderer/culler.js: 461 lines of code: src/scene/renderer/culler.js has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/culler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead4d6eb0e6351f289f5bb514b65391b27560de3860e48121086c52536328241"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/components/element/markup.js: 459 lines of code: src/framework/components/element/markup.js has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/markup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a338a3e5d4284d0c3ef45a5d6715f497e88b961381b138e81e093385d258fa2c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-info.js: 459 lines of code: src/scene/gsplat-unified/gsplat-info.js has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-info.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15b1f59dfdb2159391d1aed2b5cfebb652338781b177f5a2c1e991ef74ef66d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/effects/dynamic-sky/dynamic-sky-noise.js: 457 lines of code: src/extras/effects/dynamic-sky/dynamic-sky-noise.js has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/dynamic-sky/dynamic-sky-noise.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0792d918c881ff1da2fa309a17d6bace3dd2329b3e72b14ba7dea893a6a053ea"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/handle/light-gizmo.js: 457 lines of code: src/extras/gizmo/handle/light-gizmo.js has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/handle/light-gizmo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e413abf58a4acf3ed06a1b162c583bafa2db70c18fe0ea17e343e0194fabb8a1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgl/webgl-shader.js: 448 lines of code: src/platform/graphics/webgl/webgl-shader.js has 448 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-shader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"455208e46084828c4cd1b9ed2fa2152a066f80e33027a216e25f1ff58d0beb46"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/font/canvas-font.js: 447 lines of code: src/framework/font/canvas-font.js 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":"src/framework/font/canvas-font.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ebce482b01c5d414ba297cca4668f6e8d645c42ed8596abf91f573af14d64e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/graphics/reproject-texture.js: 447 lines of code: src/scene/graphics/reproject-texture.js 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":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa904208d344af664e5e1d2106316015cc085fe36ee81098555402cbb61b6d45"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/blend-state.js: 446 lines of code: src/platform/graphics/blend-state.js has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/blend-state.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbee0e2f03b012a872a03471f72b7bfff2b91eb58ea9172e48cd63bc0d9afc7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-interval-compaction.js: 445 lines of code: src/scene/gsplat-unified/gsplat-interval-compaction.js has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-interval-compaction.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af5cb67d26fa32ef1ccd761d505941bd834045e4d6689c55d0644453dd9fb18"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/gsplat/gsplat-processor.js: 442 lines of code: src/framework/gsplat/gsplat-processor.js has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/gsplat/gsplat-processor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813cae304ec676382d48f3f2370c17d132d9659c4f97f7957235409df3879d1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/deprecated/deprecated.js: 440 lines of code: src/deprecated/deprecated.js has 440 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/deprecated/deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a8714cfe7f50fec301bad0a43a95659ddb5dcc327c2672b79a8d69ee5ec2cc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/shader-lib/programs/standard.js: 439 lines of code: src/scene/shader-lib/programs/standard.js has 439 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/programs/standard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914b639a3806ae21819323be65931f46e679dff57a1ceaaa415f4377a990410"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgpu/webgpu-xr-bridge.js: 436 lines of code: src/platform/graphics/webgpu/webgpu-xr-bridge.js has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0246ca700408c7c3902ab986ac121be6f91b48d5799d8c6c7d6492ea27b4f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/gizmo/shape/shape.js: 429 lines of code: src/extras/gizmo/shape/shape.js 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":"src/extras/gizmo/shape/shape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf0c34c4f970c3633f7c8929f0cdd03b3b6151349bd36d322b1f1c5021e1e09"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/lighting/light-slot-uniforms.js: 429 lines of code: src/scene/lighting/light-slot-uniforms.js 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":"src/scene/lighting/light-slot-uniforms.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6395a81f5e89d209f6c4ea317303933c32cfc2a7fee8c39780f26596295bdf1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-director.js: 428 lines of code: src/scene/gsplat-unified/gsplat-director.js has 428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-director.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc525cc701f13bea285c65f9826ad19508d41a0cc039d558002509816db54bc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat/gsplat-data.js: 426 lines of code: src/scene/gsplat/gsplat-data.js has 426 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat/gsplat-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"180053196ca5843d895c23659e420a45a84c7d6e7d5363d2f40a7e3139fce865"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/renderers/texture-renderer.js: 420 lines of code: src/extras/renderers/texture-renderer.js has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb775a2a103fa7fadfb3a93e62db06be0f5d5ae3ec921570685b769cb6d500"}},{"ruleId":"R3","level":"warning","message":{"text":"src/core/math/color.js: 419 lines of code: src/core/math/color.js has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/color.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa85f322af760e50adadd24f223b51b34050273e0b4890d12e854e95811a66e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/webgl/webgl-render-target.js: 418 lines of code: src/platform/graphics/webgl/webgl-render-target.js 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":"src/platform/graphics/webgl/webgl-render-target.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72d5b7b605b3fef93d768834e9534b11e003bcd44d8c18c0e199d86f439bcf7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/handlers/basis-worker.js: 416 lines of code: src/framework/handlers/basis-worker.js has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"796abf60c3e0a8b2308300159a1ce8c953c50bd4a3aae6c6af9484a542a8a3b2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/platform/graphics/bind-group-format.js: 416 lines of code: src/platform/graphics/bind-group-format.js has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/bind-group-format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81507630260c6d88e3af346caa115c477d5365770c05d50656424ade9964e78c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/scene-registry.js: 415 lines of code: src/framework/scene-registry.js 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":"src/framework/scene-registry.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59c902a35ba0266f5936f8f8b848a927162cde300ce2d8d78787d71b7d6b7a7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-quad-renderer.js: 415 lines of code: src/scene/gsplat-unified/gsplat-quad-renderer.js 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":"src/scene/gsplat-unified/gsplat-quad-renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d807825e5133d84d870f02366ea3208b23f455db2bb9b233db9bece97b961ca0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/framework/script/script.js: 411 lines of code: src/framework/script/script.js has 411 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/script/script.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61428782e45ed74e5f492542a62c8f6e2af52caf4ee8e40823ac65d7599ae74f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js: 406 lines of code: src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/effects/volumetric-fog/passes/render-pass-volumetric-fog-local.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3121a1981bfbf10fc6abc0bed22ee174290710e159cce41bf8206e50072d99e1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js: 402 lines of code: src/scene/gsplat-unified/gsplat-unified-sort-worker.js 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":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0041c1fa4ff6dc7e13cb6054d4889f0a8d7d81b1ebbf8e33362d56ed698f2165"}},{"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":"examples/src/app/components/Example.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3965140539ec457ffe4333b2add9c8fed6abf1f809e5e087b3ce5da8fb981dd"}},{"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":"examples/src/app/components/code-editor/CodeEditorDesktop.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4af53794071b156ea868af0139a64e1574862c89693ae096db2f4fe1132b7a2"}},{"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":"utils/esbuild-build-target.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33386b26d5f4b2d3e23c810cfb37294d2bca0bca4fb61e6bc7d7d4ba96a091fb"}},{"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":"examples/utils/vite-dev-server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"902df54b44686027cf460a6b4147f87c31555aa8c5d76b9d07a366c075b803dd"}},{"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":"examples/src/app/components/Sidebar.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"131436dbb2c9b6c639e84a9270a74131804f4cfbd67a180478f4b4e497acbcba"}},{"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":"examples/src/app/monaco/languages/wgsl.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e490549d5218471d79605bdb6ca0f1b029cf79a9725740163e9818c4082c423f"}},{"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":"examples/utils/generate-vfx-textures.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe77f8434e034ffc955c821dfd2a64ecbf9529f28346fb8b374d0eb27c52e5f2"}},{"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":"examples/utils/build-examples.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7422d41921c4111f499ed3aba94394a6459f7b66850500b091c01f1107239"}},{"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":"examples/utils/generate-ui-atlas.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c467e9df2cc3a549adab875c6afa3aa9432046a5e21eb52d85aa56d5516e9b3"}},{"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":"build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859803e126b2f4f905df76819111834aae9dd1fa677e13543446e45a7909e67c"}},{"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":"examples/src/app/download-project.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b1435dcfddca494f2e81202798d898fc3092ee865160f2ce827e115a873ea"}},{"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":"examples/src/app/components/MainLayout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bc51d7067749102b4cfd851e9e6740cda8a330e7103136fb769fb01a8e2af6"}},{"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":"examples/assets/scripts/misc/hatch-material.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4602f827ad16c087d6f9cb5bba6c22d6e49de7759a09cac6659d29c359f4c14"}},{"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":"utils/plugins/rollup-types-fixup.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e4b97815251a06342ee92134741fecac5669715a9d9584655dcd52fe6614d1"}},{"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":"examples/iframe/loader.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9077c110fb1a75df3651e8304ed6110dab974808e30aeb6e1958fd82ca7b2c9"}},{"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":"examples/src/app/components/Menu.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da18ec0edf55b5e0167b8a4a57ebc85faab7570a0207af68a45983ded6712178"}},{"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":"examples/utils/thumbnails.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe312eb58404c1192c18700880e91bfb72d155c1ee74697a14edcdaa52b5a41"}},{"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":"examples/src/app/url-state.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d16acb8912aa6327d98a7e7f57c8a621ef4023ce79beaf4d9377ce5870e2c9"}},{"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":"examples/src/app/monaco/languages/glsl.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c438c50b05471436adace3e7b83627cd4baca48204d9dd4374706b05df4eb679"}},{"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":"examples/assets/scripts/misc/gooch-material.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c8bd6711e87022bfdf2e2795f8853128c7409f2fd359c29169b9c304123df6"}},{"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":"examples/utils/build-prod.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ad510e5433d94ccd7c5ab3714426314b7ae4c05887bb2b5cbc54bcca5cd629"}},{"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":"examples/src/app/components/code-editor/CodeEditorBase.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587f8ea5f8b26a8ca5ec4d7147edb09e543b145e8ec8eed1cd6ec7beec2f8fd0"}},{"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":"examples/src/app/components/ShareDialog.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a555bdddf8d489239eb464f00823e0cb3b933d050b0ad2ea853893d216c24d"}},{"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":"examples/src/app/components/DeviceSelector.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5fbb6ea57be59f8af3f6f8324491f828564e66f0879a93de125e0b51520173"}},{"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":"utils/types-build-target.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cc4ed4aa8ab44b84cb99a92352641c933b8aab2b2ca4074d3220541dffa472"}},{"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":"examples/utils/example-source.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ff57df87f483e5db4c6c4d0e326cbaffd29b5665bac3cc8a46c3b3268e784e"}},{"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":"examples/src/app/components/OverlaySelectInput.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1148465da446074f60c43403c01a3626afcf6bd465ea0014d3d10f70f3e0b19"}},{"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":"examples/assets/scripts/misc/swarm.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cfe7e82c6647815c471c36051abf77edf1b4e2bb78f31b07543993d5d1d4d6"}},{"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":"utils/plugins/esbuild-transform-pipeline.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c47e3ac86c3c99151ca520bf6d2373db3a75590e25cfa631b89c8f83ab49b5f"}},{"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":"examples/iframe/inspector.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461aa59d34218cc0ef71eebdf8ad254e2cc0bf8ba92f6d44fb4dfaadb05d993a"}},{"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":"examples/src/app/strings.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9b5b70d8be65152759999aa3b081cbaf170f7d2de5924f0430f25565a8fe8"}},{"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":"utils/api-surface.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf64e6528c6d0bba1a5626d689247b400e4c5e03a33ebc0804f8ac0dd92d22"}},{"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":"examples/utils/metadata.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fdfa1eec1d8f0288da82fcde422dbe7e7c8467f58e47261ef1489096a5ff81"}},{"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":"examples/src/app/components/ErrorBoundary.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ca91f79f2a8fc40ae810fe590570736ac92568585370a610b6f847efff4ae"}},{"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":"examples/src/app/redirects.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"086144140ef6f6cbdc5e4cb956443c01d4ed39c21ec094aa6f3282e6a632d6bb"}},{"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":"examples/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af17a9b57ec75153a5992d021a2f1f4767adde7ea0a4c46f363946ad23e29736"}},{"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":"examples/assets/wasm/zstd/zstd.wasm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"782f455ad73edc3643d919c200def9b6b892b64f477a834f329fa77176666b36"}},{"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":"examples/utils/certificates.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fff831a5d66eb8958053e6c625d4d367236aa916a88402d3ae5e3cd46e1b705"}},{"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":"examples/src/app/components/CategoryPanel.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd2b3844445e299abf9cc20ee8f9b42c21af2d14e0c575e9422e68ed65dd37b"}},{"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":"examples/src/app/iframe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894b5ad1c7d65020ff21b66bb033650b16ad9009562e2dc4e5d2e9ac9b86f64"}},{"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":"examples/src/app/tooltip.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"886c454b808e6289ddd00ae23bb709e8d6f943ffb14b43f03c25af863331df4a"}},{"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":"examples/utils/log.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dab709d74afc34a8b2fb11d2979de4966aab75c18cedce07eaa2244c80e5c0"}},{"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":"examples/iframe/ministats.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fa2b76188835fb33d16e932990b0adb4c15592becc8369cd1a1e97fb291199"}},{"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":"examples/src/app/components/code-editor/CodeEditorMobile.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c503ea52b6eb813e07c90c328cf9179ad465069749a8adcfaec5752c07ffe6"}},{"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":"examples/src/app/categories.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee7933a73b81010c8087b41259c11257b12bbfaa6b231613712340fd50852f"}},{"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":"examples/src/app/dev-server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640e63bf2adbd9df6835016ce2d1e434b72fb5ac52b1ec03d644004beb4baff3"}},{"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":"examples/src/app/events.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e82b48254568550c13349bc081f0af4e79bd51d7bd83f4865c2348e702a242"}},{"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":"utils/plugins/esbuild-import-validation.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a3011571b511fbc7e499a72855701ee6db339014e2cea70d4bba537454848d"}},{"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":"utils/rollup-version-revision.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5540e9b1ed9b7b86de8e3173f119352fce1baf8b2af3f56082f3997293a5fb"}},{"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":"examples/utils/typecheck-examples.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db4a9ae706d07d2a8fd62b2ea69f0ebda567605a6b6fd3e5f8f012866c9ad13"}},{"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":"examples/assets/scripts/utils/area-light-lut-bin-gen.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cee1a40602c5421915d295e950beb53a2181a71d5466c47dc057089912b4503"}},{"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":"examples/iframe/zoom.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a3485abe3b273a39f710077e71b9af06bd8a1ae1724eb2e19dea52e132fe04"}},{"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":"examples/src/app/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b0f503be5ad4b9919426ebbf8d491499d18503db24a2d8fb0b8f46248a7648"}},{"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":"utils/plugins/esbuild-strip.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ec6f741b8fd0b1135e5dd304707ebd2b1de1c1f48867ba892435a7c0cead28"}},{"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":"examples/src/app/example-snapshot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29801444343c5ef3296353dbd299c2e405e085a58b3845e0bf20bd3ce8e6f019"}},{"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":"utils/build-size.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bee62bdffa7b7adc32873424f3d0c6d4ea2942d9c60a8aaca681e211e340b1"}},{"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":"utils/rollup-get-banner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0083afc5a3800e9602d40ece73733bfb5d81b62bd017a0d3d62c680cfa6d3afa"}},{"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":"examples/assets/scripts/misc/rotator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35d326500db215490b2ecf9f79a25db1b34f9f75f8b6cb95227f9ad9c312bc9"}},{"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":"examples/src/app/constants.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1f5ac4d60cb6b3169d08bc0530ef696ff121dc4e82af4d89d9a9f293a9aa34"}},{"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":"examples/utils/inline-markdown.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af011cf0db88f8dce65e0b5bfd2e81b7e128ba40835326533984bf04dacd0b20"}},{"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":"examples/src/app/utils.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88fab98fb2cecfc268c3cf2d6ec368717f8924650367255920f1f06bb6d0061"}},{"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":"examples/src/app/monaco/tokenizer-rules.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cf84e8592c4409e4f284bd819f254446483411e47d7611c769003477568d38"}},{"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":"examples/src/app/paths.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83b8c4d3b661b27d507fc12e2249e71b0bf8b84382841c146e1d74665cb3d77"}},{"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":"examples/templates/controls.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b868836726d80c67ad480020c8197d617f1fce2d66a148fb999095ad701063"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/vert/viewNormal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1f056efab3682ce77bb853f4f95e25d734dec6250b4ce4d60563d31b7d15e0"}},{"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":"examples/src/app/jsx.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc94b2127a0f54a961ebd3a4b2e8cc2b7de4ae3570735c624479a64206e4004"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~484 LoC): no import path from any entry point (146 application, 12 tooling, 355 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":"examples/utils/generate-vfx-textures.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56384a01540b867159ffec39e5e8d37aefc2f43d2745968030fbf84018121061"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~422 LoC): no import path from any entry point (146 application, 12 tooling, 355 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":"examples/utils/generate-ui-atlas.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d32e0f43842d5eee56e8954ac070ed638c6dc21e6cf14725e1b7cfb9dd381d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (146 application, 12 tooling, 355 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":"examples/src/app/events.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0022b5e3ab7f2d09af145cf9fe20ddd44c875d484414ca5268bb93a9b5eae0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (146 application, 12 tooling, 355 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":"examples/templates/controls.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ea769269b4a121526d78f63bf817d917e76cc397f6eb391b655039c64e413"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (146 application, 12 tooling, 355 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/glsl/chunks/lit/vert/viewNormal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcc9cf03b2d52dba80d955b2e04875a987bbaa881c4c8e8546bf1b3742adf8f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EXAMPLE_TARGET\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/utils/build-examples.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc86dd714135e4b17085caa334b67c366b5c1fe8a42b5a191ce7fc006f6e9983"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-interval-cull.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eade258ed8b9ecb6f69b422e8d5a11d5097d613cf8e35b87bf87fc801c7d50"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-interval-scatter.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdbb7e627f02023e11f30b7e8937061a895292dd1428231baa09f4875b28aad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-project-common.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0149510ec6db3ae70132ed01be06402ed1e3dcd5c6eedac4194486e6555c0bb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-projector-write-indirect-args.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9865be66bc586223019522a8c2ef3353f1b48728b62608a624912bbce769f0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-projector.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d6b337750aad1ca84ded134f8253e7035c5cae1a17aff4a5095f3c09e430a4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-shadow-cull.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c8fde33cbdbb5443d7586cdf725030389b94892a6fd33510baad0d9623f272"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-shadow-indirect-args.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d39f3dbb9eae42bb12468c0f962f4db3ed2c3eb244721fe787e883226208ad7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/gsplat/compute-gsplat-write-indirect-args.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c0f0179441191b186cad021be682f5d18cc156e9c069eae0f7cbbb0bdbddef"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/compute-prefix-sum.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcec5faf070d2b808e45e7266f5cb18e6a288003ffea92a8dead12ab4b6dac9a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/compute-radix-sort-4bit.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d0f441c75d93063cb86f03597b82dc2a5f69058fdc98dc6cbccb3d5ee20093"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/compute-radix-sort-reorder.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"792ebd770367bda11e305442584533c423de849fe8f727e701c62911805c90fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/onesweep-binning.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaaf253c1578587fa8eabfbd4bdf6990ba2882d8f9a054cdaa23663037bb8a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/onesweep-global-hist.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cdc4405d92b79e4ddc89f76583eb9a205b4e3677f77bfeada075b9285867a6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/shader-lib/wgsl/chunks/radix-sort/onesweep-scan.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25d10f7b3bf053a482b398010216fb2dbe8c3183bfc1b02d842f6691bc9ce0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027typesFixup\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/plugins/rollup-types-fixup.mjs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"263f1852b42d4e821c9619c022676db9a59fe367827012bd2f3ff0864763e484"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MobileInputLayout\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/camera-controls.mjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce64c4c9cafd9416a1ab9fa6ddbad1816bdfde4d7da1cb2acc3d15bd2c39f3f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027calculateRequiredSamplesGGX\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/reproject-texture.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70a3bca45913f436d516ea5a71edd260935e1c1b8b317a941a3f527a26cd577"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T1\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/anim-component.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"92134c03b7cfc127690f335ec8e97bc97b95f7bf2f9709dc262ce76911304df5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T2\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/anim-component.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"25249effbfa2900171e45e9dc723e380111b1708c82450088f415c2a3132798d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T1\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/element-input.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eae0d97fb621a717303202dd348db1d8c6964ae5611b6624c83bcf5be4553f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T2\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/element-input.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"27826a1e6c5c81bb921695ab104b659ff5ff7fffb5ffc6c685fc4b9e71bf4a07"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T3\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/element-input.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"115155f921cbed32c5c09d907fd1714967242713bf35981dc1d46f9769d6d0b3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027T4\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/element-input.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173019c891034dba4baa559d3e3773bc2d5f412c19f3e3b21fb0ca597f3c0c1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027componentName\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/entity.test.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d1b70665711c08e303983905d3b698df83d6bbbb99f4b94b082f4df4b7d5c5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027notAComponentName\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/type-tests/entity.test.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108137e69cba15e2f9b9fa7630c6bc872a530ffaad58c35daba9a47f864a622"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027serve-handler\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/fixtures.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6847744a58f4b5ce37a6e1785719e5e53f59d95c17c720f8b17e9ac67fdb7a9e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027esbuild-visualizer\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":[],"partialFingerprints":{"codehealthFindingId/v1":"6bb0d8b5407f6c963a8fdb37ff04383d538663ab5e9ddc226953fa26c4548bbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!blendState.usesDualSourceBlending || this.supportsDualSourceBlending\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/webgl/webgl-graphics-device.js, src/platform/graphics/webgpu/webgpu-graphics-device.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":3127}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfe7fd49c87a578678ffb0f9dd4646ae5b827509f919c4166ffe01ea7caa619"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!countBuffer || countBuffer.length !== bucketCount\u0060 appears character-identically in 2 files \u2014 src/scene/gsplat-unified/gsplat-unified-sort-worker.js, src/scene/gsplat/gsplat-sort-worker.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sort-worker.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff97d16cfade9c352534f7b9ea82e84dce765da6bbc647b4d6c2cffe1da0755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!element._beingInitialized \u0026\u0026 element.enabled \u0026\u0026 element.entity.enabled\u0060 appears character-identically in 2 files \u2014 src/framework/components/element/image-element.js, src/framework/components/element/text-element.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7b59538b91728496b090dd7c88a9fc9b3ac907144add33a98ea6130070258c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!targetRT || width !== targetRT.width || height !== targetRT.height\u0060 appears character-identically in 2 files \u2014 src/scene/graphics/frame-pass-color-grab.js, src/scene/graphics/frame-pass-depth-grab.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-color-grab.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0d7888da0c0a8ade7dc0ee5d3252af6d6ad7814366a51893ff32e614993f43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this._internalDefines.has(key) \u0026\u0026 !sourceMaterial.defines.has(key)\u0060 appears character-identically in 2 files \u2014 src/scene/gsplat-unified/gsplat-hybrid-renderer.js, src/scene/gsplat-unified/gsplat-quad-renderer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3929c285b1835f9dad3f1e9867d6979a0ba1f8b23b6be064e613dd8e7f22f778"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this._supported || this._manager.active\u0060 appears character-identically in 2 files \u2014 src/framework/xr/xr-dom-overlay.js, src/framework/xr/xr-image-tracking.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-dom-overlay.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a983d932829b3cc87c38213243021de0786806e62d4d453b6efa5ec52373f67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.app?.graphicsDevice || this.app.graphicsDevice._destroyed\u0060 appears character-identically in 3 files \u2014 scripts/esm/parsers/spz-parser.mjs, src/framework/parsers/sog-bundle.js, src/framework/parsers/sog.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/esm/parsers/spz-parser.mjs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0da7de3762684aa3085abb804bbe1452e4986dfd649d7b4d955a109e6e3e9c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || value.length \u003C= MAX_CLIP_PLANES\u0060 appears character-identically in 3 files \u2014 src/framework/components/render/component.js, src/scene/camera.js, src/scene/mesh-instance.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/render/component.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1259d9a8bcc117c584b87143a9c703683d4a5a523c703f356416f49dbd7853ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(Math.abs(this.x - rhs.x) \u003C epsilon) \u0026\u0026 (Math.abs(this.y - rhs.y) \u003C epsilon) \u0026\u0026 (Math.abs(this.z - rhs.z) \u003C epsilon) \u0026\u0026 (Math.abs(this.w - r\u2026\u0060 appears character-identically in 2 files \u2014 src/core/math/quat.js, src/core/math/vec4.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/math/quat.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"947e359f98241e4dbff9c91e1270bdc62781a85abacd827d44ed96200adcbcc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isInteger(byteOffset) \u0026\u0026 byteOffset \u003E= 0 \u0026\u0026 byteOffset % 4 === 0 \u0026\u0026 Number.isInteger(byteLength) \u0026\u0026 byteLength \u003E= 0 \u0026\u0026 (fullRange || \u2026\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/index-buffer.js, src/platform/graphics/vertex-buffer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"62667f926ea16d309e4f301332b250c5d27b3e484197fea48d1fd54d4260f2d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_data.aabbCenter \u0026\u0026 _data.aabbHalfExtents\u0060 appears character-identically in 3 files \u2014 src/framework/components/gsplat/system.js, src/framework/components/model/system.js, src/framework/components/render/system.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/system.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3eab5b9df161254940ffb5091dbf4a825f89df8ca6bd00a151879f47137de8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_data.batchGroupId === null || _data.batchGroupId === undefined\u0060 appears character-identically in 2 files \u2014 src/framework/components/model/system.js, src/framework/components/render/system.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/system.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b383e8f65e1029caaf9361a58ac636a19ea2e8ce5e46e52e5bd4bbadec32e89e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asset \u0026\u0026 asset.resource !== this._material\u0060 appears character-identically in 2 files \u2014 src/framework/components/element/image-element.js, src/framework/components/model/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"13877889ad51b0842bd3fa9f0d1cfa7f289ce478e83da4ce11a33f72e9b3e4d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060axis.length === 1 \u0026\u0026 !axis.includes(this._selectedAxis)\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59d99cffdb37fb8e82699e8c2e917cae068f0ffee94967efa640242ce79ddf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byteOffset !== undefined || byteLength !== undefined\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/index-buffer.js, src/platform/graphics/vertex-buffer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14b84d34ab87a4cb2f0191689fac3c61905e01ff8e64030aeada6d19c3748f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byteOffset === 0 \u0026\u0026 byteLength === this.numBytes\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/index-buffer.js, src/platform/graphics/vertex-buffer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/index-buffer.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81f675b6d5dddc5930b2474ccbab7216cc89c8a52a2400b37414897fff1c1f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060camera.xrActive \u0026\u0026 camera.xrViews.length\u0060 appears character-identically in 2 files \u2014 src/scene/renderer/forward-renderer.js, src/scene/renderer/renderer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/renderer/forward-renderer.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32e271202c2290bcaa13ae1e2a655d9fc0e90cfab3ef4b77ac3c70aa18924c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colorStream \u0026\u0026 colorStream.format !== PIXELFORMAT_RGBA16U\u0060 appears character-identically in 3 files \u2014 src/scene/gsplat-unified/gsplat-projector.js, src/scene/gsplat-unified/gsplat-quad-renderer.js, src/scene/gsplat-unified/gsplat-shadow-renderer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-projector.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7261c421ecbc964d18f1666ab554168bbcc582753810fd5fa27316496bc26e82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component.enabled \u0026\u0026 component.entity.enabled\u0060 appears character-identically in 3 files \u2014 src/extras/renderers/outline-renderer.js, src/framework/components/collision/system.js, src/framework/components/system.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/outline-renderer.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c99883ab56b7537093636f6fa391fdf8c80f0070c718201027f935995a0421"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.glueUrl || config.wasmUrl || config.fallbackUrl\u0060 appears character-identically in 2 files \u2014 src/core/wasm-module.js, src/framework/handlers/basis.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/wasm-module.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9822f759660caeb6eda7d5a538e89ed68053fc812918fe815a9490169dcb9898"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.batchGroupId === undefined || data.batchGroupId === null\u0060 appears character-identically in 2 files \u2014 src/framework/components/element/system.js, src/framework/components/sprite/system.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baa6ede390cd42ad39b006d09dce41d677961d62507c382f426914525fd8285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.layers \u0026\u0026 Array.isArray(data.layers)\u0060 appears character-identically in 4 files \u2014 src/framework/components/element/system.js, src/framework/components/light/system.js, src/framework/components/particle-system/system.js, src/framework/components/sprite/system.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/system.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e6c104bb0d91d960bcb57e9c97083fa09394f0d867663ad173c79cb5bf92e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataType !== TYPE_FLOAT32 \u0026\u0026 dataType !== TYPE_FLOAT16 \u0026\u0026 !element.normalize \u0026\u0026 !element.asInt\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/shader-processor-glsl.js, src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4a83367aade24a7c28957f89712c3764a73d89c4ac0bcd8db1f84afc4efb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataType === TYPE_INT8 || dataType === TYPE_INT16 || dataType === TYPE_INT32\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/shader-processor-glsl.js, src/platform/graphics/webgpu/webgpu-shader-processor-wgsl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/shader-processor-glsl.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3bc144cd6af784a7fc6632a954a58ca57add0e3749e29524d598db152d23c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device._isHTMLElementInterface(mipObject) \u0026\u0026 device.supportsHtmlTextures\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/webgl/webgl-texture.js, src/platform/graphics/webgpu/webgpu-texture.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-texture.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e971526a84d1d4df690fc3d01269faa2fd78a2327ffa78661f288b248a73de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.movementX || event.webkitMovementX || event.mozMovementX || 0\u0060 appears character-identically in 2 files \u2014 src/framework/input/element-input.js, src/platform/input/mouse-event.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"94916c232e7b5f27f23f257fa692e7f39d3439f5feb0e3ffb688a76213aaa758"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.movementY || event.webkitMovementY || event.mozMovementY || 0\u0060 appears character-identically in 2 files \u2014 src/framework/input/element-input.js, src/platform/input/mouse-event.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/input/element-input.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8142a32a4b6502433f2e9041cf06f1873f4fa0e777e3e3579f98ec2cbfde1a96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060format === PIXELFORMAT_DEPTH || format === PIXELFORMAT_DEPTH16 || format === PIXELFORMAT_DEPTHSTENCIL\u0060 appears character-identically in 2 files \u2014 src/extras/renderers/texture-renderer.js, src/platform/graphics/render-target.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/renderers/texture-renderer.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6652999db3f4a0655ffc3c199e0a79119977a35832ffd81e362bdf49f0f9e21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060jump[0] \u0026\u0026 !this._jumping \u0026\u0026 this._grounded\u0060 appears character-identically in 2 files \u2014 scripts/esm/first-person-controller.mjs, scripts/esm/third-person-controller.mjs. 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":"scripts/esm/first-person-controller.mjs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4043a3f8a04ee6495d5be4cb9648a1ec130e52fa4ccc5e9f8aa9d6ecaccd6dc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060moduleFormat === \u0027esm\u0027 \u0026\u0026 buildType !== \u0027min\u0027\u0060 appears character-identically in 2 files \u2014 build.mjs, utils/esbuild-build-target.mjs. 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":"build.mjs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3660207f09a49d46a54c0e98abd56101e1d6f6af4edb4fed64df23f74f1c6e58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060noFog !== this._lastNoFog || noTonemap !== this._lastNoTonemap\u0060 appears character-identically in 2 files \u2014 src/scene/gsplat-unified/gsplat-hybrid-renderer.js, src/scene/gsplat-unified/gsplat-quad-renderer.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-hybrid-renderer.js"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"df23dc7f5c735dc1d679ee92befd750a0beb42134ec314cc01c4810e1ba9e722"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.lightMap || options.lightVertexColor\u0060 appears character-identically in 2 files \u2014 src/scene/materials/standard-material-options-builder.js, src/scene/shader-lib/programs/standard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/standard-material-options-builder.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"260f7bf93ca13535c35aad72a8a14cf182fddc2766c1cd2096a859e6a3ce1987"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shaderPassInfo.isForward \u0026\u0026 this.blendState.usesDualSourceBlending\u0060 appears character-identically in 2 files \u2014 src/scene/materials/shader-material.js, src/scene/materials/standard-material.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/materials/shader-material.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"469bea3dd7534f77ebd2885e77c91bf7a2f8ec3a7c93dc3e607f194f2ce97544"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source.volume \u0026\u0026 options.slice === undefined\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/webgl/webgl-graphics-device.js, src/platform/graphics/webgpu/webgpu-texture.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4460e01b94fabbab17ab61495b6effe380a6cf5121a265560887ec124c4eb2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceTexture?.height || this.device.height\u0060 appears character-identically in 2 files \u2014 src/scene/graphics/frame-pass-color-grab.js, src/scene/graphics/frame-pass-depth-grab.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-color-grab.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"699f1c31174e439fb40f4e258b1d3b51eafa3062eff834843e2c626c272701de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceTexture?.width || this.device.width\u0060 appears character-identically in 2 files \u2014 src/scene/graphics/frame-pass-color-grab.js, src/scene/graphics/frame-pass-depth-grab.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/graphics/frame-pass-color-grab.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db2e6432784d22a77f9b83d299cfa325fc2d304f22bb95dbcd0903d2e651a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sqrDist \u003C DOUBLE_TAP_VARIANCE \u0026\u0026 now - this._lastPointer.time \u003C DOUBLE_TAP_THRESHOLD\u0060 appears character-identically in 2 files \u2014 src/extras/input/sources/dual-gesture-source.js, src/extras/input/sources/single-gesture-source.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/input/sources/dual-gesture-source.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3cdb6d90f52bf73f863e54b29ab51808531ac44095eeaa2e10fa72c253e513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060texture._needsUpload || texture._needsMipmapsUpload\u0060 appears character-identically in 4 files \u2014 src/platform/graphics/webgl/webgl-graphics-device.js, src/platform/graphics/webgl/webgl-texture.js, src/platform/graphics/webgpu/webgpu-graphics-device.js, src/platform/graphics/webgpu/webgpu-texture.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb03baa5f3c51c9e852f26d9fe338a30f6c49967123165f9ed4db5ab813cc543"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060texture.volume \u0026\u0026 options.slice === undefined\u0060 appears character-identically in 2 files \u2014 src/platform/graphics/webgl/webgl-graphics-device.js, src/platform/graphics/webgpu/webgpu-texture.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgl/webgl-graphics-device.js"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"120fcb09d037bdbca57b6962898daf26027074301da99b0fcfc741f38a440211"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._assetReference.asset \u0026\u0026 this._assetReference.asset.resource\u0060 appears character-identically in 2 files \u2014 src/framework/components/gsplat/component.js, src/framework/components/render/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/gsplat/component.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a762a6ffaea4776b2e69fa56952ba0ee0a0d18b29804b7536db0c11613a8d7e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._glance(this._shapes.xy, v1.length()) || changed\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b447d55fbe5ee2b22aeb684383168f76d24972e10461f8ed90e13c2c0cd826e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._glance(this._shapes.xz, v1.length()) || changed\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3aa233f33c14853ec93c04f174fa90a19ddd0fc8ad0f21d7d22e4a3db5801a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._glance(this._shapes.y, Math.abs(cameraDir.dot(this.root.up))) || changed\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3286ce4e52664308e9fd3c0670a62bc559917ccdb8bcc26d5a82615bec3dcb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._glance(this._shapes.yz, v1.length()) || changed\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c319f561c534597d54d0c6fa8d2d4c01588c3a9686b00044b588d29c247719b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._glance(this._shapes.z, Math.abs(cameraDir.dot(this.root.forward))) || changed\u0060 appears character-identically in 2 files \u2014 src/extras/gizmo/transform/scale-gizmo.js, src/extras/gizmo/transform/translate-gizmo.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/extras/gizmo/transform/scale-gizmo.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e36b057ff24dc5cf7bcaa905570d522ce2bcbba6540239caa0b91618b27f3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this._width !== width || this._height !== height\u0060 appears character-identically in 2 files \u2014 src/framework/xr/xr-manager.js, src/platform/graphics/render-target.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-manager.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d818c4f0d51804908d1cb1504d320b1631756499465cd15c17ee8d00c0f28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.device.limits.maxComputeWorkgroupsPerDimension || 65535\u0060 appears character-identically in 5 files \u2014 src/platform/graphics/compute.js, src/scene/graphics/prefix-sum-kernel.js, src/scene/graphics/radix-sort/compute-radix-sort-multipass.js, src/scene/graphics/radix-sort/compute-radix-sort-onesweep.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/compute.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22968727b1f3e6b66a274a197fdb2a1f076292abd8f77ce95d2b1d3bd8ea845"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.enabled \u0026\u0026 this.entity.enabled \u0026\u0026 this._batchGroupId \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/framework/components/model/component.js, src/framework/components/render/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b196461209caa0d650fceaf2c2274612724eea3b481a49aae8fc1edf0de95f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.enabled \u0026\u0026 this.entity.enabled \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 2 files \u2014 src/framework/components/model/component.js, src/framework/components/render/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/model/component.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c3d7b7cf4425c95b2c81b39bda6f65f23129bef74f22ea70626328f128221b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.scene \u0026\u0026 msgData.sortTime !== undefined\u0060 appears character-identically in 2 files \u2014 src/scene/gsplat-unified/gsplat-unified-sorter.js, src/scene/gsplat/gsplat-sorter.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/scene/gsplat-unified/gsplat-unified-sorter.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aca581a1d727fd37e0e6cb1a170c5614b8c1ca2ad87aac6cc62ef4f2be249c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.sprite \u0026\u0026 (this.sprite.renderMode === SPRITE_RENDERMODE_SLICED || this.sprite.renderMode === SPRITE_RENDERMODE_TILED)\u0060 appears character-identically in 2 files \u2014 src/framework/components/element/image-element.js, src/framework/components/sprite/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/image-element.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"114710ab6822361b9b438eb05b4fdcea9519bf112a16f031d933ec087aeb293c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof WebAssembly === \u0027object\u0027 \u0026\u0026 typeof WebAssembly.instantiate === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/core/wasm-module.js, src/framework/handlers/basis.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/wasm-module.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ce788c25a928a8c2da282db306e910b86c666ae5220aacb801b2246666b0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u003C 0 \u0026\u0026 this._batchGroupId \u003E= 0 \u0026\u0026 this.enabled \u0026\u0026 this.entity.enabled\u0060 appears character-identically in 3 files \u2014 src/framework/components/element/component.js, src/framework/components/model/component.js, src/framework/components/render/component.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/components/element/component.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac210d7b84e1c6d554e7eaa317ed3deea2b810a9803ff8c3c736b6b2217d289"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width === this.width \u0026\u0026 height === this.height\u0060 appears character-identically in 2 files \u2014 scripts/posteffects/posteffect-bloom.js, scripts/posteffects/posteffect-ssao.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/posteffects/posteffect-bloom.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2411a878c1db81890616e9d2f6178ef9d89a29b1811c21322bc1ffb83f19f316"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060extend\u0060 is exported and takes \u0060ex: object\u0060 from its caller, and it calls itself at line 42 (\u0060extend\u0060) with a piece of \u0060ex\u0060 (and at line 44) \u2014 and nowhere in \u0060extend\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 \u0060extend\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/core.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6b0ae58da6b434daf15271a32a65965c7738ff1fcca39dc6694d87b8d23ddb"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/2 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: load: \u0060load\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/ply.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb6d7f2f1df1877946692c92c70df6181fbf0888c48e034e62277cb498d734c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadArrayBuffer: \u0060downloadArrayBuffer\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/parsers/sog-bundle.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3961e50a0d02078eec2b053c90d3e27fb1858cc0bfae94f30c5b3e0811964b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"src/extras/gizmo/overlay/readout.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5f5bb3f575b978e93911447554378c7dfb11778d7ca001e88bfac1ac099962"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text\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":"src/framework/font/canvas-font.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"039bb31617ca7e44dab0cd51380f012173b4d001cf851641c6cc19aaef894f51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-render-pipeline.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"171aad2127a593765c61c0d4451e603e54914847ef8913e39bb52e925027bde3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cabf7bad891c14eea2c567702f7edb92bfc0bbfed65b31bea86d839f095436"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/platform/graphics/webgpu/webgpu-xr-bridge.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"be058d3ce1aebd2414fdc92d17dab275e922261e189188ad69b08af1434ae3a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a9b158aefe2171ab76c62e774a5e5e498f297e8b6a976a872b0431d4e08bc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (ex)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/xr/xr-anchors.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc9b387c12d606e61fa0b803f7c856b28aa36f6d9a8a9dcd5378ee455183162"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/framework/handlers/basis.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"454ed9b03dc12ddba2ba74c4f8dc189f17ce933df86816e62a714f4e02da9dbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/wasm-module.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"720b5eb1b84621887a92e79786d8d8a19fa9b7e2f45558a905abdaeeba874690"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 3/7 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":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060jsonImages\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":"examples/src/app/download-project.mjs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9917b32974c0eff59beaa1ffda2d432b182ab788f4af345dd8a2583b467564"}}],"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-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-807","guid":"7b9d7bab-2171-935b-9279-889089164770","name":"Reliance on Untrusted Inputs in a Security Decision","shortDescription":{"text":"Reliance on Untrusted Inputs in a Security Decision"},"helpUri":"https://cwe.mitre.org/data/definitions/807.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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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":60,"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."]}]}