{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"messages-send.makeMessagesSocket.relayMessage (cyclomatic 116): messages-send.makeMessagesSocket.relayMessage has cyclomatic complexity 116 (threshold 15). Most of this is not in the body itself: 8 of the 116 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 676, 711, 721). 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/Socket/messages-send.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13798cd34a97320934bb106843d87d95a507158eeb95b7262ddfe153335e1e"}},{"ruleId":"D1","level":"warning","message":{"text":"event-buffer.append (cyclomatic 109): event-buffer.append has cyclomatic complexity 109 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 20 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/Utils/event-buffer.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fe01e0a627779f020d910b197f365e096b4db635384cd6e8eeab0c682107a8"}},{"ruleId":"D1","level":"warning","message":{"text":"process-message.processMessage (cyclomatic 79): process-message.processMessage has cyclomatic complexity 79 (threshold 15). Of this number, 78 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/Utils/process-message.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"34777bb532fae03f11ccfdcb09d454c5201fefa2535d2a1f2cd379e57b917119"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.generateWAMessageContent (cyclomatic 73): messages.generateWAMessageContent has cyclomatic complexity 73 (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/Utils/messages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffcba489858411d5405b773fe2e1b5e943a52544ec3200c3806d18e6ff6d9ad"}},{"ruleId":"D1","level":"warning","message":{"text":"encode.encodeBinaryNodeInner (cyclomatic 69): encode.encodeBinaryNodeInner has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 12 of the 69 points are its own statements and the rest belongs to 13 function items inside it that branch (writeString, packHex, isNibble, \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/WABinary/encode.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24cdd27306efbbde33421d2bb79f15f5913206a956bef9a1bf35ac417a86cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-utils.processSyncAction (cyclomatic 55): chat-utils.processSyncAction has cyclomatic complexity 55 (threshold 15). Of this number, 48 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/Utils/chat-utils.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3c85fc818c740234ad37d26f763fc944ca29ac5ee76783966d6a7522cb6cf5"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleGroupNotification (cyclomatic 42): messages-recv.makeMessagesRecvSocket.handleGroupNotification has cyclomatic complexity 42 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 7 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/Socket/messages-recv.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b39d1641ad2305df728ed77e802d964007fea2e9543ca77b9ae32585a9800"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.prepareWAMessageMedia (cyclomatic 39): messages.prepareWAMessageMedia has cyclomatic complexity 39 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 9 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/Utils/messages.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"714922198d1f0722d214f67fe2dadab1dbccb788981c88571a4cb86f99a4ff85"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleMessage (cyclomatic 39): messages-recv.makeMessagesRecvSocket.handleMessage has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 10 of the 39 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1620, 1713, 1679). 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/Socket/messages-recv.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add3433ccdfb41e81c7fa93dcf0a2b18684261388f097853bf294006e7e0a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"history.processHistoryMessage (cyclomatic 38): history.processHistoryMessage has cyclomatic complexity 38 (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/Utils/history.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbd7629bff63865cf98dbd3156d5eb054cfd9d87d0587fa53d45f859480bfd0"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-utils.chatModificationToAppPatch (cyclomatic 38): chat-utils.chatModificationToAppPatch has cyclomatic complexity 38 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/chat-utils.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"623d1d7dff463151232731eea65430c4ae55f1e20acf5afb17fad110c5340645"}},{"ruleId":"D1","level":"warning","message":{"text":"libsignal.makeLibSignalRepository (cyclomatic 38): libsignal.makeLibSignalRepository has cyclomatic complexity 38 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/libsignal.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"687991231cacf95a0cee93b2312bdd9ad83fa227896e43aeda6d49c8da958dab"}},{"ruleId":"D1","level":"warning","message":{"text":"decode-wa-message.decodeMessageNode (cyclomatic 36): decode-wa-message.decodeMessageNode 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/Utils/decode-wa-message.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69ed801a9ffc6f10fa7c6d5076dcf45530fd4174e8c46472b7fb21245577f5d"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-send.makeMessagesSocket.getUSyncDevices (cyclomatic 36): messages-send.makeMessagesSocket.getUSyncDevices has cyclomatic complexity 36 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 6 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/Socket/messages-send.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d508a8908acda826a93174b04d2e29d6dee229fa251bca820fe933725fd214"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.sendMessagesAgain (cyclomatic 36): messages-recv.makeMessagesRecvSocket.sendMessagesAgain 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/Socket/messages-recv.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"af671fa3dc93f97c00481e0ab2a3e3a48c86a62de6610d10bfd715e1ae1bfcdc"}},{"ruleId":"D1","level":"warning","message":{"text":"LIDMappingStore._getLIDsForPNsImpl (cyclomatic 35): LIDMappingStore._getLIDsForPNsImpl has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 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/Signal/lid-mapping.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"75752bf462521dc3fb2f663ce144711af2921a9459b7ec3de7f8dc38ee788e09"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignmentExpression (cyclomatic 33): AssignmentExpression has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 260, a function literal at line 269, (anonymous)::unwrapBinaryOr, \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":"proto-extract/index.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec0e5cdd54f873136c1a254405880ad04f12ad59aefd0793f285f8496cc8362"}},{"ruleId":"D1","level":"warning","message":{"text":"chats.makeChatsSocket.upsertMessage (cyclomatic 29): chats.makeChatsSocket.upsertMessage has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 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/Socket/chats.ts"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5353d9168218cb922ea21be74e539f78874515b6014c622ae48da6e5f7d3a4d"}},{"ruleId":"D1","level":"warning","message":{"text":"socket.makeSocket (cyclomatic 28): socket.makeSocket has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 936, 890, 962, \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/Socket/socket.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ae2ab02d851ba05fb080fec964f5fee3859297dbb670ef8d7896e5a06b2dd7"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleLegacyMexNewsletterNotification (cyclomatic 28): messages-recv.makeMessagesRecvSocket.handleLegacyMexNewsletterNotification 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/Socket/messages-recv.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb6ef0f6861d19998c4bc9643e1398eae26d71764cd7386cd898d52e1b9d07a"}},{"ruleId":"D1","level":"warning","message":{"text":"decode-wa-message.decryptMessageNode.decrypt (cyclomatic 27): decode-wa-message.decryptMessageNode.decrypt has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c349255fb56bef7423c7f8f45ac182577f297517b214a3e1cec50a5091ce70"}},{"ruleId":"D1","level":"warning","message":{"text":"reporting-utils.extractReportingTokenContent (cyclomatic 27): reporting-utils.extractReportingTokenContent has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 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/Utils/reporting-utils.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87240c4517bb56815108bc883bcd6e2454dc13e277cdd7c28e531bac07e66b9"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.processNotification (cyclomatic 27): messages-recv.makeMessagesRecvSocket.processNotification has cyclomatic complexity 27 (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/Socket/messages-recv.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4769e80251f15bcf3aae7096660032d815b5ff92ca1efe6126ec849b0d9b93e"}},{"ruleId":"D1","level":"warning","message":{"text":"groups.extractGroupMetadata (cyclomatic 25): groups.extractGroupMetadata has cyclomatic complexity 25 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 7 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/Socket/groups.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ae9ea641d2985fda1cd5f0278b40d27a00cf56dfa1ccbc52f6b5829daa26d0"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.generateWAMessageFromContent (cyclomatic 24): messages.generateWAMessageFromContent has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"52790c041ac04fb7ab65d74739a9eb5f3f5087803b250e37b73367c64e1db511"}},{"ruleId":"D1","level":"warning","message":{"text":"chats.makeChatsSocket (cyclomatic 24): chats.makeChatsSocket has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1367, 1342, 1444, \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/Socket/chats.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1acef975050aeb8dfcdad51c13e9fafbce634cc6d62ac07cc17dd6d8d0953a"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket (cyclomatic 24): messages-recv.makeMessagesRecvSocket has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2018, 2055, 2086, \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/Socket/messages-recv.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a128b8432701d634a66f06238c7615020fe956f3b9b0db6f08c9e2c8926877"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleMexNotification (cyclomatic 24): messages-recv.makeMessagesRecvSocket.handleMexNotification has cyclomatic complexity 24 (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/Socket/messages-recv.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3967470c8fd4d5267ff1164fa3fbfece41069cccf422bbd27b21d9bc85b5b111"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleReceipt (cyclomatic 24): messages-recv.makeMessagesRecvSocket.handleReceipt has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 1488). 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/Socket/messages-recv.ts"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee99ccb6d0104c94c4bbbd25710e428fdb90ae9263529bd486490ceaa9dcaf9"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-media.downloadEncryptedContent (cyclomatic 23): messages-media.downloadEncryptedContent has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 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/Utils/messages-media.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4875c8de91ba728aae9ce58e979f6dbc4b3b6a06f2d1c6aafe216b06c79e96e"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-send.makeMessagesSocket.sendMessage (cyclomatic 22): messages-send.makeMessagesSocket.sendMessage has cyclomatic complexity 22 (threshold 15). 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, 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/Socket/messages-send.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f700f529752f6320e1a9bbfbce19c0db5107c7e7135f373b6ab3e754d9eafca1"}},{"ruleId":"D1","level":"warning","message":{"text":"chats.makeChatsSocket.resyncAppState (cyclomatic 21): chats.makeChatsSocket.resyncAppState has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 583, getCachedAppStateSyncKey). 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/Socket/chats.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"261104d9f511199613d0dcf2af601c18d502826913cbbb507b189df8e849c3b0"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.sendRetryRequest (cyclomatic 21): messages-recv.makeMessagesRecvSocket.sendRetryRequest has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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/Socket/messages-recv.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"815909bbc553d4620b8eeb3fe7051debc5504dbaaf3c1492ba70c7f0def0af94"}},{"ruleId":"D1","level":"warning","message":{"text":"LIDMappingStore.storeLIDPNMappings (cyclomatic 20): LIDMappingStore.storeLIDPNMappings 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/Signal/lid-mapping.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"244e6be689139f29a45ad00780a2a67a5f5e86f11c17c09c2960609b58e6ef59"}},{"ruleId":"D1","level":"warning","message":{"text":"LIDMappingStore._getPNsForLIDsImpl (cyclomatic 19): LIDMappingStore._getPNsForLIDsImpl has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 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/Signal/lid-mapping.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b58ceb18fbbf4f68c24620cac6b52f67c42e90e47e2e7e8f221e686888093fd"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleDevicesNotification (cyclomatic 19): messages-recv.makeMessagesRecvSocket.handleDevicesNotification has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 979). 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/Socket/messages-recv.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33f8445b38e42d9fa2bc6e37d0a268dcdca083e1575431813a2ab23d757bdaf"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-send.makeMessagesSocket.getMediaType (cyclomatic 18): messages-send.makeMessagesSocket.getMediaType 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/Socket/messages-send.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e00161dfbe9e158008ce1567020e24be4f889d9a0d27c0c3f1e1ef79fe938ef"}},{"ruleId":"D1","level":"warning","message":{"text":"signal.extractE2ESessionFromRetryReceipt (cyclomatic 17): signal.extractE2ESessionFromRetryReceipt has cyclomatic complexity 17 (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/Utils/signal.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee864b601a3686d77cd18b3bfd932e1e1ce7b82928cee888d8eb21276f2ca6cb"}},{"ruleId":"D1","level":"warning","message":{"text":"link-preview.getUrlInfo (cyclomatic 17): link-preview.getUrlInfo has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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/Utils/link-preview.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18be2152dfc4821098d6f459991764c62521b0e99ecab5cbbcb28b72a912a27"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleCall (cyclomatic 17): messages-recv.makeMessagesRecvSocket.handleCall 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/Socket/messages-recv.ts"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce808ee7f47959f7be6477f611575ff222298b5dc57dbb2a26bd3f656733418"}},{"ruleId":"D1","level":"warning","message":{"text":"encode.serializeData (cyclomatic 17): encode.serializeData 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/WAM/encode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"64882f9132815efcf66af0e9e33e2b5f263cd876047ed35e7a5ede08c24d0b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.pruneExpiredTcTokens (cyclomatic 16): messages-recv.makeMessagesRecvSocket.pruneExpiredTcTokens 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c45435d565cfcb1692a92f743b122a66ba365686b336b81ade3d5a4c93b7c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"event-buffer.append (cognitive 213): event-buffer.append has cognitive complexity 213 (threshold 15). Drivers by points: if/else 54 (140 pts), loops 17 (38 pts), boolean chains 29, ternaries 2 (5 pts), match/switch 1 (nesting depth added 110). Of this number, 185 points are the body\u0027s own statements and 28 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/event-buffer.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbbc8c4ee8346126807b01d7741125ed6d0fab3241db89ea3660f16b63f7080"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-send.makeMessagesSocket.relayMessage (cognitive 165): messages-send.makeMessagesSocket.relayMessage has cognitive complexity 165 (threshold 15). Drivers by points: if/else 48 (80 pts), boolean chains 39, ternaries 15 (34 pts), error handling 3 (8 pts), loops 2 (4 pts) (nesting depth added 58). Most of this is not in the body itself: 8 of the 165 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 676, 711, 721). 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/Socket/messages-send.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"009d6bfa94960b1f41a5634e1d8d1021f6510394b95303c968462c5fbc4c41e0"}},{"ruleId":"D2","level":"warning","message":{"text":"process-message.processMessage (cognitive 130): process-message.processMessage has cognitive complexity 130 (threshold 15). Drivers by points: if/else 28 (70 pts), boolean chains 18, loops 4 (15 pts), ternaries 4 (15 pts), error handling 2 (8 pts), match/switch 2 (4 pts) (nesting depth added 72). Of this number, 126 points are the body\u0027s own statements and 4 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/Utils/process-message.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e833c7f8f22487212cba1328f3e552d6a35375bd87d750ebf742fc4507f0207e"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.generateWAMessageContent (cognitive 103): messages.generateWAMessageContent has cognitive complexity 103 (threshold 15). Drivers by points: if/else 52 (80 pts), boolean chains 16, ternaries 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7b588ab0f8b24e0ed4b16031814280e358dcf9784e7683a4c487090da3b0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"LIDMappingStore._getLIDsForPNsImpl (cognitive 85): LIDMappingStore._getLIDsForPNsImpl has cognitive complexity 85 (threshold 15). Drivers by points: if/else 18 (43 pts), ternaries 8 (24 pts), loops 5 (12 pts), boolean chains 6 (nesting depth added 48). Of this number, 81 points are the body\u0027s own statements and 4 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/Signal/lid-mapping.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aa9775ed07cfcdc925e069b35056bf99e1e0559183fdfa5c8da3fcbec2ab82"}},{"ruleId":"D2","level":"warning","message":{"text":"encode.encodeBinaryNodeInner (cognitive 78): encode.encodeBinaryNodeInner has cognitive complexity 78 (threshold 15). Drivers by points: if/else 39 (46 pts), boolean chains 19, loops 7 (8 pts), ternaries 3 (4 pts), match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 13 of the 78 points are its own statements and the rest belongs to 13 function items inside it that branch (writeString, isHex, writeJid, \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/WABinary/encode.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b39d63b636cd17482a9ca5b54ca7556be32c23eafaba669ab9c6d598f52f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleMessage (cognitive 71): messages-recv.makeMessagesRecvSocket.handleMessage has cognitive complexity 71 (threshold 15). Drivers by points: if/else 27 (57 pts), boolean chains 9, error handling 2 (4 pts), ternaries 1 (nesting depth added 32). Most of this is not in the body itself: 14 of the 71 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1620, 1713, 1679). 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/Socket/messages-recv.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"e372dbe3a7bd31331017539a93a950a17cdf24bc6a45b9e0c2bd973c6b087536"}},{"ruleId":"D2","level":"warning","message":{"text":"reporting-utils.extractReportingTokenContent (cognitive 70): reporting-utils.extractReportingTokenContent has cognitive complexity 70 (threshold 15). Drivers by points: if/else 24 (68 pts), boolean chains 1, loops 1 (nesting depth added 44). Of this number, 66 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/reporting-utils.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"759f7ab128beff72a687054c42d991958f7f5da25197888b4b64c53a645d92b4"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-utils.processSyncAction (cognitive 69): chat-utils.processSyncAction has cognitive complexity 69 (threshold 15). Drivers by points: if/else 29 (35 pts), ternaries 11 (23 pts), boolean chains 11 (nesting depth added 18). Of this number, 60 points are the body\u0027s own statements and 9 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/Utils/chat-utils.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feb2f21ee7450ac8e28b2ea4b4fdbeb64a8c39b37f40c1da9895d193e7e2ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"AssignmentExpression (cognitive 68): AssignmentExpression has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (50 pts), boolean chains 8, ternaries 3 (8 pts), loops 1 (2 pts) (nesting depth added 37). Most of this is not in the body itself: 12 of the 68 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 260, a function literal at line 269, a function literal at line 281, \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":"proto-extract/index.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eb1fe5e81e6d245c11854e455b3f7b99133a06d002f4bad737484018a6665c"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-send.makeMessagesSocket.getUSyncDevices (cognitive 67): messages-send.makeMessagesSocket.getUSyncDevices has cognitive complexity 67 (threshold 15). Drivers by points: if/else 18 (34 pts), loops 8 (15 pts), boolean chains 8, error handling 2 (6 pts), ternaries 1 (4 pts) (nesting depth added 30). Of this number, 54 points are the body\u0027s own statements and 13 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/Socket/messages-send.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1272d23bb1459a62dca6828de38d67afaeab8e00607a2615ff7568655aa65960"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.sendMessagesAgain (cognitive 59): messages-recv.makeMessagesRecvSocket.sendMessagesAgain has cognitive complexity 59 (threshold 15). Drivers by points: if/else 23 (46 pts), boolean chains 7, error handling 2 (4 pts), loops 2 (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/Socket/messages-recv.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"04603a320b09a66f992805a7afa56e9ee403007c5e8a5e499a61bbb53b742ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"decode-wa-message.decryptMessageNode.decrypt (cognitive 55): decode-wa-message.decryptMessageNode.decrypt has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (27 pts), ternaries 3 (10 pts), error handling 2 (7 pts), boolean chains 6, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff100580a1ea5a611e7dd7b816e0175094c67304d8b1859b35f8fb3259d5f852"}},{"ruleId":"D2","level":"warning","message":{"text":"libsignal.makeLibSignalRepository (cognitive 52): libsignal.makeLibSignalRepository has cognitive complexity 52 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 6, loops 3 (4 pts), ternaries 2 (4 pts), error handling 1, match/switch 1 (nesting depth added 16). Of this number, 35 points are the body\u0027s own statements and 17 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/libsignal.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8024da091efeed2bbd403baba2631b3d023b9944c9ce5a19954e978bc8b650"}},{"ruleId":"D2","level":"warning","message":{"text":"history.processHistoryMessage (cognitive 49): history.processHistoryMessage has cognitive complexity 49 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 17, loops 4 (8 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/history.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a9e461db4fb8c140a04f9901de81a5cc5825f46bf679121904c1ec9da9859d"}},{"ruleId":"D2","level":"warning","message":{"text":"decode-wa-message.decodeMessageNode (cognitive 46): decode-wa-message.decodeMessageNode has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 9, ternaries 6 (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/Utils/decode-wa-message.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4584dce3cefe36d5d89d0c4c45115d716fdb1b2834caa7921295f33afadb20"}},{"ruleId":"D2","level":"warning","message":{"text":"chats.makeChatsSocket.resyncAppState (cognitive 45): chats.makeChatsSocket.resyncAppState has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 4 (6 pts), boolean chains 4, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 22). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 583, getCachedAppStateSyncKey). 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/Socket/chats.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1c1e9ab2ff17909ca6d3c1a09418ca8960d2f7b8532bffe03eeefaa711f68e"}},{"ruleId":"D2","level":"warning","message":{"text":"decode.decodeDecompressedBinaryNode (cognitive 43): decode.decodeDecompressedBinaryNode has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (20 pts), boolean chains 8, match/switch 4 (6 pts), loops 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 12 of the 43 points are its own statements and the rest belongs to 14 function items inside it that branch (unpackHex, readString, readInt, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/decode.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a0951817ceab68ae21599af8cd7c36c4ae2c13c4c0f91f41078827825015d0"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleLegacyMexNewsletterNotification (cognitive 42): messages-recv.makeMessagesRecvSocket.handleLegacyMexNewsletterNotification has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 5 (10 pts), loops 4 (9 pts), boolean chains 5, error handling 1, match/switch 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/Socket/messages-recv.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7359d41bda92ff976f4cc6d0cfd7a991abc13dfd224be06302b7afba1493676"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleReceipt (cognitive 41): messages-recv.makeMessagesRecvSocket.handleReceipt has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (11 pts), boolean chains 10, error handling 1 (4 pts) (nesting depth added 16). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 1488). 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/Socket/messages-recv.ts"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1bffd238d2a5d4f9e870efbfea7ac80daa7dd1639169eda2dfb00e486ce86c"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.prepareWAMessageMedia (cognitive 39): messages.prepareWAMessageMedia has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 12, error handling 2, loops 1 (nesting depth added 6). Of this number, 29 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/Utils/messages.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7d88940fd6036f18473e03cdcfbab1e6449f5d8e2d12e0cb7614f5481dcfac"}},{"ruleId":"D2","level":"warning","message":{"text":"chats.makeChatsSocket.upsertMessage (cognitive 34): chats.makeChatsSocket.upsertMessage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 10, ternaries 2 (3 pts) (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 3 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/Socket/chats.ts"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d735fec38847b5a8f668909e735d6c4b6bccb162fec5eaeae6d0e8a947bf616e"}},{"ruleId":"D2","level":"warning","message":{"text":"LIDMappingStore._getPNsForLIDsImpl (cognitive 30): LIDMappingStore._getPNsForLIDsImpl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, loops 2 (3 pts), ternaries 3 (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 4 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/Signal/lid-mapping.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ce048c2cd749940634496036fc1ee40c0fc616a1cd74c178439b32ef446f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-media.downloadEncryptedContent (cognitive 30): messages-media.downloadEncryptedContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 7 (10 pts), boolean chains 5, error handling 2 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 7 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/Utils/messages-media.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c86a360f61ec3c3e55f34d1fb2f4bc26fde3f5e670f996be898d627d6d42de"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-utils.chatModificationToAppPatch (cognitive 30): chat-utils.chatModificationToAppPatch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20, boolean chains 10. Of this number, 25 points are the body\u0027s own statements and 5 belong to 2 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/Utils/chat-utils.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b796a0a58598b793918d607938080f20c4fa29115c15730f2933af6a3884d022"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-send.makeMessagesSocket.sendMessage (cognitive 29): messages-send.makeMessagesSocket.sendMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, ternaries 3 (7 pts) (nesting depth added 8). Of this number, 26 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/Socket/messages-send.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b50e105b42370d5f89c25ee85ca627e63397bb8e814d9e3711a2f4b847ded4"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket (cognitive 29): messages-recv.makeMessagesRecvSocket has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, error handling 2 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2018, 2055, 2086, \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/Socket/messages-recv.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"827dd459242873b592fb4dfbb4629e2e9c0e37ff08f237311c6ce7eac50d5c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"socket.makeSocket (cognitive 28): socket.makeSocket has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12, boolean chains 9, error handling 5 (6 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 936, 890, 962, \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/Socket/socket.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf20f288beb00091fab34670fbb309cdb3164d1d5e3031f0a0770481f27903e"}},{"ruleId":"D2","level":"warning","message":{"text":"LIDMappingStore.storeLIDPNMappings (cognitive 27): LIDMappingStore.storeLIDPNMappings has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 6 (7 pts), boolean chains 4 (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/Signal/lid-mapping.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3772da6e256710341146d95a61eac8dd2c501650317e8f1807432fc9bd8f5259"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleNewsletterNotification (cognitive 27): messages-recv.makeMessagesRecvSocket.handleNewsletterNotification has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 1 (4 pts), ternaries 1 (4 pts), boolean chains 2, match/switch 1 (2 pts), loops 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/Socket/messages-recv.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f8c34e7dee913c00767b862fd946283963833f82d1f81d5879629b4d8c025b"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.sendRetryRequest (cognitive 27): messages-recv.makeMessagesRecvSocket.sendRetryRequest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, error handling 2 (5 pts) (nesting depth added 7). Of this number, 20 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/Socket/messages-recv.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc9f0030bbefc65c99471713f22821f7c29a71f58b5e306430a7cc1a46c287f"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.processNotification (cognitive 27): messages-recv.makeMessagesRecvSocket.processNotification has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (3 pts), error handling 1 (2 pts), match/switch 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/Socket/messages-recv.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"f347920fcbcf59f80a3acd068ad62e6baa5d7a43d1548c8b134988c1292d88d8"}},{"ruleId":"D2","level":"warning","message":{"text":"chats.makeChatsSocket (cognitive 26): chats.makeChatsSocket has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1, match/switch 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 1367, 1342, 1444, \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/Socket/chats.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cae0f458cb9f01f34c697a6681495e1500845d576b733f49d5ef9375fbfffc"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-utils.decodeSyncdMutations (cognitive 25): chat-utils.decodeSyncdMutations has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 2 (4 pts), ternaries 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 12). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/chat-utils.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba700ea1e6a69f54c6a55983e818deb26e710cd539c92c0d5b2c9b4200c628"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleDevicesNotification (cognitive 25): messages-recv.makeMessagesRecvSocket.handleDevicesNotification has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, loops 3, match/switch 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 979). 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/Socket/messages-recv.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d0d393c70e59e322c4c770dfe81826e253cc0e79f2c9e5822697014255585a"}},{"ruleId":"D2","level":"warning","message":{"text":"groups.extractGroupMetadata (cognitive 24): groups.extractGroupMetadata has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 8, if/else 4 (5 pts) (nesting depth added 3). Of this number, 18 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef596896f210fc8ea2394863068e040a09c3be343572f4ac852e235050705932"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.generateWAMessageFromContent (cognitive 23): messages.generateWAMessageFromContent has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (9 pts), ternaries 2 (3 pts) (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/Utils/messages.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd12e6e90a47bfbeeec1672f3614311c7d2f4c34a276bb4f9cc76e2ff2f3b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleGroupNotification (cognitive 21): messages-recv.makeMessagesRecvSocket.handleGroupNotification has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (6 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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/Socket/messages-recv.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db483b48a7fe24ed3f6cf8bdf73f9a3c6d50956442d650434de96e15ea920d2"}},{"ruleId":"D2","level":"warning","message":{"text":"encode.serializeData (cognitive 21): encode.serializeData has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5 (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/WAM/encode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ae6ca12eac55ad62f1f173e75f244a0402a5a8e69389518370ccaba1e49dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.extractAllExpressions (cognitive 20): index.extractAllExpressions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (10 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":"proto-extract/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"633857f2f64cf5448edfa1102674e0dc6b6ad971c45a53639cd6784c0ace98ba"}},{"ruleId":"D2","level":"warning","message":{"text":"process-message.storeTcTokensFromHistorySync (cognitive 19): process-message.storeTcTokensFromHistorySync has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 4 (6 pts), boolean chains 2, error handling 1 (2 pts), loops 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/Utils/process-message.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88f674c869c12761c22102d4f0917474daa4ef5011df1aef222bcdc7205476b"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-send.makeMessagesSocket.getMediaType (cognitive 19): messages-send.makeMessagesSocket.getMediaType has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, ternaries 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e1b588df74dce9eeec0db24fce7006ad1b1f7380a62870d53d313eb775fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"link-preview.getUrlInfo (cognitive 18): link-preview.getUrlInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 4). Of this number, 14 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, 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/Utils/link-preview.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e614a777f125f049c6f947ce4fb6df3260c07b06898ee6b40d88ec9aa754e9"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.pruneExpiredTcTokens (cognitive 18): messages-recv.makeMessagesRecvSocket.pruneExpiredTcTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 3, error handling 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb3cb3e7a4de093727bf6bc56e1db53faa77c88921582c4cc10a994232e1f77"}},{"ruleId":"D2","level":"warning","message":{"text":"communities.makeCommunitiesSocket.communityFetchLinkedGroups (cognitive 18): communities.makeCommunitiesSocket.communityFetchLinkedGroups has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3, loops 1 (2 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/Socket/communities.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68561e32742b077e5ecf194b212fc3e71a5c7b3fc4c2a82a7ab6ec2a71a131b"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-media.encryptedStream (cognitive 17): messages-media.encryptedStream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (3 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 6). Of this number, 16 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/Utils/messages-media.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4f8f01f2c6bb06145f2ae62021d65fdf7c4632ff55eb259188cd35fa8bdba3"}},{"ruleId":"D2","level":"warning","message":{"text":"signal.extractDeviceJids (cognitive 17): signal.extractDeviceJids has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 5, 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/Utils/signal.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a52a4bdc2b325eb357feb2a085101037f1a08daf42c20f32f454836345be6bf"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-utils.decodePatches (cognitive 17): chat-utils.decodePatches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/chat-utils.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"05576a029c9f2298e5809767d3e0320fba852478f08b2cfeb9dec415e478d48f"}},{"ruleId":"D2","level":"warning","message":{"text":"tc-token-utils.storeTcTokensFromIqResult (cognitive 17): tc-token-utils.storeTcTokensFromIqResult has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (4 pts), boolean chains 3, 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/Utils/tc-token-utils.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdab06ed38dea50a5d9047df3965c8df0c4389f4bf44c52b99bd3a20864344f"}},{"ruleId":"D2","level":"warning","message":{"text":"socket.makeSocket.onMessageReceived (cognitive 17): socket.makeSocket.onMessageReceived has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (5 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 589). 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/Socket/socket.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a20f400c02f7080ba362d02960b2347f6f4f6a4a7c4b65a0f3aa54f20c0bf80"}},{"ruleId":"D2","level":"warning","message":{"text":"chats.makeChatsSocket.updateBlockStatus (cognitive 17): chats.makeChatsSocket.updateBlockStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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/Socket/chats.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a203366408beffea0c42500d4caafba201cca06a44a20212a7064896af68d60b"}},{"ruleId":"D2","level":"warning","message":{"text":"messages-recv.makeMessagesRecvSocket.handleBadAck (cognitive 16): messages-recv.makeMessagesRecvSocket.handleBadAck has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb7477135cd6f546f014860a15b45ec4bc7e3fbc9c9c643e479eb62b2c0182"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-send.makeMessagesSocket: FunctionTooLong \u2014 makeMessagesSocket runs 883 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 783 over it, 8.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e24b37e7ea782ec533970c87c59fe35047e7d0757754a9ed8517acb61a2005"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: socket.makeSocket: FunctionTooLong \u2014 makeSocket runs 698 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 598 over it, 6.98\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/Socket/socket.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea19fa646bd69f8f8f7b2d4ec597d99037a0125127024cd7e0b544d4245a2cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-send.makeMessagesSocket.relayMessage: FunctionTooLong \u2014 makeMessagesSocket.relayMessage runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\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/Socket/messages-send.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4be951b408a6ef732c40277c3d0771a5565ac2a279b314e257ac28918601d77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process-message.processMessage: FunctionTooLong \u2014 processMessage runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fa3148328d9bf6dd3351eaa8e611d340ce8489177f80bdc4d151325d2592de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Socket/messages-recv.ts: FileTooLong \u2014 1454 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: makeMessagesRecvSocket (110-2174). The bar is 500 significant lines; this is 954 over it, 2.91\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/Socket/messages-recv.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5b89e7247fe23f64da0bc0793845df0df2bfbb0403c471890156e30eecda0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: business.makeBusinessSocket: FunctionTooLong \u2014 makeBusinessSocket runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/business.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"123bba8e2fc1f7e595af82412e8c01e3ebe2ec76fde798e5431ddc2e3054fb43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: communities.makeCommunitiesSocket: FunctionTooLong \u2014 makeCommunitiesSocket runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\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/Socket/communities.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe12347c32dbdd8d88e0dc28c766b7cb81ab9dc5cae1bbda521562135b9892e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: event-buffer.append: FunctionTooLong \u2014 append runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.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/Utils/event-buffer.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"69981d6363f82c9dc4e580c9d39785f6ef0639982a16f1f0c6c3412c67e0dadf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: libsignal.makeLibSignalRepository: FunctionTooLong \u2014 makeLibSignalRepository runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/libsignal.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"174d4ecbc2a81f18391281017a91cb4778ed5bcd229b233aa28bec5de79c6769"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.generateWAMessageContent: FunctionTooLong \u2014 generateWAMessageContent runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\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/Utils/messages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6652525854dbde1fe3215d1e73388b7bdc1f140816b53e1fceda666b034bb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-utils.chatModificationToAppPatch: FunctionTooLong \u2014 chatModificationToAppPatch runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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/Utils/chat-utils.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9e3a9cebd86a3dd9e6bc87b6cc86303d8441a3000027b1b79b483403d06b37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decode.decodeDecompressedBinaryNode: FunctionTooLong \u2014 decodeDecompressedBinaryNode runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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/WABinary/decode.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"000646c66ece89bb71d16b5703ab52c45aad93d04eae69cb6f82806f4f879e2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Socket/messages-send.ts: FileTooLong \u2014 954 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: makeMessagesSocket (73-1419). The bar is 500 significant lines; this is 454 over it, 1.91\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/Socket/messages-send.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a69285f3b749f6ddcee1f7a19649017a5e1f530c2756ea1628bf4cef1f5fc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Socket/chats.ts: FileTooLong \u2014 937 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: makeChatsSocket (79-1533). The bar is 500 significant lines; this is 437 over it, 1.87\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/Socket/chats.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4240cecbd3c744d4da807dc0ecd259b72a70d67516fc6186338f01216a6673a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: groups.makeGroupsSocket: FunctionTooLong \u2014 makeGroupsSocket runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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/Socket/groups.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b2428870660d1872995f747a5787895e51fec188e1594be4d8df0d5f5f2166"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: encode.encodeBinaryNodeInner: FunctionTooLong \u2014 encodeBinaryNodeInner runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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/WABinary/encode.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa10767ffe69846932469fd6507a1a578118652c587271a4fe709d8cce4843dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Socket/socket.ts: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: makeSocket (72-1190). The bar is 500 significant lines; this is 264 over it, 1.53\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/Socket/socket.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce14fde8dafa5a856959ec04691bb0afbcdc84340e44cd6f794770407237d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-utils.processSyncAction: FunctionTooLong \u2014 processSyncAction runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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/Utils/chat-utils.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f89016adb0973e368d012539d896c432923f9e7151e4759294660a7298b332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/messages.ts: FileTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 235 over it, 1.47\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/Utils/messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35918126c9bd9ecb75a737e02baf9969132756e7d8bfacbbc025b3d2ad2f2e9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: noise-handler.makeNoiseHandler: FunctionTooLong \u2014 makeNoiseHandler runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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/Utils/noise-handler.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a592c9268f8b70aafef25caca299e58935f95f50e29a2115151a3c299d3280bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/chat-utils.ts: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 207 over it, 1.41\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/Utils/chat-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2397c1090071ab36759a036a49f659eb2d78f7e0adb498e9cd1995aee2035bbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.prepareWAMessageMedia: FunctionTooLong \u2014 prepareWAMessageMedia runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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/Utils/messages.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a879d8fde9c090d22ce4d645a9dfe426e5d9359b6c5e06b9ef6ebf8d7ce3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/messages-media.ts: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 150 over it, 1.30\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/Utils/messages-media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef873af47e220ce89bed957ffb5ff0eedee24ebb4fdc5a0b8af80e22fe8a3a25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-recv.makeMessagesRecvSocket.processNotification: FunctionTooLong \u2014 makeMessagesRecvSocket.processNotification 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/Socket/messages-recv.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8b3ba606afe1c9eb1ca63a57c315c0bb2ad1c5e669252e921beca088c4dbe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: event-buffer.makeEventBuffer: FunctionTooLong \u2014 makeEventBuffer runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/event-buffer.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4f7fd7e804fa97c2c529dad714b2171bccf7d8dc1ecf0354fd60c8537607c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: auth-utils.addTransactionCapability: FunctionTooLong \u2014 addTransactionCapability runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/auth-utils.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"10508a262bdfe50f881d6bb1d0328b4ba4c4bd535818ecd13d152d7e396271fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chats.makeChatsSocket.resyncAppState: FunctionTooLong \u2014 makeChatsSocket.resyncAppState 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/Socket/chats.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"696772ec4f2af53901b760f90db7eefda246d28fb13519dd0b4c850cbe57cede"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: newsletter.makeNewsletterSocket: FunctionTooLong \u2014 makeNewsletterSocket 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/Socket/newsletter.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a8ca7e253d9f75bd15c0176d1196be6c01a2c9bbbe13573cac36f2aab4ff0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-send.makeMessagesSocket.getUSyncDevices: FunctionTooLong \u2014 makeMessagesSocket.getUSyncDevices runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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/Socket/messages-send.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"82730a4dda5f98bf2ded64e0973bdb6dc2c6b12c011b296c436e183d2d7cca83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages-recv.makeMessagesRecvSocket.handleGroupNotification: FunctionTooLong \u2014 makeMessagesRecvSocket.handleGroupNotification runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.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/Socket/messages-recv.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c0388bfd6600b0ddf0e5afbfe3d11d894e53c54c93f8a3e02bfb0eb8c19a43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/process-message.ts: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\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/Utils/process-message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed514ae3e9abb15f5eacd2355b95a7415fdc4dcc7c8a9edf83105fdb9346f12f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: USyncUser (LCOM4 7): USyncUser\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/WAUSync/USyncUser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acc66ecf0267315ff68491c3857b4e8b329365df8cd5931b424759f808fdd9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: USyncQuery (LCOM4 4): USyncQuery\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/WAUSync/USyncQuery.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"395d53684305b7b225c85aa17cd5d182dd158bf249487b1bd8f7c88c2ec81048"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: alice and bob exchange messages bidirectionally: 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":"src/__tests__/e2e/messaging.test-e2e.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5054bf858882028ad99f7b8d92a8414c25c2ef01816d8b890a860a6b099bc"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should not deadlock when history sync is disabled: This test starts work it did not wait for (\u0060sock\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/__tests__/binary/connection-deadlock.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799d903d3058f0f67c806a7f86dd334f5853ffcdaf1af397516be90438689da"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should skip 20s history sync wait on reconnection (accountSyncCounter \u003E 0): This test starts work it did not wait for (\u0060sock\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/__tests__/binary/reconnection-sync-skip.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ae2b4ac3ec9188e46fd41b8109803fb50c9c18b8e993687c94bb762ee9993b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should still wait for history sync on fresh pairing (accountSyncCounter === 0): This test starts work it did not wait for (\u0060sock\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise(resolve =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/__tests__/binary/reconnection-sync-skip.test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d4ef30d7a2b330fe4e71e1f4ece8fda06b3574a07d52bf0b20aabd4adc94b"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 9.35.0, 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":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: request: request 2.88.2, declared in proto-extract/package.json, is marked deprecated by its publisher: \u0022request has been deprecated, see https://github.com/request/request/issues/3142\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proto-extract/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4f9cfb04174dc8487a4a03aa9d3a5030e60f5c224e7a5fc6c002ebbce09769"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: request-promise-native: request-promise-native 1.0.9, declared in proto-extract/package.json, is marked deprecated by its publisher: \u0022request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proto-extract/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d770ddbf265a1adf6259f87486eec57e38dfec7feab9ec767c07768a878c897"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @ungap/structured-clone: @ungap/structured-clone 1.3.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Potential CWE-502 - Update to 1.3.1 or higher\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":"yarn.lock"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0342206d94757661fff0372024607551e19e48dfec77799ca3edc4de1de7da"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 10.5.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":4830}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebcbe5cfec9965c6fbf9529785e9791032568451cf64dd1c1c01dd611643944"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":4846}}}],"partialFingerprints":{"codehealthFindingId/v1":"31beac7282a29dcabcca981a76386e2a3e3bc8c0c313cf0de57a17da22e5d150"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 8.1.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":4860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f4ec4ea9ae819ffebe1f3a3f04413c3aefae0b922ca73d856341aa3e0318f2"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":5092}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be9905a34a12b9511076231a068531da3ac6b41453399bbd9f2029c07dc756"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: querystring: querystring 0.2.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022The querystring API is considered Legacy. new code should use the URLSearchParams API 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":"yarn.lock"},"region":{"startLine":7482}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d85d8a0143cd27d788c331adb45d4ed3971dfbe1c155dd14829f1a6da1fd8ea"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: har-validator: har-validator 5.1.5 is resolved in proto-extract/package-lock.json and is marked deprecated by its publisher: \u0022this library is no longer supported\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":"proto-extract/package-lock.json"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fedc0e3c86b3f9117cba09f21f908a7ea8725cf619eba1c44661491a03ab6c"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: uuid: uuid 3.4.0 is resolved in proto-extract/package-lock.json and is marked deprecated by its publisher: \u0022uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).\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":"proto-extract/package-lock.json"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"480c6223fc884e9efa13d62520eb0665767e19776b0b9fa080d83af6a43b3067"}},{"ruleId":"D13","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":"25fa2af995f5857e0561087a55bf122bc82f3d85b40e6d5006f13c88677b5615"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: libsignal: \u0060libsignal\u0060 6.0.0 is published on registry.npmjs.org under \u0060GPL-3.0\u0060, which this policy bans, and it is a production, optional or peer dependency this repository\u0027s committed lockfile resolves \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f970ee0e675e18382c366ae477f8e71ba046b9c1312efb9b595a80dcad47f4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/Utils/reporting-utils.ts, src/Utils/identity-change-handler.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40d76ab06e05995bd68140dbb49916e61942b4a14e513b038b1537fcd71e26b8"}},{"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 (3 single-owned of 52 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; 52 of the 101 production source files in this repository met that bar). They are anonymized user #2 (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/WAM/constants.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement errors etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/USyncQuery.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a017faaa5de4c0a8dbe261ce2daf8580efb8e0c00d7a74c18c28d0c5e1b955e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: implement error backoff, refresh etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/USyncQuery.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d93fedc38c0980696b8f86628885f21d5818126f1398c0f97c330e26cc39d63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: see if there are any errors in the result node \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/USyncQuery.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aa4bfe1011948bb9cb8ca7d29cfea4111dd2db0e0be00df78283e702d39318"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: implement side list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/USyncQuery.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"659eea784760a65dc14e79f450d4247ded339ceb9b4a4b679e36548a25a4a4f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Implement device phashing, ts and expectedTs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/Protocols/USyncDeviceProtocol.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff23603afad1fcad0ff2a349e8ffaa51e53ee0822570e39dac5646ab2c7e9e3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: if all are not present, return null \u003C- current behavior \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/Protocols/USyncDeviceProtocol.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a58a144312d64418b50b77b51f7622ae027047ff72fa8cdd20982aa2bc7280"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: otherwise return a node w tag \u0027devices\u0027 w those as attrs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WAUSync/Protocols/USyncDeviceProtocol.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce4781363d86ab4585925d389d26caa1b0431675ec4418d206080f63de0bb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: investigate how to implement hosted ids in this case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/jid-utils.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"14beac143ec331d24932580e89f0970579ed04bbcb41d4278f0c014417beef3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle hosted IDs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"35289bef818e23fb02b5d51e6a2b9e5b8e19be16b52577723ed50dcb06931e43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove from here and add a STUB TYPE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"616eeafaa7b4a29366f54d74f28176b1f402d83423d84d2db69b34f2d06ccf58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle hosted devices \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"20567e13bf84795ac34d4b9ce22859bb03d9841179803556763e6d0002534143"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/event-buffer.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8efc634cbaaf65a7fd4e678d48a315d29078e6b540b189a4128bfcc6b1b310"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move entirely to sharp, removing jimp as it supports readable streams \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages-media.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f56cdce3d6ffcc8d51a85709c9050a663d94f7241ae6b471406c7b12fab65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: add more support here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"622849cf814454ebd90bd1e076c0a3086e247b16808b3d010941b07dbbf2b229"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hacky copy \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04e35753f81830848cdaba202c4d9217eea0a0b8da10f6b59e9d464d3ec97a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: use built-in interface and get disappearing mode info etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf45e7caabd1ee28857caa79b27f231b022b97d6144aff0b78150f1cfd9c1fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: cache / use store!? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a06ed1a08495681511e45979ed162f3a1dde103da7acf943f6a0c7f14b35669"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for LIDs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"20019119f2a02a833044994f61fe6f52c14b1f12518a0bfaaf2043268d3aa763"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for LIDs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"818d277dab0ad569f01abda5693467f52fdb990a0d5671a6e5c0b104001faea2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate inconsistencies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434c99fd26d274446f0ecd60c171643f29e5e7de3a3e2d92dda12b7f12959e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: target:audit AUDIT THIS FUNCTION AGAIN \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf6c1bbf8887053a2a0d138acde1a07d080fcfc45018cb0cdb653c803bbbd3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2b668370b77c319d4c93093ebba83af867abc55c95607b4dc163aefe15ad37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b5ecab2d9ef265f69263d4c74835bfbb0a51dabe2036c89c3ccfad16215bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: IMPLEMENT HISTORY SYNC ETC (sticker uploads etc.). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"b324be071f0a79e7ad96e3e31b0b6e9ef2640f6d419810d02c672d2772c1449d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add other events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"364acd12f8ee01a1f1f8cd1d21059e4e5343697efe1a850093f33dcbed666dc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make standalone, remove getMessage reference \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cec28648bbe90c5a709e74134126acc7982e1f8757ec980e818e32d1ec45ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove entirely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fbe69cc1a076345e19f10134f195923ee23d4207fec8323ffb7cd2480acfb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate (hard set as false atm) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/validate-connection.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b38350c96839ee670502fb90ba30fabd7565b48589edf7105daee022ea50c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor this mess \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Events.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f0cb6dacce141610e9519e5431bc9d99a3f74136da3539cb30ce013792027"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove out of the message key, place in WebMessageInfo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Message.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756fe3d972dfd8172976a0983b36cccc706e33d7c536c4aa6057074089cf44c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor and gain independence from Boom \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/State.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"652b96f7d38a6c923c31c0c30dcdad740bae04494fa0e67a8819adb4f9abfab0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate if this makes any sense at all \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/communities.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c654a47c360fe7c75e93e27ea2373100f75ea5dbcf2dc269588e967a0af42e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: IMPLEMENT THE PN/LID FIELDS HERE!! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/communities.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d31156a9d614193e1988be18f7e9d01d5f70b3e67ee9ccb4fb6a336097f51b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: properly parse LID / PN DATA \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b7ebc6be82ad8beea3ce7ec1f031728b59a92198013982fd9c2a149a37467"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Store LID MAPPINGS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67daa514142b9006db689a749bebd618c9faf9219e120c034df9a444369d6bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Store LID MAPPINGS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecfddfc2a5615e83b77c7bd65c251c60c997e2519d8508d184ab9e0b95e19c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this really true though \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3809cdb32ef1be92100955f5749c5a5a7e76137651b9c813477815a252aa847"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support PN/LID (Here is only LID now) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"00348dbb4c88ff3ec7a24f0336c3b5af7475d2b34b8930d64a0c606456b363d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LIDMAPPING SUPPORT \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"061c259e4065027ef0732ded3914e86ba7ac95703c42a7b499937dce9a835cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: HANDLE PARTICIPANT_PN \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0945f44fadfab013a0846a9763a93df6b90cb3579c010ca78247706be89320f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: WAJIDHASH stuff proper support inhouse \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"c339bfb209c9c4da922352237dae71b2a8458bb2f6547501efb705d5e19018f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: temporary fix for crashes and issues resulting of failed msmsg decryption \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9128d64a16c5f9d9170662787e0f0cc445fd850f90e57f97f7d20de3a7d2762"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate sending receipts to LIDs and not PNs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c7c4e2dba509b73a7f8883c6da1a4a1ffa2f2fe0cc8ecf69d7d1dbf01e5601"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: explore full length of data that whatsapp provides \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8727db100e50e086789e696c35998d4411a8eec3afd3539b4d61f58b937e26a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: investigate - the idea here is that \u003Cuser\u003E should have an inline lid field with the lid being the pn equivalent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c58827ea80e7f5dc5a73bfbb0064131db0bc8e9a0ed441454abe71d5349868"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LID MAP this stuff (lid protocol will now return lid with devices) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d1b489b3d05fb03ad2f3c5650e984a555c1832c2e5edade9b09e6442091fc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: for later, abstract the logic to send a Peer Message instead of just PDO - useful for App State Key Resync with phone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6d24fc58fcd644576634308de923d8885bb625c33eacb0d3d126c69f508a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: expand for reactions and other types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"095300ae0a64c1b5204a428ab40d3e263af72de98006662b03ea0c8d78a6806b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: should we rely on the cache specially if the cache is outdated and the metadata has new fields? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"158cbf2e05ad35a2e91295b8abc7a004bccfc751bc8ea7eae6712c769bf9a9fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: start storing group participant list \u002B addr mode in Signal \u0026 stop relying on this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3bc6417b8cceaa8394c88c8e80e94038fbd044d69939a64f181769b98c20c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check out what if the sender key memory doesn\u0027t include the LID stuff now? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4697bdef946b10c51fab4a3df609e801362bbad766041ca7f000d654ec53cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: revamp all this logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c236b87ec4f82d9db193e2dd1ba74a73722a04e66e0616c54abc08d92419dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: investigate if this is true \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"759388c253f2ec52f90f28c76d42f2f0b5eb1ed04155f48e27618c8887854a4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: CACHE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba7114cd2901396aa5aa885db975d8ed2bf7697cf1eb258495e393c25ddeb4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: validate users, throw WARNING on no valid users \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db0e6cc3250d2aa88f80042e89a680a2dfb6032efdf6a7d33aa168d48ba5da0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use usync to handle this entire mess \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/libsignal.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"400a63403169ca39925c0eb98db247b81cea222f95dca7c5b98cba09d95ad0f0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060generateMessageID\u0060 spells \u0060ID\u0060 where 61 names in the project spell it \u0060Id\u0060: 61 of 62 names in project baileys spell the token \u0060Id\u0060 (61 of 62; unit: names in project baileys containing \u0060Id\u0060). Peers: keyhelper.generateSenderKeyId (src/Signal/Group/keyhelper.ts:10); SenderKeyDistributionMessage.getId (src/Signal/Group/sender-key-distribution-message.ts:92); SenderKeyMessage.keyId (src/Signal/Group/sender-key-message.ts:14); SenderKeyMessage.constructor(keyId) (src/Signal/Group/sender-key-message.ts:20); SenderKeyMessage.getKeyId (src/Signal/Group/sender-key-message.ts:66). Rename to \u0060generateMessageId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/generics.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"df14c1b6226177b58a801b5e9c189b5ce1eda4529c47b6cf913ce59c56be3c14"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handles newsletter notifications\u0022 repeats the code it sits on: 3 of its 3 words (handles, newsletter, notifications) are already in \u0060const handleNewsletterNotification = async (node: BinaryNode) =\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/Socket/messages-recv.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e035825577569f7ac8f3cd25a9579e8dba83960099615a6a4b8a3478b60c81f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022add transaction capability\u0022 repeats the code it sits on: 3 of its 3 words (add, transaction, capability) are already in \u0060const keys = addTransactionCapability(authState.keys, logger, transactionOpts)\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/Socket/socket.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"faace0d90e002a201eeb102cf8a83d5d4ec0a812b099c326111d2b23960c664f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022the server terminated the connection\u0022 repeats the code it sits on: 3 of its 3 words (server, terminated, connection) are already in \u0060ws.on(\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/Socket/socket.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3437ab552e5e259d19567a461699f59cf804cde66638724bb9be544cc1df41"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Store our own LID-PN mapping\u0022 repeats the code it sits on: 4 of its 4 words (store, lid, pn, mapping) are already in \u0060await signalRepository.lidMapping.storeLIDPNMappings([{ lid: myLID, pn: myPN }])\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/Socket/socket.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"f012c01206742bd9aa2a672df58f6a7c20c4718df78645955df5a97f171ff0f7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set additional data\u0022 repeats the code it sits on: 3 of its 3 words (set, additional, data) are already in \u0060decipher.setAAD(additionalData)\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/Utils/crypto.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2b1a41f6a9550c0c0d3a9926bdac47d5bbb0094e31a818e1cb8acff675753f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Import the pairing code as key material\u0022 repeats the code it sits on: 5 of its 5 words (import, pairing, code, key, material) are already in \u0060const keyMaterial = await subtle.importKey(\u0027raw\u0027, pairingCodeBuffer as BufferSource, { name: \u0027PBKDF2\u0027 }, false, [\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/Utils/crypto.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"da966bee202d20188000f3637079912259392cdbaa80a86e7c18e9823d4fd933"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Emit the buffered messages with their correct type\u0022 repeats the code it sits on: 4 of its 5 words (emit, buffered, messages, type) are already in \u0060ev.emit(\u0027event\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/Utils/event-buffer.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b498fcc457bc16517abb94de4cfc03895e1251e63c1ac9c8ddc33e3e2a2a17a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear history cache\u0022 repeats the code it sits on: 3 of its 3 words (clear, history, cache) are already in \u0060historyCache.clear()\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/Utils/event-buffer.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2d800215ac16a874ae73f98a21c9298faec8962a2c508147a586a99de0831"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022generate a random ID to attach to a message\u0022 repeats the code it sits on: 4 of its 5 words (generate, random, id, message) are already in \u0060export const generateMessageID = () =\u003E \u00273EB0\u0027 \u002B randomBytes(18).toString(\u0027hex\u0027).toUpperCase()\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/Utils/generics.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775f7861921d9a662f1744c625f761885d146c2f1a78e6fbe3cc588618c5fa4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Pass jid in the options to generateWAMessageContent\u0022 repeats the code it sits on: 6 of its 7 words (jid, options, generate, wa, message, content) are already in \u0060return generateWAMessageFromContent(jid, await generateWAMessageContent(content, { ...options, jid }), options)\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/Utils/messages.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"acde332c90e0f4ee6dd9dac95feedcabd8154b2c32b38826b08149426ae83d19"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set participant of the message\u0022 repeats the code it sits on: 3 of its 3 words (set, participant, message) are already in \u0060msgKey.participant = msgKey.participant || message.key.participant\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/Utils/process-message.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12d88834a4c078185b0fbd0eced6a4c413d68c6ebdc97589c31605c395e3e20"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a mock logger\u0022 repeats the code it sits on: 3 of its 3 words (create, mock, logger) are already in \u0060const createMockLogger = () =\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/__tests__/Utils/noise-handler.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e590db45c7067c5d7bffe445d47ea751b5c593d76e8875dee7d3fa1ee1d33809"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Enqueue an unknown type\u0022 repeats the code it sits on: 3 of its 3 words (enqueue, unknown, type) are already in \u0060processor.enqueue(\u0027unknown-type\u0027 as MessageType, makeNode(\u0027unknown-1\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/__tests__/Utils/offline-node-processor.test.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397c8109246d8ead7b64992838c3fe7a70d027bc5fa7de1669fb3c46acee4fa"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (43694 LoC, 142 module-visible types across 13 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657c6d74de84083bb5bbd336f2b15abb65c5e56abe923e5a7465d016d0d5c5a"},"properties":{"commitSha":"f8a538eee293c38387c08b2ea97b22d9b61c9d55"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9603565aa6069e0abcf535dcde33980e7f55a15fa6af1c7abedeeffe7f52bf08"},"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":"aeac62ac05a248923a739032d3983624555d5962ce89e8ecd033796dc901db60"},"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":"2fbb80e84aaa7e5d18fcef396e8c3e57fc3a1c67c12c52696ac4908702161662"},"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":"897504e2c29bd666d3e71d739a4484bebc73a312c0341fd1422879e58602266e"},"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":"986956032f8efd0ae73a971a3cd56fbdb95979d4c603387e66425f4de769e05b"},"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":"872de5d59ab2c57615d1ae78f98e1bc0238074d8e58636fab9dce3d4f21cf57a"},"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":"12104b6bbe331eb564da74c0323616747ebd241a161ddd6b13fa7d99473470c7"},"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":"9914f28575ed2afc4a7f533538da7b9735649f76d7acf42954f2ad3061bb6ca1"},"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":"9ed755679fe6dfda391e792dfe52299542c72440443137882d378ac3af9dfc82"},"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":"354ce32ef9e89c9d2c859d3f860cffa78e3ff1811a27718904b2ff57e02463cd"},"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":"4440afd3ba471b064119c051b07478ca836bfc7d9567a72cccc1bfae32bcabcc"},"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":"9a666c70161ffdcccb303f7ac98bf5d4a2d5c891c542954a141768d8948b9155"},"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":"0ddbd9298ce349dc44101e812e36b43aeb937046b364ddafd9bf8cbe2569f318"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0d324a5c056f991ad4eef638064732ea12bf8309cdd5c67653d31d847557bcec"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"141b36e23c1fd948511092101e9a5f90e3dedec51ebe055cbb404858c5bcb6ea"},"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":"f744c580e0225d6960fd52b7605b3ea21c31cb95fcc4ae6686975e68dcbeef86"},"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":"069436d79dc4765ffc099992ea78424da71c78292c81aaf276d6749130d908fd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f661d4c6359ae1136934d1403c6e30ee5c0646f850f68d090e9663616db54a80"},"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":"25bb14c2470637301f5fe9b6e411640f28a1800f03aef643600dd2613b0de6cf"},"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":"fbf7da89368ebf387222d7362ae778cc2188afae2df2126dae6eeb5ee1d02773"},"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":"139b038b9d4b41ac3ba46e204a02d87015b7b0ed4091af2005e0f16f633aa112"},"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":"9e6671a31e85383822777f3d90baccf3fd1a110f863a1604a9eae0d630ec077d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77f076f91a2e04d8232dd57ece16ee336ff4e62d33ea78b5477ee1caab33f46e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"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":"51deb5f11d29da72484d112de68af7e38e0a51818f441a6e0dd487a6031a58d2"},"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":"904b3f333838d97fde9dc807fd4560c10f8371b02ab76c0e403975727509d022"},"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":"3b05ba515a0129218f03788d09f94768f02609db43e2061d6ce787be3145aa87"},"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":"91eab49e65020a98c730d7e350d49c7d7b063f392f0b24436c68fc410c455719"},"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":"243750846cee1e4d90d54322ac74d60ffa1d25cf364d4ff0a212750008340012"},"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":"73c8906a41f734a43143d1c5921a5af822aa31f6d7afcc65734ae8ee8cdc285d"},"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":"42099e15ab2fb027ae5788790f6095e66b4a61b5ca46eb90ec4c888c184ab9a9"},"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":"396401d4837a904f8fa0c54890661ac5059945840094bd765cd856df14430f70"},"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":"bee1ecca10ff2520affdd574c36fe3ec559681a5cd419be1c9a1a17bd8f14469"},"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":"0e37d8c3080d3f8e690d19a540a352f863a9d0d11f51431a4df4b2e0a9df4df9"},"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":"43936724ce9104cbcbd3b2a6abf084db7ce16d31f0f19df8bf94c7b0c1cdc45c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"56a00c2a871232b82bc97787799bd73f7a43ccb6d7d3ab137a356d853dacc9a5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e0175b8d6229fb0099bd854f8596870c5b897562f3df1be422ec8f7c128c8f56"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"75a47f88c95139d014f3e4f3ab083f6bfd1b73a0beff32a62a4056dcf1393c5a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8630c7ac6a0cefe483b018d9f11144902fcd5188d4d04b20194a731bd0cd5693"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50f54279ac3b73d0b30df6604956a46a7b888091bbd5f02ae5e6c9efc0cfbb34"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08a48b1a5d18dad4d44aa67da6188190ab35e4b064f1f3e46f7005b6d4d03f28"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f81de7f18ac8482964c36faa98746e0354a60f0150ffb4b717f7743153a1c12a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46e5cd56ae4274f38fb5b04b417af2e5fed1e1688a79b9a64ecaf5b425765409"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"802306358db31e73c4181258c4aeb10e440955e3d00a91a16283182f4041ac0d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d558a41e1ecea5da409b22a9f962624f0a4ee1f8d65c51484534ac4042ab7655"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4915cc96879f11ca84c5ded856b545f7897b6af9621cab9f5bd7d996fec28f1f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6adfa6f3039e75b655c3b226255df9dcbcd14f4b43b0c7dfd6cc804755bdc42"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5044188dfc85f10da6a3e1c096c6f4cdad8cc50fdc27f76ea471eeef4362b554"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73c6a417c00c887ecd70c03c9ab06fa7e63a67c2e087d88de8fda3c537e12d83"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0225ae7e4051a121655972b6d89c50b7d49f8f98798df05122fafdbb3f51fa5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87f83ee7bafd5dfa95cedfb98c51eeba6383af150599457a0da8b67100c47c5f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f9291aae80ca13331a0a274469c1220076d26d4690e70903be13ef565e5e453"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4649caaa4c21153e63972ad075786af62678fe04ee9c35fc257ec6c14908b72"},"taxa":[{"id":"CWE-310","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5290fb6fe2e07c902a029b2e627c3c1beeaede8f8149ea896c872b7c5dd4cb8"},"properties":{"dependency":{"package":"form-data","version":"2.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":"e5697a90eefd746c699fe059acfd292e6953149f527d1a40cd60bc7d30d0fd85"},"properties":{"dependency":{"package":"json-schema","version":"0.2.3","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":"a47dda4962a472197227e10707eb9964393968a38d9b3c7b003345caa8e76853"},"properties":{"dependency":{"package":"form-data","version":"2.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":"3aef5fb735a4d8419f61b6248d37cd0a56f0824f770f5337816b7bc047e66302"},"properties":{"dependency":{"package":"handlebars","version":"4.7.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9a61626e0d439eacda938bf7340276efbf3bfe3de024eb2bd43a16ebca4a59"},"properties":{"dependency":{"package":"tar","version":"7.5.14","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":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"413620234360206f3ec12c572f16485e1d8eba49e759ee46aaa03eb2aaa2fce8"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","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":"28f6e6a17a23f2f262ae716ce298d9fc29bbb60fbf9082f4da7ed805e2b1e5ca"},"properties":{"dependency":{"package":"qs","version":"6.5.2","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":"60d18de0aacadf6f6ff4e79cffdd0d5b8c503ed299ec8be62855e150ad8a6b28"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","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":"23ff8721b1719c2074f99ad4c8d944a3bf19825855bcc0f5a15c2bf7bc64f588"},"properties":{"dependency":{"package":"basic-ftp","version":"5.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"094740b0ca52fff088e8dee50ca762ed32276786d03822a9d5271e2b27f952f8"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","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":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50d1b96f82f1ea2acc3a407b2891415d1c431362382e2575dea50e4cab8687c8"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.0","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":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"516168152bb5dba93c5dbb03351418a2c72ea2c9ecf10f18a6ade72fa55dd0a9"},"properties":{"dependency":{"package":"browserslist","version":"4.25.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3322cfa69f32b8fe1e33a0f5f0f552005af75b9130c549b9d4efb8f23387821"},"properties":{"dependency":{"package":"ip-address","version":"10.2.0","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":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a3901c8fef1c7af851e7b60a5061e841935407aaf5e358f48093da55bcdd9ac"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e47e5d35471fe64e15f2df91f70f8e8213413ea7f6430bc0864886416007495f"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e71bcd46c5035bdf476f9a558639efbfce1ddbd75b4533dd3e54a3147dc2d597"},"properties":{"dependency":{"package":"link-preview-js","version":"3.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"src/Utils/link-preview.ts","line":45}}}},{"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":"89846c388d1345bd3d1c8d91a1876ee1bd4f599959f91271beda32e68d7e0ef0"},"properties":{"dependency":{"package":"linkify-it","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ef33557430c0008e8fa29fa05b9f724a788f90c2ea64127655150f7863ba7f9"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","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":"66101bfd8cbf8116cc266e1ce0b5ce5203d41e2da02849470169a888cb054f75"},"properties":{"dependency":{"package":"markdown-it","version":"14.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"775e7acc0328d2696632f11082bdec0123b3b60ea654529217d47b1bf0e4751e"},"properties":{"dependency":{"package":"protobufjs-cli","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f676dea69a1d6dc64e028474a97519e9f6a05f4a05b916af09944f094f5abd2e"},"properties":{"dependency":{"package":"protobufjs","version":"7.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"src/__tests__/bigint-validation.test.ts","line":2}}}},{"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":"22e5e63065a908a405c75e5ad0246b40632cda439f08ac8f7d646a1135a2d364"},"properties":{"dependency":{"package":"protobufjs","version":"7.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"src/__tests__/bigint-validation.test.ts","line":2}}}},{"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":"330a15ae56339582fb30f322dbaf3c180ec7ea3b2c8580445f5acb89f50db699"},"properties":{"dependency":{"package":"tmp","version":"0.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e753a4afecfb9c2b4f8825530d5229ccc1d302077367a1ca1d8f6f96523da9e0"},"properties":{"dependency":{"package":"undici","version":"7.24.5","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]","[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]","[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":"3109fe12da6c70d79185eb39354b9d91447102db38ac52ce8247c411d12173b8"},"properties":{"dependency":{"package":"ws","version":"8.18.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"src/Socket/Client/websocket.ts","line":1}}}},{"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":"35f515c602cab79b02eda4b40627f29cbf5f189b811c3d25ecabf4a331b8df46"},"properties":{"dependency":{"package":"zod","version":"3.25.76","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":"ad43e76ab6bd0f911c60fb7ce41a06a9b69bce9905aa675df8099d5a97d187fa"},"properties":{"dependency":{"package":"request","version":"2.88.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5b0a402fbd0ae1d38c5087f0f4341f57f81b4c9b75f5dbe971c27352ffc0df2"},"properties":{"dependency":{"package":"tough-cookie","version":"2.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02484e3bcdfc341d4b6b3e5e7d9feebad8a010a4349295c27701d71e5f40ce63"},"properties":{"dependency":{"package":"uuid","version":"3.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"73b985f17f4f7358c644c18eea4e014d51c363ec76f6a0bcfea42dfe80f29593"},"properties":{"dependency":{"package":"qs","version":"6.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af36e9ea391e4723ed8cfef29153cffbeb90ea1ce87a47fd5b45ab4a8cb3b5d4"},"properties":{"dependency":{"package":"request","version":"2.88.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac6ba192f6a35be627330ab195ce33247da5fa88b8c95e679d7709d95cdc998c"},"properties":{"dependency":{"package":"tough-cookie","version":"2.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26d9e26b623767b97003a6cdfe4e23b0e4d37395102c41a6c4bba8eee0ba22d5"},"properties":{"dependency":{"package":"uuid","version":"3.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"76cffb8b29a20d384f0c702ad8d0d4ba89df79914b8d5d3e5c65f8dd1d6b5582"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.6","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ec3766672c36af6734ee27641717c460cbde466992dbf563b031854354a3c98"},"properties":{"dependency":{"package":"fast-copy","version":"3.0.2","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":"3c91332e44e8a931557396b2c500348b6ddc87da880c4c58e4e587d91722da8f"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e318cc0d29137ca2671628ecff85a84e5b5ae3fb20a852492771ec5f8fd50b58"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d9472210b333822d13e237494791c8772a4ab017695a2944f380b641ad9618d"},"properties":{"dependency":{"package":"music-metadata","version":"11.12.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"src/Utils/messages-media.ts","line":7}}}},{"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":"696950c1aa4ac8042480bf39cdfbb11060aa9dd830b45962f66317e71dac10ad"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.0","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":"9b055c65404bc0c8fcb9780a1ee5fced26a176eadf2c50d33140be0f4ffe07ee"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 11 of 52 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; 52 of the 101 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: proto-extract/index.js, src/Socket/business.ts, src/Utils/business.ts, src/Socket/newsletter.ts, src/WAM/encode.ts, scripts/update-version.ts, src/Signal/Group/group_cipher.ts, src/Utils/use-multi-file-auth-state.ts (and 3 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":"proto-extract/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f158b6ff8935c6862b0fcb653940c223b2d215bed17ecec046567b8429a0dc6f"}},{"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/Socket/business.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"734c631046fc4c16b765d8c8c93e8193ac36611cfe8387e8f723b36d9ad66070"}},{"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/Utils/business.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae0a4853370e9237c89af576f492284dc0c51ac370de4e7aaa803783bd2fddd"}},{"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/Socket/newsletter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13059607c1ec20672207a1fdf099502dfc7c83ea0acaad63efff54dcc0097c2d"}},{"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/WAM/encode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1260468358be607de690cbb80fea1a223d7d4ab2209312ceea466cb0b341e5f"}},{"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":"scripts/update-version.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6f4fbaa856cda0eead272f901e611b8a44abef51c935addcda1c93293a02a7"}},{"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/Signal/Group/group_cipher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8872df27f43f0cbcb6d81805d41ea06d3bd138dbf1448a8a76c65c1255c43d39"}},{"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/Utils/use-multi-file-auth-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6b818f6077130aaa5360687598137f9480bab00d108414fef06d714cfd4958"}},{"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/Utils/pre-key-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36be9878ec438b8244331bb0a2d38a704cd246aa3e5862479c7ce8cc63c0fe9c"}},{"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/Utils/link-preview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1235c0e9bd2323d341d87255638c76b370af0f7e3f05838fe83f1bbc12bebf4f"}},{"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/Types/Mex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc58e567d7abace1f85d5c4b3b6cb2c766480af1edb268f8dbc04bc2d84e347"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lid-mapping.ts \u2194 messages-send.ts: \u0060src/Signal/lid-mapping.ts\u0060 (context Signal) and \u0060src/Socket/messages-send.ts\u0060 (context Socket) sit in DIFFERENT parts of the tree yet change together 57% of the time (12 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 12 shared commits counted here, the most recent 3 are \u00603730684e\u0060 feat: add cleanup handlers to prevent memory leaks on socket close (#\u2026; \u006050d410d1\u0060 chore: lint; \u006029318cf6\u0060 chore: lint and re-organize \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698437817541abec85163de941f0eff8cef7e8b5d217e859471dc23f82e072e4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lid-mapping.ts \u2194 socket.ts: \u0060src/Signal/lid-mapping.ts\u0060 (context Signal) and \u0060src/Socket/socket.ts\u0060 (context Socket) sit in DIFFERENT parts of the tree yet 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 \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 11 shared commits counted here, the most recent 3 are \u00603730684e\u0060 feat: add cleanup handlers to prevent memory leaks on socket close (#\u2026; \u006050d410d1\u0060 chore: lint; \u00607ee0b617\u0060 chore: lint \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38221401d65c1172a0c379cbced8c328cc562f1191b2dd3099e1c05867ee2a27"}},{"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":"eaf6e1d73915beddc821bbeb3277962e1e3e55a2b0f5f1cfc0ae2215f2543ef2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d9450c1e9a738f2d810b3eef41d9babb54722911a7ca830a4cd182d6263d27e"},"taxa":[{"id":"CICD-SEC-4","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":"e98dd739bc1bd197648941340c5407e70135edcd93c702ed9e8da54b5c0e1157"},"taxa":[{"id":"CICD-SEC-4","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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","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":"08ba84aa6c1e24247298db76c73e08fc1f8e6d1c50d8acd7af4ff42ea4794ce1"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 10 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"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":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (153 lines \u00D7 2 locations): src/Socket/communities.ts:251 \u00B7 src/Socket/groups.ts:124 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/communities.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"995550bd5702bf942856182f2d773a4195ab6fa647f16c46ff8b997b884ce081"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): src/Socket/communities.ts:22 \u00B7 src/Socket/groups.ts:18 \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/Socket/communities.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6510110f28757c32010e145e99f2bd9b0e4c2b72dec2b3845b2bc7ddefc755cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/Socket/business.ts:301 \u00B7 src/Socket/business.ts:341 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/business.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bb217944dcbc50129cf5508ce2516204847fc905f8f355edd6c9350678b746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): scripts/update-version.ts:36 \u00B7 scripts/update-version.ts:69 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/update-version.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fb509da9a3f4ae01f089e1849cc40dffe6e8344221d8cdb64e23e06c18c5b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/Utils/process-message.ts:239 \u00B7 src/Utils/process-message.ts:269 \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/Utils/process-message.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"595312e2305332303de5b6bf2721ca85dd1cf863153c0fd8b261def90f6208b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/Signal/lid-mapping.ts:112 \u00B7 src/Signal/lid-mapping.ts:247 \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/Signal/lid-mapping.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ec79880f15de823dc40bd4fc835b7c3776201ab125374f2d8e06b1f5afe90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/Socket/communities.ts:177 \u00B7 src/Socket/groups.ts:112 \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/Socket/communities.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a9204f1a1d7e85791017e8b62c3aece4216ba4ad62c5229d6d48e3f574ac98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/Socket/communities.ts:456 \u00B7 src/Socket/groups.ts:359 \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/Socket/communities.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"13995c5f2a14622dded1a9501562df9082d5b534cbde44e8b5b5545eb94e78f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/Socket/communities.ts:100 \u00B7 src/Socket/groups.ts:75 \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/Socket/communities.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a436b6b9beb56bc789008bdc6784882cf9fdf41514dfea622ea13608a740d929"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): proto-extract/index.js:133 \u00B7 proto-extract/index.js:218 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"proto-extract/index.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10d90a654f93c91541fde3ea68d312859f957947235d54ee52b15d0df1a2266"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/Socket/chats.ts:286 \u00B7 src/Socket/chats.ts:299 \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/Socket/chats.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5487ba3da0876508675e1e7cdb2e8829bd566f752bf6cc252509b2c2964e1188"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Socket/groups.ts:369 \u00B7 src/Socket/messages-recv.ts:857 \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/Socket/groups.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"093404d4dc27708d691ecfa4d845acc54eafe5c4c583f3b08865cf5eb2f8908d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Socket/socket.ts:342 \u00B7 src/Socket/socket.ts:365 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc6f2a23b88dfa89db0aa30faf0dc6d87c72bc21ebf8e07ef98e1acfbed8ccf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Socket/socket.ts:415 \u00B7 src/Socket/socket.ts:683 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/Socket/socket.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fbdd0fca9152d4e07723ade65b7e746d4d29298facfafa4e3defb9a69b630d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Utils/noise-handler.ts:31 \u00B7 src/Utils/noise-handler.ts:41 \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/Utils/noise-handler.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7fab7d011267a7de810bc89a319d03c850d41573bc69863d887ca55797c801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/Utils/chat-utils.ts:452 \u00B7 src/Utils/chat-utils.ts:535 \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/Utils/chat-utils.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"14909305f5eac543b6513de8f00aab65a850857b4bce080d8ede4b4f2a7f4e69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/WABinary/encode.ts:147 \u00B7 src/WABinary/encode.ts:162 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/WABinary/encode.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3f0b8eafaa71b4df549a4eaf9e3a72ac8d1234697d8ccfe723e9b2a502896f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/WAM/encode.ts:100 \u00B7 src/WAM/encode.ts:108 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/WAM/encode.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d78905bd707ebc0a104fcc43ae90cc7e0b492047ea4422f10702773835577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/Socket/messages-recv.ts:621 \u00B7 src/Socket/messages-recv.ts:1413 \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/Socket/messages-recv.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"6580e95aa41836b3319d89249f9aa8c3ea483e7289ed3de2880ed9dbb1b3c100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/Utils/crypto.ts:87 \u00B7 src/Utils/crypto.ts:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/Utils/crypto.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c7b53072b9f7b6a97cbc1d0a9533ca752453025127a4705f2e8fc53c644e84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/Utils/chat-utils.ts:328 \u00B7 src/Utils/chat-utils.ts:451 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/Utils/chat-utils.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"303fc5ed394d3b22ecc81c248a6412144d8729b331773c8ce6cd7dfa081a6823"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Defaults/index.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Defaults/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1655ce490beeefb941b41a958f45235de17c0e5d6c9d8ca4640c14c03000c7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/Group/group_cipher.ts:1 imports libsignal/src/crypto, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/group_cipher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"094f2f7d564ab273ed4ac06e017891074da208965e4ff89f78e061bd641418c5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/Group/keyhelper.ts:2 imports libsignal/src/curve, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/keyhelper.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca19df76e439e3067070f690c109ce6faed2c2d6fafca70435a0df2fcd6cf5f7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/Group/sender-chain-key.ts:1 imports libsignal/src/crypto, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-chain-key.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51ea253e1606b7ffe5810a0dede5f76817a4c213b0e0a214ef87b5efe13f628"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Signal/Group/sender-key-distribution-message.ts:1 reaches into another package with a relative path (../../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-key-distribution-message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc472dacb445bee872e5ce5267c034c495ddd07e3849afd88715c23d44e3583f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/Group/sender-key-message.ts:1 imports libsignal/src/curve, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-key-message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5b59e1dc27790ab4545be87ac90548c84104c3f2e22681e5b105cc94d0261"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Signal/Group/sender-key-message.ts:2 reaches into another package with a relative path (../../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-key-message.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6438bbccafa2262d1aa3121554939a31b76b0785554e0027a9e10f1ddb6d244"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/Group/sender-message-key.ts:1 imports libsignal/src/crypto, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-message-key.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01087433dac394ef57b956b51e1d649b583acfd16ecf8b9d2bf9d7251f81f016"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Signal/libsignal.ts:4 imports libsignal/src/protobufs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/libsignal.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a0923d7ec2db15605d9ea6317b920773d54e845669350f9f438b5290976b58"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/chats.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"db71e0609d38298b93fc9050ba6413707440bb49407c624985cf71789ba667c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/communities.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/communities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe63053cc65056210474dba12220e82f817ebc9796fcbc4e44e7c9ec45b8269d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/groups.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"974dc0033c6fdb6a77ada487ac2b44b06d6a7420da196d95ce8ce8577d3b4054"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/messages-recv.ts:5 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb43c56a48c5239cdee0a16d4ea5dbc17270c0236dfb899accba5c0b4f15302"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/messages-send.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18c5cde0c21dc94176551cbde7fbdb2d2e695ecfee6cedf0a43eaa6551eb806"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Socket/socket.ts:5 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2f0862388df674c88457221d2de2b4c38430693668a653ebcadcfa27ac4be"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Auth.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fc3f363ab193f244d489a5402c1972882bdd2e10292fdaaed293ee2f361bac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Chat.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107ec7edb872ef3921e39c580299df3e9a26f881a2679d2b5851ead2b1b65370"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Events.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Events.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"15742337e24718b9b4ea27c4dffc82046b1c4a113817f89da9a59a8dbcc2e13f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Message.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Message.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1d705ee348339e84143b46672e3be72b630fa3cac8a407664697e8401d7171"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Signal.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Signal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1262e582f23dc1df23f17c2694a0d6dc803b9eab29f70c7d860501e5fe25f4e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Types/Socket.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Socket.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfc32b5477903edeea8ddbc02d490c4cb01b2f29b4026ec5436755c6db8ccd9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/browser-utils.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/browser-utils.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f0024969d66e01d5b68cb5f63a0617ad0bb43092c3f2903574377d256e4987"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/chat-utils.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/chat-utils.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcb691169ebe0647ab2b1b654833388bd4f9b3cdaa88457890bb760dfe29819"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/Utils/crypto.ts:2 imports libsignal/src/curve, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/crypto.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d725222afc2076a43766f89325fb8701d63dc01a8d749f6815bc11b9bab5b2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/decode-wa-message.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2c2ac9168ea1235337ba587593da7e62693566c31073da02997943c03d053a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/event-buffer.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/event-buffer.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c448d5ea091b31a5a34af7bac4bc539ff705e6ec7f53e0b7fe3fe5f71302b50a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/generics.ts:4 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/generics.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9af1cf2904685fe05a56af22d5ff5f16795d05746aed610f145618f4312381f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/history.ts:4 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/history.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f78a96b73c5efc0a0cb0462cb5a46a837a7b0654328dce1e62a1a229d23de"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/message-retry-manager.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/message-retry-manager.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b48c47fd425ca25404f265b49e281afcb6fa40bb69449380cc9ab4331adc71"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/messages-media.ts:12 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages-media.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b29ed6d9c958a3c893e579057f2b02f653aaab9928a0b2539f9a3be34e0679"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/messages.ts:5 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3dee8cddb2da5f9abbded3a3ae852245e04e1ca9c3c8ca56177e24cc7ce86a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/noise-handler.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/noise-handler.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfd7b435ee1824ab927ef9c1090ee0e6d02cabfddb06bf84b909ccc25bc4e7a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/process-message.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"65565e8685d0ec356a8f280cc41673b574ddc730a60ea1a093d8489269e5e6d5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/reporting-utils.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/reporting-utils.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b3f32ed29182883d5aef184300821044b155a3f2cc6612aa1734afd23c14be"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/sync-action-utils.ts:1 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/sync-action-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc868eaf35f0bbc57aa5025e9fdc409e89955bf03ac19818fb5afe8f1144496e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/use-multi-file-auth-state.ts:4 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/use-multi-file-auth-state.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c684e1ac7d34a6c2021dce442444d6cafce344b442eb09b43ba786570cc1ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/Utils/validate-connection.ts:3 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/validate-connection.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"66922ce3584e5d01e132b70874c83a797f1ff353b2c9b633a60e819d70bcccb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/WABinary/generic-utils.ts:2 reaches into another package with a relative path (../../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec17437361d5168dfbd285bc387a399d8b75112deddf3b177273a1be30886f3b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/index.ts:3 reaches into another package with a relative path (../WAProto/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/index.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39e5d649200ef12510bf07a8c416b85c29619d52cae5f7beb29043aca30a146"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 102, cognitive 151): (anonymous) has cyclomatic complexity 102 and cognitive complexity 151; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a199342125d9611ad5bc33e5dbc3894838abf77d06d75181066e0f2ef4d9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 89, cognitive 189): append has cyclomatic complexity 89 and cognitive complexity 189; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/event-buffer.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a96c3eb21d7f9f7c22ebfc06a5e8181528b7666eaeb4ef693b98bbecb6635f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessage (cyclomatic 79, cognitive 131): processMessage has cyclomatic complexity 79 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36832163f1afa61e2f8efa0e382eda5af6389b4643eff0c24af3f994408811b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateWAMessageContent (cyclomatic 75, cognitive 114): generateWAMessageContent has cyclomatic complexity 75 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68abadf9d2b74ae6f031012950b2f5f7ee297de17883296ebfa8b876e697dc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSyncAction (cyclomatic 48, cognitive 59): processSyncAction has cyclomatic complexity 48 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/Utils/chat-utils.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c683355e293c9aaf470dab84028bf65b0fd79d36c400c0e33ecaacc95bb7a28f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processHistoryMessage (cyclomatic 38, cognitive 49): processHistoryMessage has cyclomatic complexity 38 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/Utils/history.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079a94e1bf2bbef50039e1d57b486519d0103644d2d6bdce5b9f08b7c7043c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessagesAgain (cyclomatic 36, cognitive 59): sendMessagesAgain has cyclomatic complexity 36 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/Socket/messages-recv.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062d5ec6431a44b07ea9c19c3c45a658f1ff1f31d879b12ec0cb9aa10245a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeMessageNode (cyclomatic 36, cognitive 52): decodeMessageNode has cyclomatic complexity 36 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/decode-wa-message.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee91a5c9bb1f656dbf94be1540899e2253bdaa5b05acb80c4c7bcf406f3214b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleGroupNotification (cyclomatic 35, cognitive 22): handleGroupNotification has cyclomatic complexity 35 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 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/Socket/messages-recv.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9be2f83f3315586af8645ed7792b6a5cebec66656d5a338152a21254a80bcca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getLIDsForPNsImpl (cyclomatic 31, cognitive 81): _getLIDsForPNsImpl has cyclomatic complexity 31 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/Signal/lid-mapping.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a688a55e34a21cdc4710e664852854ac45b57b9c960dc6a122ddb65300e9bbec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLegacyMexNewsletterNotification (cyclomatic 31, cognitive 44): handleLegacyMexNewsletterNotification has cyclomatic complexity 31 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/Socket/messages-recv.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aadd38e90bfa6497331763dc7e9c021fdd36ea060d956f5a54f6efaaf2b67b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareWAMessageMedia (cyclomatic 30, cognitive 31): prepareWAMessageMedia has cyclomatic complexity 30 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/Utils/messages.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab2a965c4eb09e2f90e4bda4d61f1671f412ce9b212324e09cee2fc29e128b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 56): (anonymous) has cyclomatic complexity 29 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/Socket/messages-send.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea623afe0ab375c3786d1c12110adfdc4258caf87b06f8d3ef1851dc67c727ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatModificationToAppPatch (cyclomatic 28, cognitive 31): chatModificationToAppPatch has cyclomatic complexity 28 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/Utils/chat-utils.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"88df89afc18f536c6d7994d113708fd22081bf076e802b00d6580815b39db670"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decrypt (cyclomatic 27, cognitive 55): decrypt has cyclomatic complexity 27 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/Utils/decode-wa-message.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a1ef9a332c3ba9bedd18f73705c9eb552f2c83ba266a9f7ce53ffa2ced1774"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processNotification (cyclomatic 27, cognitive 26): processNotification has cyclomatic complexity 27 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 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/Socket/messages-recv.ts"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e98d87220b50af436ac01dce9c15cf1bacc1773214341e8b2f208877eb77a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 67): (anonymous) has cyclomatic complexity 26 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":"src/Utils/reporting-utils.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4740454866f1dfc4ff3ee3a4931c0a02d174f612b8020307e1fe5a19a89468f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 47): (anonymous) has cyclomatic complexity 26 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/Socket/messages-recv.ts"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea475556b31f4e9ffbd6491a661d50b528d379add2bbaad482be5c6b56653527"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 31): (anonymous) has cyclomatic complexity 25 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/Socket/chats.ts"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56da44570df132086377348ced183c712c3ad39ce808ef9a55bbc35106ea097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateWAMessageFromContent (cyclomatic 24, cognitive 23): generateWAMessageFromContent has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"792a7ead524f12aa0952732665574d2f45573231d04263e8d61470f0afa7375d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMexNotification (cyclomatic 24, cognitive 11): handleMexNotification has cyclomatic complexity 24 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/Socket/messages-recv.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"23de92657a0c5464789f8d2952c477a07133509c14e57ef14715a999023dae4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeLIDPNMappings (cyclomatic 20, cognitive 27): storeLIDPNMappings 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/Signal/lid-mapping.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96de304cfb24f066ca73f43d91fc9853892508be7ced349924a6542d0d9ff28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessage (cyclomatic 20, cognitive 27): sendMessage 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/Socket/messages-send.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3485108bf25fd22bf8aa3fd92fab89eda281b00d01eec325e641ee39e8aba7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 42): (anonymous) has cyclomatic complexity 18 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/Socket/chats.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3499c13707e92afbb36de3f4b37c1cdebe980487b5441532ef62f0b3d707d1f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGroupMetadata (cyclomatic 18, cognitive 22): extractGroupMetadata 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/Socket/groups.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e209679c5e36f7186593d414edc8253649d81c4c5d12bc8c8e19180ddb063ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMediaType (cyclomatic 18, cognitive 19): getMediaType 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/Socket/messages-send.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"526cb2b5a6741dec504a6343f4e8880cc448aea23ea2f7c396589ae9dddd99f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCall (cyclomatic 18, cognitive 16): handleCall 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":"src/Socket/messages-recv.ts"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eab43f8ef52cfb013827bbdda7ec36f5a70e9c558142ae504e601b5ade083c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeData (cyclomatic 17, cognitive 21): serializeData 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/WAM/encode.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bcb6d4f7b60f8f73705b0c9ee75fe4e1866a80610f21205ed28cd1358eb133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractE2ESessionFromRetryReceipt (cyclomatic 17, cognitive 12): extractE2ESessionFromRetryReceipt has cyclomatic complexity 17 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/Utils/signal.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70be18b464fe541107096455ceb0dd60713ef71fa4a0f2d454bb1560e68cf16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 33): (anonymous) has cyclomatic complexity 16 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/Socket/messages-recv.ts"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdd5fbb7ac2fe7c21eb880dbe31905f12f60b7fa942635e3e61319c25d8b59b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneExpiredTcTokens (cyclomatic 16, cognitive 18): pruneExpiredTcTokens 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/Socket/messages-recv.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c87f0981c5537e18c36ba9fb1ec95d4ae83db62014354e86b00ee29adc3be01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleNewsletterNotification (cyclomatic 15, cognitive 27): handleNewsletterNotification 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/Socket/messages-recv.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"649aa8f43d437bbc53c3a8c43f164d4bb932bde050161f23f5322b4c65cedad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getPNsForLIDsImpl (cyclomatic 15, cognitive 26): _getPNsForLIDsImpl has cyclomatic complexity 15 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/Signal/lid-mapping.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"507b26c8782485d014744313c73896141ecf1ca07ed33d3fde6a91daa64d3d58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendRetryRequest (cyclomatic 15, cognitive 20): sendRetryRequest has cyclomatic complexity 15 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/Socket/messages-recv.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c6897d0bf71c748c06ad467db75f1670101a910f1c6314817f64f3d74a595b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeTcTokensFromHistorySync (cyclomatic 14, cognitive 21): storeTcTokensFromHistorySync 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/Utils/process-message.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ffe40096d1eddbf9a263958e35b49939665ef41523ca9ddcd97237b41d2866"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateSession (cyclomatic 14, cognitive 20): migrateSession 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/Signal/libsignal.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3079624fa0e9e3ad49d05e1ac43cb11ee763b24b3df9d864c0c8b554197856e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) 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":"src/Socket/socket.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"30346f0c69abcccb270f135cd170e5ba994823411ee7ed3b4f639e6753dbb65c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractDeviceJids (cyclomatic 13, cognitive 22): extractDeviceJids 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/Utils/signal.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"382ae62b708f69e05b50a6eb051de74ed8ed67c4ca65dd3cb28ad4ca4d591ead"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) 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/Utils/link-preview.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8e599c6e7352ab86418497490468cdc11b3c97e35f8dbdfd1a9e7f98477a8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePresenceUpdate (cyclomatic 13, cognitive 18): handlePresenceUpdate 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/Socket/chats.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1f41835978d06cab16d8ff9226347ed552c69227ed5e21ec41c2135f33a78f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadEncryptedContent (cyclomatic 13, cognitive 14): downloadEncryptedContent 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/Utils/messages-media.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ce44eda2c37630bc04bc30046ab835c1825eb0c72834750793f9ce796b4c16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchProps (cyclomatic 13, cognitive 13): fetchProps 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/Socket/chats.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f127b98903db7f4a6478418a66c3d86f5ba95af6e26d50c405a1f0b6d6b46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consolidateEvents (cyclomatic 13, cognitive 12): consolidateEvents 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/Utils/event-buffer.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1164dd521082b44dbd5ce2b215d331a38edb83c694c08ee3071024ef9ad496d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleIdentityChange (cyclomatic 13, cognitive 12): handleIdentityChange 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/Utils/identity-change-handler.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f833fb432fcf2905875fe5a6345a3a3ddd00d58d03063616e93ceb05f413b9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeSyncdMutations (cyclomatic 12, cognitive 23): decodeSyncdMutations 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/Utils/chat-utils.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef56b82287fc27fb9ee1407be2e2fbfb92824ad88655165cd874b237c57bf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeTcTokensFromIqResult (cyclomatic 12, cognitive 17): storeTcTokensFromIqResult 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/Utils/tc-token-utils.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2303b56f96e3341dd9868e4f60d0ef5d9b1fab7685a4fc4da2f30f45d4c00490"}},{"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":"proto-extract/index.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f893f112408af236b3a516f561d5e44303b80a9fe4c033cba97e645a0006c"}},{"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/Socket/chats.ts"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7bb8f03ddbc45d50454738e3c5bca86d90425fe8e93582955c3e3251fc6492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encryptedStream (cyclomatic 12, cognitive 16): encryptedStream 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/Utils/messages-media.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"81711aabe3ff4aec6ad62fb2aa6a55044bca4b2e0b1686cad3063354e5d623ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processNode (cyclomatic 12, cognitive 14): processNode 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/Socket/messages-recv.ts"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"38725a6c45ca55dfed5867c0d5ff45fb76a9ce6dc9ad16d33a643a75f92cb1e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) 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/WABinary/encode.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeee1b2e968a7f4b6d93d699cf6717a5b0afa321a4c7c1bb18e64bf8e690203"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAllExpressions (cyclomatic 11, cognitive 20): extractAllExpressions 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":"proto-extract/index.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85ecf67a9703a9349ab18ecfb8647e77efefd47fc19c679fd482f3008f470db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBlockStatus (cyclomatic 11, cognitive 17): updateBlockStatus 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/Socket/chats.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"903c16ec65a26fd403aac1795080261b340cf462eae08fb0dfb0b3feeb8627be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 11, cognitive 17): handleMessage 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/Socket/messages-recv.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df4c0b1aa262c6522fb263e89e40c7bed5692a9a9daa8dade39cbb4e23f0fc"}},{"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":"src/Socket/messages-recv.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e10669166ee3fe472c3e40b771670c5557e54d74700ac8fc40c86d435bd925"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendReceipt (cyclomatic 11, cognitive 12): sendReceipt 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/Socket/messages-send.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbbfe763de35e6c89c2adeb3b7a313effd9807f5443efcc592717021ea0c228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toProductNode (cyclomatic 11, cognitive 12): toProductNode 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/Utils/business.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"971bbffd6f85b238320962275fcb79e4d87d2fdcc036abba1b8b0c8e616fec9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviver (cyclomatic 11, cognitive 12): reviver 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/Utils/generics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86d1cfd1f875af5c8852eb7525e6b10b89739740eb00f837ba13dec997ba4bc"}},{"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/WABinary/decode.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"928667b58f832c57cde1d6064d70300b824a29ea45ea26f92d545316fcf6e234"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Socket/messages-recv.ts: 1918 lines of code: src/Socket/messages-recv.ts has 1918 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/Socket/messages-recv.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26cb80b42fd0b313023b59b6b71caf6036fa6c384dfce688d449712ad210ccf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Socket/chats.ts: 1357 lines of code: src/Socket/chats.ts has 1357 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/Socket/chats.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b4d1141955f8551ba2f286785a026a993bc16185f0aeafe9fe1809b5c2b84"}},{"ruleId":"R3","level":"warning","message":{"text":"src/WABinary/constants.ts: 1300 lines of code: src/WABinary/constants.ts has 1300 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/WABinary/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03596a1f23a6c1f6d13ad89d694761819b11a2f606f6000cedf30e9fd105d007"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Socket/messages-send.ts: 1249 lines of code: src/Socket/messages-send.ts has 1249 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/Socket/messages-send.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4c6809d63c047bb698dce348ae49b543d94c7b59c032aa48710de4eeffaa7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Socket/socket.ts: 1038 lines of code: src/Socket/socket.ts has 1038 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/Socket/socket.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b232c619c498e1d5fde3a6c01d7e4f62dc9ca40745b220964b45a2b17967c8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/messages.ts: 985 lines of code: src/Utils/messages.ts has 985 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/Utils/messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7c570df7c203325527b1625dfbc859507f80f39dbb2741fdd5c91c8bb5d45c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/chat-utils.ts: 935 lines of code: src/Utils/chat-utils.ts has 935 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/Utils/chat-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f504abcfd0a639ce6e5206919cbd5c5f5acf2bb7dc70343aa04171efff2efac"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/messages-media.ts: 869 lines of code: src/Utils/messages-media.ts has 869 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/Utils/messages-media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17e1ed057d95399bb12c90b5c464c475ae1f5cc3398e92d60a4a97814017ad8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/process-message.ts: 720 lines of code: src/Utils/process-message.ts has 720 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/Utils/process-message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a016d025934e5571fcca9ed2a57f5e88df3ed285dfc13fb309a74ef23d4a585"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/event-buffer.ts: 660 lines of code: src/Utils/event-buffer.ts has 660 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/Utils/event-buffer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf4b5280e9794c6c02dba991e191246f03d2943d834add7b7145c1db517307d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Signal/libsignal.ts: 476 lines of code: src/Signal/libsignal.ts has 476 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/Signal/libsignal.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a132daa0e175b38bd10f51c6c372ed5319ecaf0f56bc99e55fa176c5d1c34ed6"}},{"ruleId":"R3","level":"warning","message":{"text":"proto-extract/index.js: 453 lines of code: proto-extract/index.js has 453 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":"proto-extract/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff1d3b63b8e954bad06922214da490b8692e7eaf940bbbea74ed607a7ebaaab"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Socket/communities.ts: 451 lines of code: src/Socket/communities.ts has 451 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/Socket/communities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd860a2ac67ec10f80446749b3dd33fd4f9f9853d8b40098f2c4f3164265c6e0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/Utils/generics.ts: 412 lines of code: src/Utils/generics.ts has 412 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/Utils/generics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eea9e208f984757de319cb84e8cfc20698abf68b364f1cc5dfefafe8f52809"}},{"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/WABinary/decode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ae01b33d49362c5feb1c842a2728b52b29233c14b8e79556c0bda84843405f"}},{"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/WABinary/encode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b067b3e856f3ae15da05b2a766770cc3564dcc817a58668a333b5f8dc89e5f"}},{"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/WABinary/jid-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a3d8d6dd25816cc37c2b1bed89f48964b55dd4efbb8669210e98d336607c2"}},{"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/Types/Label.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66429cd3da3a978acbc290bd5a2d510eff868e3e5ce5a3b88d54a6a5cd50cc0"}},{"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":"engine-requirements.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81987cf3c34419cfec868279cefc4183f76f6bc49e835ba451db77a0e19e81d8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~308 LoC): no import path from any entry point (6 application, 4 tooling, 36 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/WABinary/decode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"003b10f511cf391485d3aa5ea73392548b3c2e78a0c505dc695aec9f35e10f80"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~258 LoC): no import path from any entry point (6 application, 4 tooling, 36 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/WABinary/encode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f8623df7cca8b74832005514d946e03f14eab216b40b84c0651d3309c306ea"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~128 LoC): no import path from any entry point (6 application, 4 tooling, 36 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/WABinary/decode.ts, src/WABinary/encode.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/jid-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e0e942292044e5365c2cb3f615001ed57c591fcb99062ee93a5a95001f6dea"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GroupsSocket\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1223e8c67e9e86562e45e3fc99b3ae4c8a8721001ba796b116fbea05ced89d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027NewsletterSocket\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/newsletter.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0417b7de8d6f625b45764326deb813c1fb55d4c7068047ac97c3a75edf2d51"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LabelColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/Label.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f35fba456ae4ab68f0e6d65f23732569e5e824f42f1b399bc2ad8c12ffaf7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LabelAssociationTypes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Types/LabelAssociation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd0801f18d86e1449e52f25ff32e6bf600ddfba22d1903442dbd737cd199cc3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KeyedMutex\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/make-mutex.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd8b010a4176e9cfa323d98af53381636853dbb739bac10c768016139973338"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAllBinaryNodeChildren\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"651d8ca49243f09563baa3ac8ea7278baf1b9ecb5f1a717f56c0bedd57259bd7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getBinaryNodeChildString\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3439e11b287f6fb2da3dab475a9cfc1f6b3b95211f30e1f9047335e4fbb4c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getBinaryNodeChildUInt\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e0a5be768f9250c30e83e3c60616e52a65f5e1d67666fc9d6d52ce5365212"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027assertNodeErrorFree\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d6a0d140784465d6dbb079265e2afc46d175bd5aee06c4f6fe2972e2ae7328"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027reduceBinaryNodeToDictionary\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0685bcb09a8f4ff7d4d381cbdbc27285182b762f4ccca8455e6b46c36b472731"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getBinaryNodeMessages\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/WABinary/generic-utils.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c69a37aa761fb42cc7c5af9f2653e6b0e1c021d4fc3663fa13345b27960ddf"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027messageVersion\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/Group/sender-key-message.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea2f5f12e6e4f3b9ee159d00a86cb7d101a08f969f48a71c9f890d2add724e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027conventional-changelog-angular\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":"354a18e69f9cad794f9ebf2a78f5c485fd2a6674ce17f66ef40a90fddc003f7e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027esbuild-register\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":"907dc333248cc9283982628aa808a87c57fbfa565551ed8f36c8b4b83e01c277"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027open\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":"dfc96453740deaa192988ebba2a2118440b3a389bd510e2560c71257ca405fd4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027pino-pretty\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":"06e04924e9c942ffa1336d8849053478b63c3cde6a943e65b22657f8ba7de37b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027protobufjs-cli\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c5600b0091edcd2e7efd306794dfc7403f49eb66daf157471793d5c4e12b39c2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027request-promise-core\u0027: Declared in proto-extract/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":"53621d1bd116ec6ac23db4a7196273c7720b231599cdcc1b0cf9130b00d88ca8"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (7 files): src/Defaults/index.ts \u2192 src/Signal/libsignal.ts \u2192 src/Signal/Group/index.ts \u2192 src/Signal/Group/group-session-builder.ts \u2192 src/Signal/Group/sender-key-record.ts \u2192 src/Utils/generics.ts \u2192 src/Utils/crypto.ts \u2192 src/Defaults/index.ts (one verified cycle inside a mutually-dependent group of 24 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Defaults/index.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"22861993528efcd9e07bfc3f2f3b5c6cb4c6b029766972731c04d60497ed6a51"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/validate-connection.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda5300fd6b3f2fc7c14ef75ec472d74a7bc363f3753b202d664ce59fed245b1"}},{"ruleId":"S1","level":"warning","message":{"text":"Password key derivation is priced too cheaply: This code fixes PBKDF2-SHA-256 at 131,072 iterations. A key-derivation function\u0027s only defence is the cost of ONE guess, and that cost is this number \u2014 the algorithm choice does not set it. Current OWASP guidance is 1,300,000 PBKDF2 iterations with HMAC-SHA1, 600,000 with SHA-256 and 210,000 with SHA-512; scrypt at N=2^17, r=8, p=1 (or an equivalent N\u00B7r\u00B7p product); Argon2id at 19 MiB of memory and 2 iterations (or an equivalent row); bcrypt at a work factor of at least 10. This figure divides the attacker\u0027s work by a factor of tens or hundreds against the same stolen hash, on hardware they already own. Where what is derived is short or low-entropy \u2014 a PIN, a numeric parental code, a four-character token \u2014 the whole keyspace falls in the time this parameter buys, and no salt or constant-time comparison changes that. Raise the count to the current published figure for the PRF you use, measure it on the slowest hardware that must run it (a target of roughly 100 ms per derivation is the usual budget), and read the value from configuration so a deployment can raise it again without a rebuild. Where the derived value must interoperate with a format someone else fixed, the count cannot move \u2014 derive a SEPARATE value for anything you own rather than inheriting the external format\u0027s price."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/crypto.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"730b46e283ed3cf7697e8a459243c12b1371159f3c589a590ddf6f0fcbdaa3ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attrs.participant_username || attrs.username || undefined\u0060 appears character-identically in 2 files \u2014 src/Socket/groups.ts, src/Socket/messages-recv.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadae15bd541f52ded3475fd3df6bc6773d3c698abbfda4861b4c3fbc7a3c160"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLidUser(attrs.jid) \u0026\u0026 isPnUser(attrs.phone_number)\u0060 appears character-identically in 2 files \u2014 src/Socket/groups.ts, src/Socket/messages-recv.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07ed71465f5d752ff423ba96bb78306913ce38b47530a6eac74da287ff4226b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPnUser(attrs.jid) \u0026\u0026 isLidUser(attrs.lid)\u0060 appears character-identically in 2 files \u2014 src/Socket/groups.ts, src/Socket/messages-recv.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/groups.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeff4fb9f9e0f9f1a5f2387120cf81e7630533c4cd2a6588bc84fdb7dce1b82a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parseAndInjectE2ESessions\u0060 is exported, takes a document from its caller (line 137) and hands it to \u0060extractKey\u0060, which calls itself at line 173 (\u0060extractKey\u0060) with a piece of \u0060key\u0060 \u2014 and nowhere in \u0060extractKey\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 \u0060extractKey\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/signal.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea82ba8ae231c19750a13b8da16a3e51749d3e89e9e9dd9e7ff2bd710504a0b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/5 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: fetchLatestBaileysVersion: \u0060fetchLatestBaileysVersion\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/Utils/generics.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5227bfd5d7dabd19e12b291fc45c26db7b5396fcf4cd4a8b3e2d1cde447d030e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getHttpStream: \u0060getHttpStream\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/Utils/messages-media.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496b4b078c940b05193802e6ed2cefc1b19c326d93bb2bf120a77104011bfa1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: generateWAMessageContent: \u0060generateWAMessageContent\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/Utils/messages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bd6bc8b05690e43b553b643ac372ff19cd9df2fed0de372dfd1f2304758489"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 202 is called with an argument built by \u0060Object.keys(mutations)\u0060 (line 202), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because trace is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/auth-utils.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6ac6879864a8e86f57132b7706d1cc67614a5116688aa9f02c4465340dbbb"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 281 is called with an argument built by \u0060Object.keys(data)\u0060 (line 281), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because trace is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/auth-utils.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6582c1bede9680df03dc34e5724eda4bdfff6759a00b9f979b01288935269198"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 107 is called with an argument built by \u0060Object.keys(entries)\u0060 (line 107), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/process-message.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0126686ed480da6655f5acc5dac6d10ea29f2ffbdd019b45973b92badf8a1971"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 402 is called with an argument built by \u0060Object.keys(userDeviceUpdates)\u0060 (line 403), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e2e9a43cb93a5db319bb66e7ef58cee70dacb8d873360885a2f2fcffa005c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 867 is called with an argument built by \u0060devices.map(d =\u003E \u0060${ d.user }:${ d.device }@${ jidDecode(d.jid)?.server }\u0060)\u0060 (line 870), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"18111eaa3e8a6f5c8f5ab69e4b8c19426053fa0eddddd5a19dbcb845d0903a6f"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060trace\u0060 at line 89 is called with an argument built by \u0060Object.keys(pairMap)\u0060 (line 89), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because trace is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96f8572039afa15857d1df6eb528168a634ef3bae67160102488b578abad1fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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/Utils/chat-utils.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63b260cd34da5b948dcd51d6b62c19e99a9fef48cb4a36f825e786391da2c5f"}},{"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/Utils/messages-media.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"745d3a91344465f60750c6ead21b907c81b4e80b96de1a10e8c44fc3002b6a6c"}},{"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/Utils/messages-media.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a049a4ed1cfa0587d2c601af55362bacdae438ea2f4a8f3da0837aca659f04ef"}},{"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/Utils/use-multi-file-auth-state.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d57db3c60adb5c913befc9ff2aaca2b7cb47693ba1fc2a6a56396b739c2f1b"}},{"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/Utils/use-multi-file-auth-state.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c225c894dc7a9ee9adba839507355217c4dc39e317e6e00db7f8b044679154d"}},{"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/Utils/use-multi-file-auth-state.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b999fc924858f5b8d6b8bed1d3939084e570fa23ab09289da78539aeb598ba9"}},{"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/Socket/messages-recv.ts"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d1d686311b0e52d06f6c04408d8a27457bb049aa962d77e095c82cc74e5762"}},{"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/Socket/messages-recv.ts"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefe39394df983ee0b91b4cd384bdd16839b841b0f202bc737d49d16c405f0c3"}},{"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/Socket/socket.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cda7fc1cca60047370de792013ecfa9d81f92b64f89cd66256e1510b34499c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 206 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/auth-utils.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f095bf88359519f2dded0c3f90e8e8c54f36d968597989fb26d669873a8168ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 921 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/chat-utils.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b23a482164484e76b09aae7be765fcb1a260e1c47bcbd1900a44e0fe3d8c293"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 125 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/message-retry-manager.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e140da2777c0d0cd9b71e1873a47cda3a39a2cab010ba422aa5e0c2fac564599"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 272 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/message-retry-manager.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcea433459111c62fe949c460e0840248e5e54ffdb08b72e47717ab25f395caf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 283 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/message-retry-manager.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6bf38d9d7e72aeb79e7a953214d5e3de44e11329a17e7eaa46c6b722df0c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 858 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages-media.ts"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed06f4849f22311af4437a0240199d6773b71da7d9e88ee54038ffb8df446027"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 891 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/messages-media.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"29de4bb1b1fbdc664fec5cbfbeca6c73023435aee2e832d33e292c38bf811f0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 87 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/pre-key-manager.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a688cfb83bede3061d3eb5d8d9aca1bcf3c07e8c63cf483e4267229fdc9b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 98 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/pre-key-manager.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b77bb4b8264793fa7e02173b234075df8ee18edc9a6386ac626e77367ee084"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 120 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Utils/pre-key-manager.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"612f4a408b452de1d0145f0e3c321f6a3413b6ccf7c5f9a9a90669b4d8bab23a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 617 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cdfc048c5ca781c56a816883480545028a3f3b96e7bd8faf5e5b30dad19bd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 664 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4b18c0af06d7c92b7852d65404ce44cd6765ef3fde13e04c82dd241cf7fac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 684 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f20df62fbce88de6816ce9328d773d6d96ff7802c6fecb9faa675d98733d96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 691 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad9c7ab2a5ea4960c60e579423ce6f0a9517fa717d2640b638fe39d1da5f16f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 711 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3fc7e1d7c7d80beef3c3b37c4b53c9052377281fcad1c5f80095b187fd8fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 719 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"14049089aad974220aeac1bda669c6a15ba8b648bfcbb8f7f9f253cd91febb8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 725 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e281189bd0bb6e952a331656815bb5fdc3b9d8e24cf30cf4dba0b3a880e960"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 728 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/chats.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a7619e7afea8ca32d3df3e241608ab353a0db7bd0d86b2935d853baed825c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 644 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f84c57ebdcbc64199506ef2ff367b761b4b7dbc741087678f046030b828b9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 654 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"932009cb764ead0e5fdceb63c0a6b872f16422747cecf08db38ed822497e7852"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 2058 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-recv.ts"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c18f67e139f656b5be09fa9f2e1898ce561c115d61357a0f9419102ed5db1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 700 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ca7c7882c85b8ffc0781b4f7a49e0c62cdb0a6ab37a863aad649df7fc93e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1095 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/messages-send.ts"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0f8ac9a954bb3da6c9a9a62ff9733477af078b432ae6a82288070b85788e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 399 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff9dd15bc82bbf328c248b8248194164bb68fa33d4f48cad39c399fb4c16c3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 520 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9a9f4b27f66c88b496bb40245e705a20ec6d0edf732ad152b7c7c06ad0b5ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 564 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0e24136218454f8d8bf8ea8c06540b3d3ff7da228334ff5b235447055d2833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 565 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"3351980d41aef97d5e988055504d1b13eb809fd96615b99802de18728a4ceb7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 577 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1d48c8552d82de549fbfe0f3cef7b844ae932f7331738e2d1bf45bb7d5b940"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 580 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b8c51a53044125acecb9d133c866a3b096f529106abfc282891666d3fea29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1041 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Socket/socket.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb19fa9803a14756a6fd0010943af2f5776ea12daf60054603083434f47a935b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 36 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e70041d1876bc804ce19a3162c0555d5d4af038b2b1705607e5a1a79fdc377e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 63 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ea5364399a6b4c9d9802378aa70d9754c8fad87a0895b09de3af5a1d251b1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 89 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e196a870c50d3bec2ae80cf50cb412476b1208a31ffcba1789b7074d518f8cdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 120 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82b9edbd3ea5015fc6e877942edabc85e41520d13741d9a33d3cc30e1e616ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 142 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04edfb9f05295028b3bbc911960a8a45d7f7d5c105a11568e5762ecaed7a596"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 152 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c546b98cae40fa2278bc0508556f148289dc83b5f7862a7be6f1faceb51adf47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 167 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"00309139d08ac9d0b5d7840d62dfe5ba6ce75905d33eaaa38a38d13fb7539aa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 192 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c5ccc61b464ac75f33e0686c2f10c3687ee341ceb7486a4ac51ee561ed6dff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 196 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce28bffee0bd0276f6f769f791fdb4978cd302deecaea9e3e859795f8fbf3a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 226 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2455bd324c8b6237de5452ae7b14cc8d109959e74cace4b03cdc0a581a7389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 255 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc576eb11bd18f6130df7b6fe2825b91c23cbd5e929ea1bc646408d0d484568"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 283 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8076ea8168343eb5ab4bc5dc8504cb6b1cb3b85dd83e4256ff57b71471804f2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 321 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.trace({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.trace(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Signal/lid-mapping.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8cff657932d352102086c1d3083ea2d14f5f9649054a4e0e3963edd3f6c19a"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~11.7 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 544 assertion(s) across the 46444 source line(s) of the 97 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/Socket/messages-recv.ts (87), src/Utils/chat-utils.ts (56), src/Utils/process-message.ts (50). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTcTokenIndex\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":"src/Utils/tc-token-utils.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0088ddb8febc32e3b7e72b3caa19902ec0041e6a4c98927b7034c940e5c87273"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":105,"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."]}]}