{"$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":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"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":"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":"model-with-messages.ModelWithMessages (cyclomatic 180): model-with-messages.ModelWithMessages has cyclomatic complexity 180 (threshold 15). Of this number, 166 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da85097e00d5ad8ebb8f939bf8315ce626c375e43632fb3890190e3f73a70bf"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 62): (anonymous) has cyclomatic complexity 62 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 44 belong to 23 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/apps/social/templates/message.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f500aa8826f47f9f712ac02ed6e02be3389ad636fdd0dec1375a28f5eda77e"}},{"ruleId":"D1","level":"warning","message":{"text":"message.default (cyclomatic 59): message.default has cyclomatic complexity 59 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c38b0715f61e4fdbc033e5fe94a2491b7f11a922dc3b175ffcc90334c9ff14"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.handleJingleMessage (cyclomatic 57): utils.handleJingleMessage has cyclomatic complexity 57 (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/headless/plugins/jingle/utils.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7043ac8880efae7750f3115f1548d931701d989db942b1036c0a613e743a79"}},{"ruleId":"D1","level":"warning","message":{"text":"parseMessageForMUCCommands (cyclomatic 48): parseMessageForMUCCommands has cyclomatic complexity 48 (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/plugins/muc-views/utils.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"44983a7eff74c43ddf52eb86356084c86e64a48904d0b1e7f2baa900013cb497"}},{"ruleId":"D1","level":"warning","message":{"text":"getLostPoint (cyclomatic 42): getLostPoint has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/utils.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e60d21f13e09694a72059ea194e08b903263ecc650553c971be37e17779b0d"}},{"ruleId":"D1","level":"warning","message":{"text":"user-details.tplUserDetailsModal (cyclomatic 39): user-details.tplUserDetailsModal has cyclomatic complexity 39 (threshold 15). Of this number, 37 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/shared/modals/templates/user-details.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"297c5567ab1dc926fb16fe549adbe42797e7a4798cfd3e1f02bb197fe1216941"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 37): (anonymous) has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 12 of the 37 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 210, a function literal at line 114, a function literal at line 151, \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/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3542f5cedddd07b478dc4ed87a59891a4f646896d060c638a1b75a03b7db0b"}},{"ruleId":"D1","level":"warning","message":{"text":"profile.default (cyclomatic 36): profile.default has cyclomatic complexity 36 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 3 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/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d23f0b10d2812576db8fb412e21cf86e57dca1a2266f4f6637ce98c9512bea5"}},{"ruleId":"D1","level":"warning","message":{"text":"query (cyclomatic 34): query has cyclomatic complexity 34 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/api.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"094bebd4e33c11c4dc9f84a3804f521039126408dfb714f13b76bfda8e95e9fa"}},{"ruleId":"D1","level":"warning","message":{"text":"loadConfig (cyclomatic 31): loadConfig has cyclomatic complexity 31 (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/daemon/config.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e48abc2b4a86f0c09fad8e5a3814cd23b9e2c096e166e560015873e7cd9c7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"message.default (cyclomatic 29): message.default has cyclomatic complexity 29 (threshold 15). Of this number, 22 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/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fddc249620ebbcaffe9af82193aad35d95047f022202950dffd9cd772977d5"}},{"ruleId":"D1","level":"warning","message":{"text":"inboxMethods (cyclomatic 29): inboxMethods has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 18 function items inside it that branch (survey, takeLive, inbox.subscribe, \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/daemon/inbox.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a98208a93159e96018cec7f7b3bd2ee31440876a1424695f247a00ca7100aa"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 29): (anonymous) has cyclomatic complexity 29 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85156bb4f08e1ba9a51a292faac4c230566df97cc0fe8a86cd764a59cd9b55b"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseErrorStanza (cyclomatic 28): parsers.parseErrorStanza has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs 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/headless/shared/parsers.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d74863a7e7704c505ff8d4c4f14f6726baadfe2f50c45c025c74a639ac6930"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseMessage (cyclomatic 27): parsers.parseMessage 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/headless/plugins/chat/parsers.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace95e1e9faf08e8bcc4c95ad238fb3af42b0e1f4eeac12fddbfa189c238e56f"}},{"ruleId":"D1","level":"warning","message":{"text":"xmpp-uri-dispatch.dispatchXMPPURI (cyclomatic 27): xmpp-uri-dispatch.dispatchXMPPURI 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/shared/xmpp-uri-dispatch.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7e745a34d3a6c2543203350b9994f79c19b25be43bbeab1e8cef6a032ea23a"}},{"ruleId":"D1","level":"warning","message":{"text":"moderator-tools.default (cyclomatic 26): moderator-tools.default has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 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/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf54f73093b7681b3b0241247753928ada23fd417812423fcd2c679fdc9922a"}},{"ruleId":"D1","level":"warning","message":{"text":"profile_modal.default (cyclomatic 26): profile_modal.default has cyclomatic complexity 26 (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/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e21502c106cb476bdd2a80138129917a35e847bd08d9de0664510c9b1b382"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 26): (anonymous) has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b9225945bc56e0024ea3827d889cbd74fdb433356affe5af580d9216c00c92"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 26): (anonymous) has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"768a04e5ca700a270dde2598319766c0b97babfd2e9d37e6f425f0701fb2a2a5"}},{"ruleId":"D1","level":"warning","message":{"text":"selector.parse (cyclomatic 25): selector.parse has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/selector.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b3b93efb4846a6246a2698096e6c2acc759bd67f2a323acd47a65b9e6b38f"}},{"ruleId":"D1","level":"warning","message":{"text":"Connection.onConnectStatusChanged (cyclomatic 25): Connection.onConnectStatusChanged has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/connection/index.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22847b89a1359c61dc0e8211ffbca208eb34c92e586058b085897f0d6e1fc4c"}},{"ruleId":"D1","level":"warning","message":{"text":"MUC.getNotificationsText (cyclomatic 24): MUC.getNotificationsText has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 2313, 2318). 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/headless/plugins/muc/muc.js"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad21fd9ee9cc61e0537a5c63c9e98308527f1f727d38ae4995368812bafbd1b"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.decryptOMEMO2Message (cyclomatic 24): parsers.decryptOMEMO2Message has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/parsers.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2e08094b38cf9a24c63a7147c7f2ea82788f60cf49ca9e4b131ebd49010da"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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/headless/plugins/muc/muc.js"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7720f3b04ad51590009728508a0e7f00b3cca88f0b2beac1df8232184fdb36b"}},{"ruleId":"D1","level":"warning","message":{"text":"browse.default (cyclomatic 22): browse.default has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/browse.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8083d756fabfcea4c58af65abab0678e45e83991abe0c8d49f90d28d08f8f28"}},{"ruleId":"D1","level":"warning","message":{"text":"MUCMessage.setOccupant (cyclomatic 22): MUCMessage.setOccupant has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/message.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdb9183a0954a57733cca155380700e38e47161c9d1d9a8300c4b8afcda1054"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseLinks (cyclomatic 22): parsers.parseLinks has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/parsers.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f98d32477f7f5eceb1f114b621936633bdc98a6c37d36687f47b631510c6cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"html.xFormField2TemplateResult (cyclomatic 22): html.xFormField2TemplateResult has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/html.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1bae569ad160411862382c02e0cd77a3825b1540935d564a111c7f404bece1"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageForm.onKeyDown (cyclomatic 22): MessageForm.onKeyDown has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/message-form.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c5745e1e9318cacfbb7d91cb1210951d58fee997b8dfa190ee129f08cd483d"}},{"ruleId":"D1","level":"warning","message":{"text":"mixin.DragResizable (cyclomatic 22): mixin.DragResizable has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/dragresize/mixin.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59c71fd2fed91aa889742dbef4a1bc05eb9d9daeaec0018bff2211a2f9cd39b"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelWithMessages::createMessageStanza (cyclomatic 22): ModelWithMessages::createMessageStanza has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"933341ba143aca9d2f2b996bd2346385cba06011219f3c7fe10ee1860ee30d05"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.main (cyclomatic 21): cli.main has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: 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/cli/cli.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d2117e5bbfb149cf6cfeffe7c7f3cd5cd4c845fdfa803f455d43fc558e6813"}},{"ruleId":"D1","level":"warning","message":{"text":"MUC.updateOccupantsOnPresence (cyclomatic 21): MUC.updateOccupantsOnPresence has cyclomatic complexity 21 (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/headless/plugins/muc/muc.js"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211edba84cf7ad1dbef27521c1f88e4418af663cd991936d7011e24b82a6792"}},{"ruleId":"D1","level":"warning","message":{"text":"MUC.onMessage (cyclomatic 21): MUC.onMessage has cyclomatic complexity 21 (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/headless/plugins/muc/muc.js"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5fc108b59cd24fc0167b00edf1e5c28dbcebba67ead06119faf3b5b292b560"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelWithMessages.createMessageStanza (cyclomatic 21): ModelWithMessages.createMessageStanza has cyclomatic complexity 21 (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/headless/shared/model-with-messages.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d345dde43ba97d86786b4e0d5bf9b5d53c7d1cb1ee7e32c7df0750aa2fd82071"}},{"ruleId":"D1","level":"warning","message":{"text":"choose_provider.tplProviderDetails (cyclomatic 21): choose_provider.tplProviderDetails has cyclomatic complexity 21 (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/plugins/register/templates/choose_provider.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e186ed045824de325ec8256b733667c4c4083920153d92cbfee807581af07033"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioPlayer.render (cyclomatic 21): AudioPlayer.render has cyclomatic complexity 21 (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/shared/texture/components/audio-player.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1affe80ed87484158f7e7cc5ac6b671e84686ecfa03476d70b5b2ac0f2d69041"}},{"ruleId":"D1","level":"warning","message":{"text":"searchArchive (cyclomatic 21): searchArchive has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8040fef9f8b84d183496b531c28b87b2a2ec4b8653eb9e65962d4726181d4e04"}},{"ruleId":"D1","level":"warning","message":{"text":"parsePolicy (cyclomatic 21): parsePolicy has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91d41a26e2ac695ad36ab544ea12e5807cc06634447081d160875d13d0afe8b"}},{"ruleId":"D1","level":"warning","message":{"text":"handleMicroblogEvent (cyclomatic 21): handleMicroblogEvent has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to 5 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/headless/plugins/microblog/utils.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f901f95f963cdaeaa78e41bd660dd2fd479201c32b43e778d9879d19079ba61"}},{"ruleId":"D1","level":"warning","message":{"text":"routing.parseSocialRoute (cyclomatic 19): routing.parseSocialRoute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9a3c3ec12dcdf6c5e035a061017bccea59e0026a80bd905a843527ab16408"}},{"ruleId":"D1","level":"warning","message":{"text":"QRCodeModel.setupPositionProbePattern (cyclomatic 19): QRCodeModel.setupPositionProbePattern has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f555d477bbee2d003060844050e1dc0e893a641b43c2ef94b920de3e64f8df3"}},{"ruleId":"D1","level":"warning","message":{"text":"url.withinString (cyclomatic 18): url.withinString has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e7c00fdd60cc1086e8fd563cd5ab17101287fc3c84d6162e4bd4908087e471"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoComplete.evaluate (cyclomatic 18): AutoComplete.evaluate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/autocomplete.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5afd3eb4368a30c599d7b880ff63a1bb392d59c99a01c50feebec6b3e8ed45"}},{"ruleId":"D1","level":"warning","message":{"text":"buildDescription (cyclomatic 18): buildDescription has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 12 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/sdp.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f69ed6f6f9097030720382027afa057e104fb4ec6b058c347c2e78c46f3e40"}},{"ruleId":"D1","level":"warning","message":{"text":"init.attemptNonPreboundSession (cyclomatic 17): init.attemptNonPreboundSession has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9875feae6c0f8ffed307cf4a5a0de06af357ed9c989ca9e5dcaa42c82968fd87"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseMUCMessage (cyclomatic 17): parsers.parseMUCMessage 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/headless/plugins/muc/parsers.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ac317fb8f2fefb5ed0e89550977c3da15c239f740938bdc4ad4de87dc2166d"}},{"ruleId":"D1","level":"warning","message":{"text":"MUC.createAffiliationChangeMessage (cyclomatic 17): MUC.createAffiliationChangeMessage 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/headless/plugins/muc/muc.js"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f9fe379b4e67860b385bbf94792c27e19dffe598f6e23d7dfeeb6eb789a51"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.onEverySecond (cyclomatic 17): utils.onEverySecond 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/plugins/profile/utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bbecef3ec4986bd17b231a11adb9831674bf32e7e570d551bca64e98ac15ce"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.groupsComparator (cyclomatic 17): utils.groupsComparator has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d17845f9ca08b7f0160d44820ec5f75a13386ec417b1e5d56f1b31272da8d5d"}},{"ruleId":"D1","level":"warning","message":{"text":"message-text.default (cyclomatic 17): message-text.default 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/shared/chat/templates/message-text.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515292f2de2eda4b6700d572669ba965aca4379b72e0144c23fd3e25de6b5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"publish (cyclomatic 17): publish has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/pubsub/api.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef087c3ac8a36ce91e7604a7b1745a95619e04a33df2b113888a0d6867fca67d"}},{"ruleId":"D1","level":"warning","message":{"text":"handleJingleIq (cyclomatic 17): handleJingleIq has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"517707b37cac53a3d07cf88ef30f033e8a072cd2facb022e117f75babe0961d0"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveOrphans (cyclomatic 17): resolveOrphans has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/comment-feed.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d939abe1c5186c99e892508f7b56b7e41703c2eef97caec63cbdcbe7eecdbc17"}},{"ruleId":"D1","level":"warning","message":{"text":"getLengthInBits (cyclomatic 17): getLengthInBits has cyclomatic complexity 17 (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/shared/qrcode/utils.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"11510d88db2ad3f09b91537b4b1fac4fe31b2c09d78926358bb40a532a43f39f"}},{"ruleId":"D1","level":"warning","message":{"text":"buildSocialRoute (cyclomatic 17): buildSocialRoute has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd561d0be5b0e99cd78e712e13bd40b1aa4cb98b5a1beb180c634b3291ad9771"}},{"ruleId":"D1","level":"warning","message":{"text":"config.parseRooms (cyclomatic 16): config.parseRooms has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"60777ff4f5c6964c111c8ce7d0f88683816492d2f7ab6603685762d88400720a"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseXFormField (cyclomatic 16): parsers.parseXFormField has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/parsers.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"94da1bc458fc6e1beef5330e3e8aca50889ab2641bab60883dbe89c0227a06ee"}},{"ruleId":"D1","level":"warning","message":{"text":"MUC.onErrorPresence (cyclomatic 16): MUC.onErrorPresence has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7632c499d275a9c13196319cb57ee7129a313252cfeb7ed42982f5069ca155e"}},{"ruleId":"D1","level":"warning","message":{"text":"MUCOccupants.findOccupantWithoutId (cyclomatic 16): MUCOccupants.findOccupantWithoutId has cyclomatic complexity 16 (threshold 15). Of this number, 12 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/headless/plugins/muc/occupants.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"962de2b23f5f322a62e13a2e64f6817f79236634195daab338cdea55763f8fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"DOMNavigator.getNextElement (cyclomatic 16): DOMNavigator.getNextElement has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/dom-navigator/dom-navigator.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c45280de2b483b901a0801f49bc80b4498a0bd6a13256c059a922d4264d04bd"}},{"ruleId":"D1","level":"warning","message":{"text":"muc-details.default (cyclomatic 16): muc-details.default has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-details.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaaf1d1ae2e46cc1076d4c07e092a80f816de9d71769e35714904bf9bbe16c0"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.showMessageNotification (cyclomatic 16): utils.showMessageNotification has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a8bfd7b2f253a5e9feb1b203f56d240bf431add4cac74a97e33026a8ada7d1"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoComplete.onKeyDown (cyclomatic 16): AutoComplete.onKeyDown has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/autocomplete.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26a84e34f0e76c04d9479c8bb62f53e83efbbc7d8281ed430678170f3b268b2"}},{"ruleId":"D1","level":"warning","message":{"text":"browseFeeds (cyclomatic 16): browseFeeds has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/api.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47acc39adf5be52cf9ca680b27da6ea8fda4de7ab74c82e192c854f29af7c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"connect (cyclomatic 16): connect has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe5f1951096e80defd5a72bb4d949995ed1a81422df3d35780d80ceaae6a84f"}},{"ruleId":"D1","level":"warning","message":{"text":"set (cyclomatic 16): set has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/vcard/api.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"352a93df7d1bf3055e5092a72b221e7d7957757899f20854cf862a94281f7909"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-details.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd936e58aaf2bb08d4fa1d513db0050bbabc56d74a905d10c04d30e9290b128"}},{"ruleId":"D2","level":"warning","message":{"text":"model-with-messages.ModelWithMessages (cognitive 217): model-with-messages.ModelWithMessages has cognitive complexity 217 (threshold 15). Drivers by points: if/else 103 (132 pts), boolean chains 48, ternaries 17 (21 pts), loops 7 (13 pts), error handling 3 (nesting depth added 39). Of this number, 201 points are the body\u0027s own statements and 16 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f19e5b81e2f24da1e5375903a67cacd862e6e40511b42f731a43fabf495b4c3"}},{"ruleId":"D2","level":"warning","message":{"text":"message.default (cognitive 109): message.default has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 42 (96 pts), boolean chains 10, match/switch 1 (2 pts), if/else 1 (nesting depth added 55). Of this number, 104 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc60f36805d54305a584d989d32faca83a8125f293e5fad696071fc4813cbafb"}},{"ruleId":"D2","level":"warning","message":{"text":"getLostPoint (cognitive 84): getLostPoint has cognitive complexity 84 (threshold 15). Drivers by points: if/else 13 (46 pts), loops 12 (22 pts), boolean chains 16 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/utils.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8913ea1736b09b0f3a47a30c7e53c41dc53e16563d3d35cb7cc461ef52b0f987"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.handleJingleMessage (cognitive 74): utils.handleJingleMessage has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (54 pts), boolean chains 19, match/switch 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6f6a2c26aed2af5b94228d8a3fa749f43084471fbf6f55c6f1be2c1bc3575a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 58): (anonymous) has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 42, boolean chains 10, other 3, match/switch 1 (2 pts), if/else 1 (nesting depth added 1). Most of this is not in the body itself: 15 of the 58 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 349, a function literal at line 212, a function literal at line 252, \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/apps/social/templates/message.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2695098ff864e59b790aeca4cae4f5f3936502afc3cd99f43bda293dda9a27cb"}},{"ruleId":"D2","level":"warning","message":{"text":"profile.default (cognitive 55): profile.default has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 28 (48 pts), boolean chains 7 (nesting depth added 20). Of this number, 49 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae94068430c7f74bcb967a070e5118db8b615323e6364507240d034ec795a36"}},{"ruleId":"D2","level":"warning","message":{"text":"parseMessageForMUCCommands (cognitive 55): parseMessageForMUCCommands has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (31 pts), boolean chains 21, error handling 1 (2 pts), other 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/utils.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d273b921c5b637453cb34b7fc9cb68a16c98904a6efe5cbdb3b97be8bd93fc5a"}},{"ruleId":"D2","level":"warning","message":{"text":"user-details.tplUserDetailsModal (cognitive 49): user-details.tplUserDetailsModal has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 28 (38 pts), if/else 5 (6 pts), boolean chains 5 (nesting depth added 11). Of this number, 45 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/shared/modals/templates/user-details.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdffc5e9c706311c99255f33ba42f4b6680d8df9f7a444696cd352fb6e68ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"moderator-tools.default (cognitive 39): moderator-tools.default has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 17 (31 pts), boolean chains 8 (nesting depth added 14). Of this number, 33 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d03c2cd55a500c2064fdadf2feebf0acf25556717be67592b5b0cccb5e8ca20"}},{"ruleId":"D2","level":"warning","message":{"text":"xmpp-uri-dispatch.dispatchXMPPURI (cognitive 39): xmpp-uri-dispatch.dispatchXMPPURI has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 3 (7 pts), boolean chains 2, 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/shared/xmpp-uri-dispatch.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"da21512934169cfd0032a88b0095a7be1c7737e1f6ddd6956d1321f5bbe3ad08"}},{"ruleId":"D2","level":"warning","message":{"text":"selector.parse (cognitive 38): selector.parse has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 4 (8 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/selector.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8657a02307ee75bbf24509fe5feda5a669633a20a1530c83bb8c1ccb5513b801"}},{"ruleId":"D2","level":"warning","message":{"text":"inboxMethods (cognitive 38): inboxMethods has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 6 (11 pts), other 4, boolean chains 3, loops 2, error handling 1 (nesting depth added 9). None of this is in the body itself: all 38 points belong to 18 function items inside it that branch (survey, takeLive, readUnseen, \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/daemon/inbox.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14829da3e9ce60b1acf7629427a2848b3ac24c6b11d1a6428f54183c07a4b34"}},{"ruleId":"D2","level":"warning","message":{"text":"handleMicroblogEvent (cognitive 37): handleMicroblogEvent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 2 (5 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 17). Of this number, 34 points are the body\u0027s own statements and 3 belong to 5 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/headless/plugins/microblog/utils.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"410806e4ba5a4f2fcf76bfbd3b65c4165560c3e743fdee703dbe94be16dd67d2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 36): (anonymous) has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 28, boolean chains 7, other 1. Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 210, a function literal at line 114, a function literal at line 151, \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/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03452d8e7a0f3d21a39f0f192d3f504fe26c4d34ba245a6dfa4b3f2ed6412cee"}},{"ruleId":"D2","level":"warning","message":{"text":"query (cognitive 35): query has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 9, ternaries 8, other 1 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/api.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffc436cc97f7f5e7ded4861db75d4f0cac5ae72326593aa8986bdf14d4b23b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.onConnectStatusChanged (cognitive 34): Connection.onConnectStatusChanged has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 2 (6 pts), boolean chains 5 (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/headless/shared/connection/index.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2cd268bd41d41fc51da7a44652a51ea5802bbf35b61f5c80286380e156fc5a"}},{"ruleId":"D2","level":"warning","message":{"text":"message.default (cognitive 33): message.default has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 19 (24 pts), boolean chains 9 (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 10 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/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c2819c305bc3e46e02c7accf1433e4dd33cfbcc2d1763874fb32484c7c5533"}},{"ruleId":"D2","level":"warning","message":{"text":"parseMessage (cognitive 33): parseMessage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, ternaries 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/parsers.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c8771702214353275d29484e6ce81c49b70b4324b576f0088db7d42a39f597"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.searchArchive (cognitive 31): utils.searchArchive has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 5 (9 pts), loops 3 (4 pts), boolean chains 3 (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/headless/plugins/mam/utils.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd25c6a75440ea732af0d159485d1cd9202b12f63d1a4ed296dd08f7d3fa41eb"}},{"ruleId":"D2","level":"warning","message":{"text":"QRCodeModel.mapData (cognitive 31): QRCodeModel.mapData has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (24 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7416090c903a5d2318f10b92c95563cb2ff74b8ab5f66f2a8e18d5c2854d9fec"}},{"ruleId":"D2","level":"warning","message":{"text":"MUCMessage.setOccupant (cognitive 30): MUCMessage.setOccupant has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 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/headless/plugins/muc/message.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a5cbbd1b68363bef69098d9070696be0b9bcf5cf75b67123b217db84a30c76"}},{"ruleId":"D2","level":"warning","message":{"text":"profile_modal.default (cognitive 30): profile_modal.default has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 17 (23 pts), boolean chains 5, if/else 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebd4f91adc9b94023c9916b39086d02d79383e8a392d8c5176c37b3f4827af6"}},{"ruleId":"D2","level":"warning","message":{"text":"loadConfig (cognitive 30): loadConfig has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 9, if/else 9, other 7, ternaries 4, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca90bc47ab5d5acb5f7d447b9aec6ffbaae953f660fb81317fb47a87f4a61989"}},{"ruleId":"D2","level":"warning","message":{"text":"selector.parseAttributes (cognitive 29): selector.parseAttributes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (11 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/selector.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a8cabeffc99b3d07411f8d65e0bf9237ecade46af09d3cb5d24984dadc069e"}},{"ruleId":"D2","level":"warning","message":{"text":"url.withinString (cognitive 29): url.withinString has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccccb41378eb54417e6a0ea22a8d195abf594b3dc305ecab6ee8b594a06c9f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"computeThreadCounts (cognitive 29): computeThreadCounts has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 3, boolean chains 2 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 1 belongs 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/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69eca217edf9eeddb27041186462b2881e62d3ed4cba43525370ff9e0bc70c6"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.groupsComparator (cognitive 28): utils.groupsComparator has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (20 pts), boolean chains 4, if/else 4 (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/plugins/rosterview/utils.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f34d66261bb13dcde14182a4e489904a86cbed2544a5514d9d40d7db11fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"parseLinks (cognitive 28): parseLinks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 9, ternaries 3 (7 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/parsers.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a49093f52a8b170b0e5607d1964b7df9a65ca9ab8d5cc3a0e5c3a27e3b2424"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseErrorStanza (cognitive 27): parsers.parseErrorStanza has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26, boolean chains 1. Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/parsers.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a12fde9d9d52f62bdb3644560d0078331359a0e7e73ad60a2ca5825af4d1025"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.getNotificationsText (cognitive 27): MUC.getNotificationsText has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23 (26 pts), boolean chains 1 (nesting depth added 3). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 2313, 2318). 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/headless/plugins/muc/muc.js"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf2f1395d39a6dfc3625a411de060921ce65a89ef11574ae48f2242ed3d16c8"}},{"ruleId":"D2","level":"warning","message":{"text":"html.xFormField2TemplateResult (cognitive 27): html.xFormField2TemplateResult has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 10, boolean chains 6 (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/html.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ece59be05e6286d4eef2acef07764ac4b104a9f093ebd6a5ac9e27f386d9e1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23 (26 pts), boolean chains 1 (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 1 belongs 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/headless/plugins/muc/muc.js"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f592f54d078e22b9e7ce2384e9f1f4bc2824a08adcf8f5d549ab38bd33631cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"showMessageNotification (cognitive 27): showMessageNotification has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (24 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7f728b0c5aa33c4de7eaa74374e25472e027fe1fe5ff78eac9f492352b929c"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveOrphans (cognitive 26): resolveOrphans has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 4, error handling 1 (2 pts), other 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/comment-feed.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffc953c677c918bab8d65beb592ca64e21eea14d9daa6f7dd59ca70e2a2810b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 26): (anonymous) has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 19, boolean chains 7. Of this number, 21 points are the body\u0027s own statements and 5 belong to 2 function literals 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/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f3ff7d86bb29d779ea74ff9550323e87dad4e6a277db9f4bb10e9665960ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.handleErrorMessageStanza (cognitive 25): MUC.handleErrorMessageStanza has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f23e0b8236ca5266699ff4825faef75f104772ba2e538d25d9cb7c37d262be"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.handleModeration (cognitive 25): MUC.handleModeration has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9a255555674b2c298b0c8d9297c5465ba18a0ff590ad4d4d20fb4e27c84266"}},{"ruleId":"D2","level":"warning","message":{"text":"publish (cognitive 25): publish has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, error handling 2 (4 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/pubsub/api.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c9de0d45cca073ca8e46a5fe77fb2e38ca494fb72248ee7036113bd69484f7"}},{"ruleId":"D2","level":"warning","message":{"text":"routing.parseSocialRoute (cognitive 24): routing.parseSocialRoute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3a3022e19e8a1a3de68f47451e7d3feb1448b18083b6c1a1e2f3453103910"}},{"ruleId":"D2","level":"warning","message":{"text":"init.attemptNonPreboundSession (cognitive 24): init.attemptNonPreboundSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"874532d4f5d627a2c379720cb9165eb5fc8e340bcf3b9c88ec99d695aaf5c905"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoComplete.onKeyDown (cognitive 24): AutoComplete.onKeyDown has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/autocomplete.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"92168f9129b7a22c95864ac4ce498b45d732240e243ca42d5b2beed8cbbcdc78"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPlayer.render (cognitive 24): AudioPlayer.render has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 15 (19 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"994b5da41a1d0dde016be5334f229e3d29a7470d5107405aaf30f7313f5d6a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"addPlaceholdersAround (cognitive 24): addPlaceholdersAround has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 1, other 1 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 1 belongs to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d3f83c12fe1116c654288033267c4e0ad88c5f04e003bdc90d5e0ef2d16b4"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 24): (anonymous) has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 17, boolean chains 7. Of this number, 22 points are the body\u0027s own statements and 2 belong to 4 function literals 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/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6bec0aca5d8bef7b2581851d5672b9c38f4ffe1afe7e64c983b7591e5c582"}},{"ruleId":"D2","level":"warning","message":{"text":"onKeyDown (cognitive 23): onKeyDown has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/message-form.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b09e37bc3643a0b00a1232d1fcb6011f7a03edc3cf41535fad64465d83d5e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 18 (20 pts), if/else 2, boolean chains 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c915d0f7d7799d53f1502442286a473dd5fb9e9a92ddc8aa3a25f5673a650b2"}},{"ruleId":"D2","level":"warning","message":{"text":"getPopularEmojis (cognitive 23): getPopularEmojis has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), other 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/popular-emojis.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb739afd7ef09ea3c771db114458f942b922d0ca29d9e222899e33b3d44e5af"}},{"ruleId":"D2","level":"warning","message":{"text":"buildSocialRoute (cognitive 23): buildSocialRoute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (6 pts), boolean chains 3, match/switch 1, other 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4f3fb94027746d46f7e5f672b9dd1cc6ed1f9f7c508c1676299314cd66ad8f"}},{"ruleId":"D2","level":"warning","message":{"text":"browse.default (cognitive 22): browse.default has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 6 (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/apps/social/templates/browse.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e70a3e42bd79c3b2bfafa41343f1bf36e7749e455d73fe493d13e605eaa1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.main (cognitive 22): cli.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 3 (4 pts), ternaries 4 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d70f38c89ba2b2d7a004483ae3175ba1e0b1888276c4baed82fb834b12217"}},{"ruleId":"D2","level":"warning","message":{"text":"choose_provider.tplProviderDetails (cognitive 22): choose_provider.tplProviderDetails has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (17 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd9c112e1a926b7ffe7cc926193b511c659b923b9196bcce6ae0028ad205728"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoComplete.evaluate (cognitive 22): AutoComplete.evaluate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/autocomplete.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"898c4863269b023d039292750d21fd4461cbb7e1fc7acfc9c60279803ac5fac9"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageActions.onMUCMessageRetractButtonClicked (cognitive 22): MessageActions.onMUCMessageRetractButtonClicked has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (22 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/message-actions.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1212b05df914268191bca8dd9bc525c3f21138e2b4347aaa49b85077c5f5fd21"}},{"ruleId":"D2","level":"warning","message":{"text":"unfurl.default (cognitive 22): unfurl.default has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (13 pts), boolean chains 7, if/else 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/unfurl.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0d9c34ea0aaeec6a18f9fde9a075827613e1c135925db98445167dfc111230"}},{"ruleId":"D2","level":"warning","message":{"text":"connect (cognitive 22): connect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, other 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e56bea3d89756fa00c359ed18c87121809207c8128c9cf205ffab34b8e5c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"IgnoreChunkImportsPlugin.apply (cognitive 21): IgnoreChunkImportsPlugin.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 12). None of this is in the body itself: all 21 points belong to 2 function literals inside it that branch (lines 36, 46). 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":"rspack/ignore-chunk-imports.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cbcf16a9469bbe511471682095e9babf40a9c82264f1dd4fceec0b86f9f4df"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.decryptOMEMO2Message (cognitive 21): parsers.decryptOMEMO2Message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, boolean chains 3, error handling 2, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/parsers.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9994eb5c166f10b1910e0c5bf968475930312dea482077f5bb5271ba03a9897"}},{"ruleId":"D2","level":"warning","message":{"text":"QRCodeModel.setupPositionAdjustPattern (cognitive 21): QRCodeModel.setupPositionAdjustPattern has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (9 pts), boolean chains 2 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b26226b45f94aed6ecc3b1db133a6abbfd19981218f7ff04b458ddc2d92ab4b"}},{"ruleId":"D2","level":"warning","message":{"text":"getOpenGraphMetadata (cognitive 21): getOpenGraphMetadata has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5 (nesting depth added 10). Of this number, 12 points are the body\u0027s own statements and 9 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/headless/shared/parsers.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0382654ac033818fd47b43758b5d338cac950d65f615d51d851119cfaa9aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"roomMethods.rooms.join (cognitive 21): roomMethods.rooms.join has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, error handling 1 (2 pts), other 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/rooms.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b10dd094bbb61203376c1f15854533dd915a68ff8d4c7012057c6b892465ae9"}},{"ruleId":"D2","level":"warning","message":{"text":"parseRooms (cognitive 21): parseRooms has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, 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/daemon/config.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65ce5e8f2a489c51cd71c60e91d09bf6457e877770f38400108f9f285e072e8"}},{"ruleId":"D2","level":"warning","message":{"text":"parsePolicy (cognitive 21): parsePolicy has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), other 5, loops 1 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 3 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e32dc810970b4888997b0d0abe9429fd9bf4fada8305ae6f75979d6411b8f8"}},{"ruleId":"D2","level":"warning","message":{"text":"createBytes (cognitive 21): createBytes has cognitive complexity 21 (threshold 15). Drivers by points: loops 8 (12 pts), if/else 2 (6 pts), ternaries 1 (3 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d21e69e258823931cc0208723d92d6b2c270feffbe2587704b337eb7b57ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"navigation.openConversationRouted (cognitive 20): navigation.openConversationRouted has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/chat/navigation.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6ab711f82654825e792d4b3d6f4f79832c546c3f8b2631e3a5d85272abac11"}},{"ruleId":"D2","level":"warning","message":{"text":"thread.resolveThreadParents (cognitive 20): thread.resolveThreadParents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (7 pts), boolean chains 3, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a11dbc4d8f2dd5433968e13a0da7e6fdafa53dbb61a0ab0569c071c429ad19"}},{"ruleId":"D2","level":"warning","message":{"text":"mixin.DragResizable (cognitive 20): mixin.DragResizable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/dragresize/mixin.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd3ea355b44d24c7924e95565fae85dd13bd3837d87f0ad1cf779c537046cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"QRCodeModel.setupPositionProbePattern (cognitive 20): QRCodeModel.setupPositionProbePattern has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"429b337565d61f54180b9589b221c4b6cda7cd742e1c8c28a2d0355ee4957d46"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.isValidDirective (cognitive 20): utils.isValidDirective has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/utils.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"362b8744c18f07d6db7dff05aceed76f0c86d58e3c7ba8b3c9830ccaf963cf6a"}},{"ruleId":"D2","level":"warning","message":{"text":"Texture.addStyling (cognitive 20): Texture.addStyling has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/texture.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70abffa7e7b9a367431f79628b05106591cfa90640ff8007900e6f49e75fea6"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelWithMessages::createMessageStanza (cognitive 20): ModelWithMessages::createMessageStanza has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, boolean chains 8, other 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9411dd8bf4fafa173a41d0b8d8b271d3edb205dc100a02750d624a36657be0"}},{"ruleId":"D2","level":"warning","message":{"text":"rooms.roomMethods.rooms.join (cognitive 19): rooms.roomMethods.rooms.join has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/rooms.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00af20af1d102de6d520175ad160c9f2442321c33fdee5b54c2939508daf9db"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.updateOccupantsOnPresence (cognitive 19): MUC.updateOccupantsOnPresence has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"78356295d0bedf5ca9d88352625baca9efa160a921e768bce23ffc8e007e2d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.onErrorPresence (cognitive 19): MUC.onErrorPresence has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64926f817ae61ff49edc27df9a9c47ead26897e98f48e7c8e8d59abbee1a6c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelWithMessages.createMessageStanza (cognitive 19): ModelWithMessages.createMessageStanza has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11, boolean chains 8. 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/headless/shared/model-with-messages.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b321a21061727eeabb89d994c4a4ca4b52c40cc3b9640bc464d8a97802c8186"}},{"ruleId":"D2","level":"warning","message":{"text":"AddMUCModal.validateMUCJID (cognitive 19): AddMUCModal.validateMUCJID has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/add-muc.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada322ce844a23133e328494b33deaa92d1127fd4de9a3506b08fd06824a4d7e"}},{"ruleId":"D2","level":"warning","message":{"text":"getItems (cognitive 19): getItems has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 pts), boolean chains 3, loops 3, other 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/compose-rich.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0131a11f12b662095a0bded3f282e3fc42f3217255338870a8aabf19c59ca41"}},{"ruleId":"D2","level":"warning","message":{"text":"getNextElement (cognitive 19): getNextElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/dom-navigator/dom-navigator.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9af40aaf22f9bc8d15be2778b5cbb45496397f905fd1d41bb8be5f89ec3c0ae"}},{"ruleId":"D2","level":"warning","message":{"text":"page.getPage (cognitive 18): page.getPage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, 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/headless/plugins/mam/page.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbacf45cb35b6a61bf018471a684deac2b149dab0c463f02a3bd9d6d1424f032"}},{"ruleId":"D2","level":"warning","message":{"text":"MUCHeading.getHeadingButtons (cognitive 18): MUCHeading.getHeadingButtons has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (6 pts), boolean chains 2 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/heading.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a320f6a0288e70711afa09f80285aa1d63d88d643b89eca6642b728712996b"}},{"ruleId":"D2","level":"warning","message":{"text":"blocklist.default (cognitive 18): blocklist.default has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 3 (4 pts) (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/blocklist.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6483022307b285fb61803e1eee5acd813b8d3c37888c8507ec57bfa4ca5d35"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getURLRanges (cognitive 18): utils.getURLRanges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/utils.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c422ebb4d9896ab39a16cfeb9f9b1222bd7a0cd577746f59923a696f8050393d"}},{"ruleId":"D2","level":"warning","message":{"text":"getPublishedItems (cognitive 18): getPublishedItems has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (4 pts), error handling 1 (2 pts), boolean chains 1, other 1 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/bookmarks/collection.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd445f17277e877467931e11314b3c200c27f7f25362cc1fec6cb809169256"}},{"ruleId":"D2","level":"warning","message":{"text":"getRetractionText (cognitive 18): getRetractionText has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (6 pts), ternaries 2 (4 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/shared/chat/message.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f339d159c1515e3491d596c8c016e83e7a99923b34665c177b6a71647dba109"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.readLines (cognitive 17): transport.readLines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (a function literal at line 165, emit, a function literal at line 189). 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/daemon/transport.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f441f86ebb61bb57d12929bc5a9f3e3a05fa1a813684b87cbc0be53610f0f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeWalker.nextNode (cognitive 17): TreeWalker.nextNode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/tree-walker.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b94a4bcfa4856a3fa227040f3d3ba6a04877be3238082e65e094e40326569"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseXFormField (cognitive 17): parsers.parseXFormField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/parsers.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff069278f01b4ccec99e669b5a0a2567565fbc3e1430fbfa647d3c11a0c5db3"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseMUCMessage (cognitive 17): parsers.parseMUCMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/parsers.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba69bec7831212793727b2501a4e97ed7976625f891514b51ba02ba0aee5d1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBox.onMessage (cognitive 17): ChatBox.onMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7d4892954e9dc49c3b7a4066ea57a7a71f4c52d3a4279c2991aab7823296bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelWithMessages.sendMessage (cognitive 17): ModelWithMessages.sendMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf9890569d274b33970ce797973f071abfcff79260aee63193cb20bdf3db53c"}},{"ruleId":"D2","level":"warning","message":{"text":"thread.buildCommentTree (cognitive 17): thread.buildCommentTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cdaf666512728f610a7929b5b428dedcb5d03ce4e11425a41fd4bdcde87506"}},{"ruleId":"D2","level":"warning","message":{"text":"controlbox.whenNotConnected (cognitive 17): controlbox.whenNotConnected has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (16 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/plugins/controlbox/templates/controlbox.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eaf917063b3ac2c7da3fcc6bc32d16ee6f23f02c49853367c52f41f8e4f282"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getEmojiMarkup (cognitive 17): utils.getEmojiMarkup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/utils.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aab8d1566905b20940cf3c0a0f8d2f960f56862324909ac81b64da05a02369"}},{"ruleId":"D2","level":"warning","message":{"text":"buildDescription (cognitive 17): buildDescription has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9, other 7, boolean chains 1. Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 203, 212, 214, \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/headless/plugins/jingle/sdp.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7db787a0ecc62a75f133fcde8b1b8d4fa736ce854b099a6262941ed4bcd4f53"}},{"ruleId":"D2","level":"warning","message":{"text":"setBookmark (cognitive 17): setBookmark has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, error handling 2 (3 pts), other 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 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/headless/plugins/bookmarks/collection.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3e593464fe37d7b5a27c93e182283f4203d5a77b0a2c24b8c0e55012059d93"}},{"ruleId":"D2","level":"warning","message":{"text":"parseXMPPURI (cognitive 17): parseXMPPURI has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (7 pts), boolean chains 1, loops 1, other 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/xmpp-uri.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb2d580c0dfbbdfef270b3ccd92443639f834f603e6cd12114a731efe6da204"}},{"ruleId":"D2","level":"warning","message":{"text":"chats.default (cognitive 16): chats.default has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 5, if/else 4 (nesting depth added 3). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 36). 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/apps/chat/templates/chats.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e050dc22f258d655ca28e89afa676d2e43d17b7f1f3a64f591abfd093087dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"compose-rich.default (cognitive 16): compose-rich.default has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 3 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/compose-rich.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6181aa3acc898d70e0f1ab81b64541ae1a918a7a020ebfbbe1b5f2576f00a9d5"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.handleSubjectChange (cognitive 16): MUC.handleSubjectChange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, ternaries 1 (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/headless/plugins/muc/muc.js"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"3169cb1e36725872edf481adf35bed1dd9f20d685b47dbc5ef82cc41dd9c95ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MUC.onMessage (cognitive 16): MUC.onMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"647fc895e1046e782f9d70741fcd205094e9c76c98f2819575aa5b3e397f2e62"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getVCardForModel (cognitive 16): utils.getVCardForModel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/vcard/utils.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f81cd9e8eb5ca3f986369e01a01f83947bbbd0bd49eb117bb1557b2f58f131"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.sendOMEMO2ChatState (cognitive 16): utils.sendOMEMO2ChatState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/utils.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"64241570ce90e4c7c4d4f3fad16dff7f9f0916dbadfc1f3c311863ccae2ded89"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getChatRoomBodyTemplate (cognitive 16): utils.getChatRoomBodyTemplate has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 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/plugins/muc-views/utils.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe4ca803e258fb40bbf277bb7c20c1c3cad43887ce5214f72c3e5efe16c164e"}},{"ruleId":"D2","level":"warning","message":{"text":"user-settings.tplNavigation (cognitive 16): user-settings.tplNavigation has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (16 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/modals/templates/user-settings.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbe956db2839a47232aaf84a03c3dcc455d78ab8040fea26f3ddea58193e394"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioRecorder.record (cognitive 16): AudioRecorder.record has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/voice-messages/recorder.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c038f97f4519454e7b2bd2a1d82ad7da1a7951731c2d312254e29a4f07f80dd"}},{"ruleId":"D2","level":"warning","message":{"text":"message-text.default (cognitive 16): message-text.default has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message-text.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3857d1695fbf8d7fcd678bd01c4a87e645259e3dffa54ae799205e8453f551"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelWithMessages::sendMessage (cognitive 16): ModelWithMessages::sendMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 2 (4 pts), other 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd0c94241dd76a405a172e4f6ec4a6cbf373e690651516676728563b82de31"}},{"ruleId":"D2","level":"warning","message":{"text":"populateContactsMap (cognitive 16): populateContactsMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (4 pts), boolean chains 1, loops 1, other 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb8a917dc8cc13f2ce0e592349190950edc038228baa63a97c32fb960451db3"}},{"ruleId":"D2","level":"warning","message":{"text":"getHats (cognitive 16): getHats has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/utils.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b122d3f3a27665f514fdb46647e840653d231713d148efbb1afa1e0f885ff"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchFrom (cognitive 16): fetchFrom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (4 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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/apps/social/browse.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5567cd6e7359bbb84359e3d5220a9d06487beac3f9dcbcd4c965282d4883cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-with-messages.ModelWithMessages: FunctionTooLong \u2014 ModelWithMessages runs 659 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 559 over it, 6.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50cf6ea1884fa7807f09747d6ce92a489693927de889c7236157d8b1d909129"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MUC: TooManyMethods \u2014 125 methods. The bar is 30 methods; this is 95 over it, 4.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1cbf07950651143b30544e73fec0c5e1125acd0e76c7a506ef77f675d45266"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MUC: ClassTooLong \u2014 1610 significant lines (blank, comment-only and punctuation-only lines excluded), 125 methods. The bar is 400 significant lines; this is 1210 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01a346c646aef2df2b32b95d08b1a15f6f69caa99f85acbec2b26fc95f1bbd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: muc/muc.js: FileTooLong \u2014 1666 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 97% of them inside a single declaration: MUC (59-3018). The bar is 1500 significant lines; this is 166 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd0618a80c30d650b496cce6c4539e9c3bf098e514f9406be92336d9d1b21e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-details.tplUserDetailsModal: FunctionTooLong \u2014 tplUserDetailsModal runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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/shared/modals/templates/user-details.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"621b1aa6b8e9d7b342ccce3cb00d8749fb35b7db8ca1b7e9f770a6946c042781"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelWithMessages: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7f1d9d94984e8a034faa57de4e260ad29061a6891b276046294bad74ecf2cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: profile.default: FunctionTooLong \u2014 default runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\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/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe81de198cb55fc34f312f8de861626c7cd75d4e78878aed0a5c32b4a68443b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: profile_modal.default: FunctionTooLong \u2014 default runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bac3b84cca27b8d48c7b6dd3d3ea14c8dc65d4f719796eb955396a1c18e80b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelWithMessages: ClassTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 259 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc427eeb97203a1e12d47db1a31fae8e5a988084e11d1f18e1a8e71aa7503804"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AudioPlayer.render: MethodTooLong \u2014 render 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/shared/texture/components/audio-player.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6bd47a3c1b6a6d2e9634bf6a34023bd5ef95dfdb400db7273e302fdf6fbe3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.messageMethods: FunctionTooLong \u2014 messageMethods runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/messages.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0496cdd910e23ae29987a6e27e664fbe0cb835d1de8e4b0c029f7fa8830e1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/model-with-messages.js: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ModelWithMessages (54-1379). The bar is 500 significant lines; this is 184 over it, 1.37\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/headless/shared/model-with-messages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0800415e84b75711849522a5835a15f3f1c9d3784fbd48aaada3e024e3579aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: roster.default: FunctionTooLong \u2014 default runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee16176a6f0ab859d3774428cae9938bb2abb02f75cded518aa079e7372bd87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: omemo/utils.js: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 110 over it, 1.22\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/headless/plugins/omemo/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb297a5f30ec3290748576a5101f98b82e66c46bda21c3bf61059203b7622f61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: occupant.default: FunctionTooLong \u2014 default runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"537fab0705443d2a33ceeac8e80d8fe02b4ae411925f23b509a7c2ae8308669b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SocialMessage (LCOM4 9): SocialMessage\u0027s methods fall into 9 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 9 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/apps/social/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"321155afc15371b9a06feb398b2d452936721e5b02997a4937e69188a061f3f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SocialProfile (LCOM4 5): SocialProfile\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/profile.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ca28c750c182cf2a275fe4f9c6a64ac3ce7d6d26e06a026ae56ec1affba80f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelWithMessages (LCOM4 5): ModelWithMessages\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1384f2bbc73a40bce42069e1f57e7522cadb46b8372fb6ca4456d88d3a7fd3e5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseModal (LCOM4 5): BaseModal\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/modal/modal.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"869618c062b667de519ef7706313345c851a64c0f1f33c6c8efba85fd185738d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProfileModal (LCOM4 5): ProfileModal\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/modals/profile.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44c43ba4d4ca45a350c2b9d4ad7015d27cee7577a9fa1a773c30b6e93bcd4f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SocialBrowse (LCOM4 4): SocialBrowse\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/apps/social/browse.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c682597fd724d445589db71632eea862caf5df9becb6aad8cc2b5b50fce2ff"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RosterContacts (LCOM4 4): RosterContacts\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/headless/plugins/roster/contacts.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad5b176e3069922fb9fce2303f300f66eeb50f20df61f256ec5ede05329124"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockConnection (LCOM4 4): MockConnection\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/headless/shared/connection/index.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6a03f7988923448f051468ae2f451dc99c905a9627c52c00628085a9b0916e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is acted on once logged in, when the page was opened with it: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rootview/tests/protocol-handler.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6c08612f65a66981e016d018bf6e1e083d054569d6f84ba9be182674343b8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shows a contact as online once they are, from the presence they send: 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/daemon/tests/contacts.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"db88817473a020eb5a8904a3f16b99753acd4fddfd7af6507fd958b6e87338db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: enables message carbons once the server says it supports them: 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/daemon/tests/lifecycle.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb449ac503eb0b61ee4c95496bfd13f57e85f2f5c76156573ebaf176fb19828"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: rejoins the rooms it was in after a restart: 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/daemon/tests/rooms.prosody.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1afad05a21f7ef67a5b9e4cc175fd2ef8b1c34ec7f3c61a1ebf8315a62bcf2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: joins the rooms in the config on start: 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/daemon/tests/rooms.prosody.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f409b5d31a72fd33e9e3a0dabd501f5897aef5d47e76ef386ebbdee8a7f0fda"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: stops all the same when the unsubscribe fails, as once the connection has closed: 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/cli/tests/stream.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5a7ecf2a88046147071949841f43e2b04b329d36ea36dbbd565487b8ac6288"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":5011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":5323}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: sourcemap-codec: sourcemap-codec 1.4.8 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Please use @jridgewell/sourcemap-codec instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":7518}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d30df8f244bda53bb9a0d19df7f889d3bf10eb14ea434ff30f9d7860d76a83"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: whatwg-encoding: whatwg-encoding 2.0.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Use @exodus/bytes instead for a more spec-conformant and faster implementation\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":8197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a276e49fe0eaf945a534f0b4adaaa8539f0daaf57cfcac46d9a750024342058"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \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. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package-lock.json"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: libomemo.js: \u0060libomemo.js\u0060 3.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":"src/headless/package.json"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c7d5d12addbebd70deb4c97cd03b932be1e1fa23f4f7c9e411c51b3310ab5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/shared/model-with-messages.js: src/headless/shared/model-with-messages.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 180 in model-with-messages.ModelWithMessages at line 54. 5 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/shared/model-with-messages.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5556feace0c9f5bc3f08deeaa0ff28658ef95ea511013e335a37970e3b945012"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/plugins/jingle/utils.js: src/headless/plugins/jingle/utils.js changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in utils.handleJingleMessage at line 91. 17 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/jingle/utils.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e384b69a68c1c7c096eb5b65a12acbbc20595d6cdda10eab8b2cf2004d2b2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/cli/cli.js: src/cli/cli.js changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in cli.main at line 66. 2 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/cli/cli.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/cli.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ca4e795837c4f1aba9aa751feafad609b32211c4bd7640f61a786bf7c5af9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/daemon/config.js: src/daemon/config.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in config.loadConfig at line 166. 3 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/daemon/config.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9876eac91ccbd1f06c039655681c8446eca69435f4bf1266273c71a3022d0f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/plugins/muc/muc.js: src/headless/plugins/muc/muc.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MUC.updateOccupantsOnPresence at line 1893. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/muc/muc.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"d620b6496202601511d3bee7e8bca2475378520c6d7a0081e3fca0316259fac3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/daemon/inbox.js: src/daemon/inbox.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in inbox.inboxMethods at line 38. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/daemon/inbox.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/inbox.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eb33c2d896a470c0c92bacc2f2176f388bc1fad2c4eb07784af7b59637f944"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/shared/chat/templates/message.js: src/shared/chat/templates/message.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in message.default at line 18. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/chat/templates/message.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"904690bc75048e247eaf21afd8a2c515ab1861fe5c630ad2e9a115d56f686aee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/shared/modals/templates/user-details.js: src/shared/modals/templates/user-details.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in user-details.tplUserDetailsModal at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/modals/templates/user-details.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fbcbf109bdd16ec423105ba85e005fd1c6a43fad15fca33ef4b95fe3bed8a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/utils/url.js: src/headless/utils/url.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in url.withinString at line 145. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/utils/url.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f51df6d54a8696afb1d1655d1858571afaa48dd81b883f86866696c08a74e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/daemon/tests/fake-server.js: src/daemon/tests/fake-server.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in respond at line 59. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/daemon/tests/fake-server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/tests/fake-server.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4443dee60f425ba49423c4e4a911530c698b583459db7896500020f2fbfcee81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/plugins/mam/utils.js: src/headless/plugins/mam/utils.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in utils.searchArchive at line 409. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/mam/utils.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83b6cffb269467e0526b7351f02d0dfcc74ba21dca490ea835e42c3bda35cc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/shared/texture/components/audio-player.js: src/shared/texture/components/audio-player.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AudioPlayer.render at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/texture/components/audio-player.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6e14c8667a3a87b214ca2cf2d9ed63924b83cd643788c2e6c51fbcaf5ed84e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/plugins/profile/templates/profile_modal.js: src/plugins/profile/templates/profile_modal.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in profile_modal.default at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/profile/templates/profile_modal.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e02f15682a776360eb56ba9935eb1cd858b954548877aa0de728965c98f9eca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/plugins/muc/message.js: src/headless/plugins/muc/message.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MUCMessage.setOccupant at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/muc/message.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/message.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7eec9fc0ce41cbcf7a0c9c3142bec0c1b4386bc771bc1c6897830e69a06482"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/shared/xmpp-uri-dispatch.js: src/shared/xmpp-uri-dispatch.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in xmpp-uri-dispatch.dispatchXMPPURI at line 49. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/xmpp-uri-dispatch.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/xmpp-uri-dispatch.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23db07a79662f76e7e9c5a8068ed724c2eafdfeb3a7f83ed12da5791070e70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/shared/chat/templates/message-text.js: src/shared/chat/templates/message-text.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in message-text.default at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/chat/templates/message-text.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message-text.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5959b148423a2ed943a2e93d145e365c7ad6f8f376114c0944af6d29bc76d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/headless/plugins/muc/occupants.js: src/headless/plugins/muc/occupants.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MUCOccupants.findOccupantWithoutId at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/muc/occupants.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/occupants.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c746463f295707e8109b08793b79a1251a4d7579b7b7300b9e4869406a33373f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/plugins/muc-views/modals/templates/muc-details.js: src/plugins/muc-views/modals/templates/muc-details.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in muc-details.default at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/muc-views/modals/templates/muc-details.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-details.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab030fbb622f82406d6449f20b184a4ef6049a8f087d2394f84746da3b71174"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/jingle/tests/ui.js: src/plugins/jingle/tests/ui.js changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is contactJid at line 7), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jingle): leave no trace of a call that gave way in a tie-break\u201D; \u201Cfix(jingle): add the audio call button through the toolbar hook, and retire callButtonClicked\u201D; \u201Cfix(jingle): show the caller\u0027s JID on the call card\u201D; \u201Cfix(jingle): don\u0027t hand back someone else\u0027s call when dialling while busy\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/jingle/tests/ui.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/jingle/tests/ui.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"70226024585c8b82b193b8b751144e098dbf4bd765225c6de2da5ea5bb480a0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/notifications/tests/notification.js: src/plugins/notifications/tests/notification.js changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is (anonymous) at line 352), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(notifications): errors, empty headlines and unopened rooms are not notable\u201D; \u201Cfix(notifications): don\u0027t notify of a room mention while the room is visible\u201D; \u201Cfix(notifications): notify of XEP-0316 MEP room notifications\u201D; \u201Cfix(notifications): notify of messages in hidden chats while the tab is visible\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/notifications/tests/notification.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/tests/notification.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a914aafac3c2e8f1d969d18a97c591a9661db0c6841e71a5f4715d04dff635"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/headless/plugins/emoji/api.js: src/headless/plugins/emoji/api.js changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is api.loadEmojiJSON at line 22), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(emojis): resolve emoji initialization when a loadEmojis listener fails\u201D; \u201Cfix(emojis): only blame assets_path when the default emoji.json loader fails (#4132)\u201D; \u201Cfix(emojis): compute toned emojis once when emoji data is set (#4132)\u201D; \u201Cfix(emojis): name assets_path when emoji.json fails to load, and test the failed load (#4132)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/plugins/emoji/api.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/api.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"779656878bd299aabdae171febad2c1ae0bc7da1e6c4ea0e9620fb710591db53"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/muc-views/tests/retractions.js: src/plugins/muc-views/tests/retractions.js changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is sendAndThenRetractMessage at line 6), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(muc): name the moderator of a removed message\u201D; \u201Cfix(chat): fix the layout of /me and retracted message rows\u201D; \u201Cfix(muc): show when a moderated message was removed\u201D; \u201Cfix(chat): show the timestamp after the text of /me and retracted messages\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/muc-views/tests/retractions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/tests/retractions.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad58f2c4849460eab91c75f8b770bc6ae01834bbb38de155b3b384db15f46ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/jingle/utils.js: src/plugins/jingle/utils.js changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is utils.getCallName at line 15), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(jingle): add the audio call button through the toolbar hook, and retire callButtonClicked\u201D; \u201Cfix(jingle): keep call history in headless, and only call unanswered calls missed\u201D; \u201Cfix(jingle): give up on calls that aren\u0027t answered or don\u0027t connect\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/jingle/utils.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/jingle/utils.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"892e74ed9ad473411db1cce71660264dd81f94bbc71013287372b737cff3c62e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/headless/shared/message.js: src/headless/shared/message.js changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is BaseMessage.isFollowup at line 211), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(http-upload): handle a timed-out upload slot request\u201D; \u201Cfix(chat): fix the layout of /me and retracted message rows\u201D; \u201Cfix(muc): moderate every version of a corrected message\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/headless/shared/message.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/message.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"443a4bcc6b4ad673ee5d7dcaf1b634313a492bcf1001b6932b3fabd4f586fb10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/chatview/tests/emojis.js: src/plugins/chatview/tests/emojis.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is (anonymous) at line 428), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(emojis): only blame assets_path when the default emoji.json loader fails (#4132)\u201D; \u201Cfix(emojis): name assets_path when emoji.json fails to load, and test the failed load (#4132)\u201D; \u201Cfix(emojis): guard getTonedEmojis against missing emoji metadata (#4132)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/chatview/tests/emojis.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/tests/emojis.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84125f06d4be49505db15487f753ec6aa19fc83d7aed02a4a8516417c5f67ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/shared/chat/utils.js: src/shared/chat/utils.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is utils.getHats at line 134), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(emojis): compute toned emojis once when emoji data is set (#4132)\u201D; \u201Cfix(emojis): name assets_path when emoji.json fails to load, and test the failed load (#4132)\u201D; \u201Cfix(emojis): guard getTonedEmojis against missing emoji metadata (#4132)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/shared/chat/utils.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/utils.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9489ff419299d0c06d103c11e1ec70cf61875fee6468702bd6d87175e0104ad4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/muc-views/tests/mep.js: src/plugins/muc-views/tests/mep.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is (anonymous) at line 6), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tests): call toBeUndefined in a MEP test\u201D; \u201Cfix(muc): name the moderator of a removed message\u201D; \u201Cfix(chat): show the timestamp after the text of /me and retracted messages\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/muc-views/tests/mep.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/tests/mep.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8facdfe29e26ad0732eed6aa87ef978cf59586c9bfddfed835bbb821e1a2a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/plugins/chatview/tests/retractions.js: src/plugins/chatview/tests/retractions.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is (anonymous) at line 6), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(chat): fix the layout of /me and retracted message rows\u201D; \u201Cfix(retractions): use the archive timestamp for retractions fetched via MAM\u201D; \u201Cfix(chat): show the timestamp after the text of /me and retracted messages\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 22:12:44 \u002B02:00\u0027 --until=\u00272026-11-16 22:12:44 \u002B02:00\u0027 --full-history --no-merges -- src/plugins/chatview/tests/retractions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/tests/retractions.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"721f1498bbec94e3064450edec388cba26b4e53164232df103f8c17e709978ce"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060daemon\u0060 is a command-line package (\u0060bin\u0060 in \u0060package.json\u0060) and neither \u0060src/daemon/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f6cae52d0dbaf33874e5f965f8156e915987c8b588e9444fa2214a483a8b3b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tplOmemoPage\u0060 spells \u0060Omemo\u0060 where 15 names in the project spell it \u0060OMEMO\u0060: 15 of 16 names in project converse.js spell the token \u0060OMEMO\u0060 (15 of 16; unit: names in project converse.js containing \u0060OMEMO\u0060). Peers: parsers.maybeSendOMEMOHeartbeat (src/headless/plugins/omemo/parsers.js:146); parsers.decryptLegacyOMEMOMessage (src/headless/plugins/omemo/parsers.js:272); utils.fetchOMEMOActiveStates (src/headless/plugins/omemo/utils.js:210); utils.getOMEMOActiveState (src/headless/plugins/omemo/utils.js:229); utils.setOMEMOActiveState (src/headless/plugins/omemo/utils.js:239). Rename to \u0060tplOMEMOPage\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a92d6284b39169aa78d8f84f9ccf2a7a57eb8f2495feb0622d4446c4215ab5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add Strophe Namespaces\u0022 repeats the code it sits on: 3 of its 3 words (add, strophe, namespaces) are already in \u0060Strophe.addNamespace(\u0027MUC_ADMIN\u0027, Strophe.NS.MUC \u002B \u0027#admin\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/headless/plugins/muc/plugin.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"975629197ffaec9bd214119fe654c447f553dc345e852657e22614b78baab648"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022OMEMO 2 (urn:xmpp:omemo:2) namespaces\u0022 repeats the code it sits on: 4 of its 4 words (omemo, urn, xmpp, namespaces) are already in \u0060Strophe.addNamespace(\u0027OMEMO2\u0027, \u0027urn:xmpp:omemo:2\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/headless/plugins/omemo/index.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd39b9e23d667062231ae16521d5bc0865f294a65eca606f5ca1afb2a8a6a7af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for #publish-options support.\u0022 repeats the code it sits on: 4 of its 4 words (check, publish, options, support) are already in \u0060const supports_publish_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/headless/plugins/pubsub/api.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"233321f170fe28ea4a1c9cdfc328e39695c35fac8c38804b5dae18ac914823d3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add Strophe Namespaces\u0022 repeats the code it sits on: 3 of its 3 words (add, strophe, namespaces) are already in \u0060Strophe.addNamespace(\u0027ACTIVITY\u0027, \u0027http://jabber.org/protocol/activity\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/headless/shared/constants.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420ba6a06bad2e1cb7cb023ce840e140a0d9893c2ae5ee03bc40e7e040d5b63"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The data of the \u0060message\u0060 event for a one-on-one chat or a headlines feed\u0022 repeats the code it sits on: 6 of its 6 words (data, message, event, chat, headlines, feed) are already in \u0060export type MessageEventData = {\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/headless/shared/types.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d19b9df8febac1c4c8151677f5e9aae52607a99a6f24eb70c976e7a24835f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 27, 34, 58, 65, 115, 122), for example \u0022Create a paste event with clipboard data\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/tests/message-form.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cd4e3f7a81f3525a8e0cc1109b884e7c2aac6fa9a7c5c1aa9f15e54ceab8ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set image file for avatar upload\u0022 repeats the code it sits on: 4 of its 5 words (set, image, file, avatar) are already in \u0060const avatar_picker = modal.querySelector(\u0027converse-image-picker input[type=\u0022file\u0022]\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/plugins/muc-views/tests/muc.js"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25f3eb2cc5a3051eb1975128793fd98992dd51b966763a81884338d99d1b08f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Converse fetches both occupants\u0027 device lists.\u0022 repeats the code it sits on: 4 of its 5 words (converse, fetches, device, lists) are already in \u0060await u.waitUntil(() =\u003E mock.deviceListFetched(_converse, goodguy_jid, [goodguy_device]));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/omemo-views/tests/muc.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e548407247129a89ca99cf2d6f612ed4cb075128caabdd59acb56c53b2cc49"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wait until own devices are fetched\u0022 repeats the code it sits on: 4 of its 4 words (wait, until, devices, fetched) are already in \u0060let iq_stanza = await u.waitUntil(() =\u003E mock.deviceListFetched(_converse, _converse.bare_jid));\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/plugins/omemo-views/tests/omemo.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"634e2dfdae454de21d22e2828bcbc4587925f1be153fe38f2b3073941809cbac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Juliet reacts with \uD83D\uDC4D using her occupant_id\u0022 repeats the code it sits on: 4 of its 5 words (juliet, reacts, occupant, id) are already in \u0060await view.model.handleMessageStanza(\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/plugins/reactions-views/tests/reactions.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9740a31394df3ed229ce0865cb2c437a64a255dac1de21123c12542cc1b677"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Reaction arrives before the original MUC message\u0022 repeats the code it sits on: 4 of its 5 words (reaction, original, muc, message) are already in \u0060await view.model.handleMessageStanza(\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/plugins/reactions-views/tests/reactions.js"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2bbe94b4e829d5d54d7a6bf69e5d1c52d9461a72876a63b1760b3e16dffc56"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add Strophe Namespaces\u0022 repeats the code it sits on: 3 of its 3 words (add, strophe, namespaces) are already in \u0060Strophe.addNamespace(\u0027REGISTER\u0027, \u0027jabber:iq:register\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/plugins/register/index.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adfcc84ce7ca260097bf2edf97723ea77667f4d4140e485faa3be4a13edc411"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear the XMPP providers cache before each test\u0022 repeats the code it sits on: 4 of its 5 words (clear, xmpp, providers, cache) are already in \u0060u.rosterview.clearXMPPProvidersCache();\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/plugins/rosterview/tests/add-contact-modal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c97a638f286e6d498e5880241cc53b8bc452ac49aa46442cd0cf22ff3e98e0d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (38245 LoC, 345 module-visible types across 85 directories) overshoots its size bounds. 2 of 5 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 2.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060src/headless\u0060 (34230 LoC, 222 module-visible types across 30 directories) overshoots its size bounds. 2 of 5 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 2.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd51b5e50a071fddeb18dfc7872c891df739b09b47339a41e99e4972048be68b"}},{"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":"3e308e4a63d6cfa7ecec754afd8aee8759af812863ff4606da1ce5ce1f375a2b"},"properties":{"commitSha":"fba9bcfde681044d7b4d23b72643b37d8d4a942d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"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":"7f1ce1da0a26c985c73d9e63ae6ca2803fcff848b38e721a94373d306a6040ba"},"properties":{"commitSha":"7f4206e9b22c14adcef1445fcdd603b7973db75d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"b9517cc4ae56162be6ef5c2593f4757b2854c319ee602e4c89f34f65769f92a5"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"5d20f7026d96dff87c0a5ec8a5880d244c1ff97e25de946511a7f44e3751b656"},"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":"6eb9ec6eb0873e7c5910db593de349c977403c90fccba20efd0e390a7d28e7ce"},"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":"c71bc63859c427b5f68580967c02c400ab4e29e08e06757c03d03a3a6ea4ae32"},"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":"8f6ad7769f4b2b804f4ccbef2fe8bbd16d55f0e3345823dded242dff44150f85"},"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":"29b52813d437f1517227b445585db55709d6308d0c5c4c74395d5729b1b8f361"},"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":"7a79bb47dc7b1d10ac9500543b8a83641a81aebf72ac1898c8c9067c623a3f0c"},"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":"d5f26b815ab38208ba0be8ee813935eeba491adba1af94867e2a8e71e1763083"},"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":"ff481501c3745e98554cf985c70c4a33f11d615e4456e6664aebd24459223bf8"},"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":"29c92a3c6ee8501a0988d927bed389de26d9a89427e0abd56216c96c0d164dd0"},"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":"af5874fa38e84fa268f06b9cc1dcca5c392fbad4d441a34056dadfa9a1866709"},"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":"ba28f91d1f2699d85883e07c636b179ad20fb9135ddfe0701d672c86cd78ce3a"},"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":"33f99b35175b5068243b392e5516abe9636caa444fb0c9055763a5833392d781"},"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":"eb8d5394954bd23e632ba0ab752acade3d3f9b67e02ae1067be606a4d7e62107"},"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":"5a3f484ecd58311b569b81582727bb6a02a40019ecd400900ae61f16bb6904f1"},"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":"01392410caed6aeba70b91cc08fde96f8fa1007da311f5feafd94dda08d2d0d2"},"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":"ab1d9bc6d9c436a37b97477f35516768b0ceb419c7739710e0cc63dadeb791a5"},"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":"16a16ad94a1e9bf06209b1554eb94c385ce477ce1bbabdd1787516b70f703a54"},"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":"fc01a0712fb380320ec998e550884f478d1246d81d861f2eaf4d6337fdbf000f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a07ea385f3c33eb66d794cc1a532171603bb59f2427fc2089054115b28998296"},"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":"d4e050aa39e933ef59b07c491a4a9afc925c66058d3a8c05703890ec59737508"},"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":"f6e187db07909fad1bcc7e7f20807f9cc6bbcee8cfd34ec987a1ac12becee768"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d216af4ee9a0b50115dabe6b2c21688b9f0c4939c08cf87b7f3c51e76c2eb6e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97f62f89cde321eccd7a9ed6faf4fbc34299c440fc74f04cf64b94b745c30f2e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc2955d2f29ded592a2ef9166b62e53ea3d5e36c8031dcdf898623d6ebe6f6fd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3543e2a14067877433376cad6494d07efb1eee9629a79f612cda8dce48c9858"},"taxa":[{"id":"CWE-1164","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":"655a04c55e7db5d6f35bdc6cdcd5710da3d2886b97214fa38708dd33b4e532fc"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60d08ee3cb8f7b183bc2aa7ecbb33505b6d70b22df17aec1b892b8ce987f4fa3"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8db3c121ee2078c1e04383882d5af9f6f955d32139ac556aa1a8cdcfc067f66e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cbc271400c9b9ed7e3739df939d053a79365be9a96747f7129ca253e75b507c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c5cc01ce68a8dcd27790bb2fc031f7dccfd00cd682a94627459d28756350759"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e6a3acba5cf149a6d698760b7ff2dcf82a4f5373dd6d8f625ad65b34c45d17c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a3fbb18ef5b451f577011a8b90ec3a1d2bb3489c7a51f729df2f4bcd7b34028"},"taxa":[{"id":"CWE-457","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":"f158b4f93960f730fd4f6ffa896c58fbcc6d4e4641a49e6484f6afe101e6d545"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e47371dccffe38990acbfb8b55f8f0cd26a700ad99b30601a3c892a8a4d603bc"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d1395be8ddf13d9e75bd06d50a72df14479f437a20c29efd438403c48fa11c3"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"856bddccca05b8a958d8d99ff58dd3b08433721bdcd15f7b1e4aa62c0926bd81"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"535fdfc42409e3f5b924b303ccca7e6b3d0839e8ab36cba7ce57d9512b161f65"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fa6c2e48d5162f9cabebf72b5beaab4c7bd286c9b7a9b19b8d8f0c3c8c5c3fe"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26dbd206fb857c766515d247f4d387240946b314ea4926a30320a89329979029"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"300e0640b4488cfcaf5005586bedd9e1b596ead8427ba4deef691f9d77f19254"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"244d252abaa3a73f7703bf45c9bf0d7d53dec663649603ed30cb3d089d2f9f24"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"557c22eecd511872b340c4f753ec610b69340b64e2976a661ed174d1b370f7be"},"properties":{"dependency":{"package":"html-minifier","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 375 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; 375 of the 748 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/shared/chat/reply-preview.js. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/reply-preview.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1048a46cbfb69228b2bc62b5fdfd3474dd04e3305336daa0295d8fb8579e966"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.js \u2194 daemon.js: \u0060src/daemon/config.js\u0060 and \u0060src/daemon/daemon.js\u0060 change together 94% of the time (15 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00606fa0a708\u0060 feat(daemon): join password-protected rooms, and the rooms listed in \u2026; \u00606592c390\u0060 refactor(daemon): split the registry, keyring and group lookups out o\u2026; \u0060384e5203\u0060 fix(daemon): keep each account\u0027s state under its name \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54273c54c4603bcd8487be2bace348af67448114e344b11130fe1130bb663203"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chat.js \u2194 view.js: \u0060src/plugins/chatview/chat.js\u0060 and \u0060src/plugins/headlines-view/view.js\u0060 change together 77% of the time (17 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060686dd6ba\u0060 Stop setting \u0060_converse.windowState\u0060; \u0060927add07\u0060 Wrap \u0060requestUpdate\u0060 in an arrow function; \u0060858a6051\u0060 Refactoring of the headlines plugins \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb232c57c261f1438b24419eda8e08b8b861245fbfc45b67257c27fa6eeb3e46"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: view.js \u2194 muc.js: \u0060src/plugins/headlines-view/view.js\u0060 and \u0060src/plugins/muc-views/muc.js\u0060 change together 73% of the time (16 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060686dd6ba\u0060 Stop setting \u0060_converse.windowState\u0060; \u0060927add07\u0060 Wrap \u0060requestUpdate\u0060 in an arrow function; \u006048f37aa1\u0060 Call \u0060initialize\u0060 in CustomElement\u0027s \u0060connectedCallback\u0060 method \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/headlines-view/view.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3b6543419975998ceca60adfac37a491b35042acf4b55c580a36d78f42f8c2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: model.js \u2194 parsers.js: \u0060src/headless/plugins/chat/model.js\u0060 and \u0060src/headless/plugins/chat/parsers.js\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060f4dac965\u0060 Eagerly fetch headers so that we can cache the result.; \u006079f74d3b\u0060 Add error parsing to api.pubsub.config.get; \u00605ea996f0\u0060 Work on making emojis plugin self containing \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab7e8cf7ac7a38e1ec4326ec5c605922b4621fa31473d26e278309b2167d273"}},{"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":"984f735d51f466ddd7ee482ffbce5aea9ed00b6b47479a46b0ec151709fc968d"},"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":"4fc50f47bc5977d6571e15b6fb5974ce0c6d79e24149d8f6bb254276a6fd8d9e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/gif/component.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df46359369cc2e55b53b5bd260decf719396abea1fac361072601d3f55adfd"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/image.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc1abeabcb0236acfd96b7c3cda5747e98808afd071358ddcd9256ce238810"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/directives/image.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd062cd624649ca29c15f8dd2840464de3a74e4d89a42fa8dd62ff455cf7e8ae"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/templates/video.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a52756cc30426dd58a079daf97852335b7e7f14a601115ef6cb5668564c2df"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_captcha.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ec3de6e63aadd7172d0022a9ae2cc93686f1ea021a0a02972cdf0d96464e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b80d4b26e9f83078e1d6b3b80a957e3936b7de73ceb02b62a69ae19372565d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4ad659f7914125722e7ca6d2527331aa69af74a27cfac399bd291347a63fdf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb9398116955f20b302a5abf4b9370e9854e4773ea8dcf9da88615b71f5a551"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c28030dccf711f8a2681a2a2c312ce09c7581f15065247be39332f718d9f1d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cb23bd7f81235ca63fbbbbe76de3bf383d410b73f208c1e1d22c06f4a250f5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/browse.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a26c23e462c6327a4abfdecc20e1068359212b5214c8ecdb303b52bc7e5e1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/post.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a9e5290e45fc611711219cd97d0d7afb21bcc2c7d29a4e8d8db14049158c9e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc-command-form.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c594e91ef447fc6bdd1cd696d998f54c568c1a4a05c9e204678e0a3abea27cf"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc-command-form.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"33be015bf3d4745d6f00d271b9018f29f45fc0e3676662740ad21dfdd93bed78"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc-command-form.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d51bd64ca4b86787b7803c7f20bac5b6767c9f453aba351906990fa516b50e"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f163e215f3d67809e6bebdfa1d3e31f800703e806574c31990a86cc43e559"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f7f9a5788514e3574d944e1c5790d19f7672440c9fea70dbb57b7ad5db73c3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cfc0612f5abd3fef86d08170597ad8d6a62e03935579d643b3aa9094c327ec"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a2f76d24246edd0f89a23f11077c2eddfc463926afafd92a73fc822c51ca1a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/form.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f12cc73fb085d29f923611552047ee7473f4171797ad4dfd6520703d4451208"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/form.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf5f737e223e7300647e570a6c86a7526fbac220130663f3446bc0cd9cd946"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/form.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c5c7972a8058a99468f7593717dcb1448629866d0148d4852349dfe33e6771"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/form.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dc005b5504d0b8732b48dddb5248e1ea2541352c228ebd07b160df35bf52f6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/form.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d1800b18986a797816bf9d827fa6597d78ee04df5eab0832601a7b7285f7c7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/list.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b25a96d38410c9e838094453d66253111733d179c7a7df4909490d4c5ca1ab4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/templates/message-form.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897a01b4e899280fefe1d8dbd4750a10bd13ece393705a7a7e2db3dea89f1d6"}},{"ruleId":"AC2","level":"error","message":{"text":"Clickable \u003Ca\u003E with no accessible name: This \u003Ca\u003E has no href, so it exposes no link role \u2014 but it carries a click handler, which makes it a control. It has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/templates/buttons.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790701a414644c0504a2376f5f3d78b66d6270c6d50f84ee5c1190976f68502"}},{"ruleId":"AC2","level":"error","message":{"text":"Clickable \u003Ca\u003E with no accessible name: This \u003Ca\u003E has no href, so it exposes no link role \u2014 but it carries a click handler, which makes it a control. It has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/minimize/templates/trimmed_chat.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32c09982a3782f58c9fd8a118affbc4c5682e703c03b039ffd2e2ec2a677875"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-config.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aeb7bea9b31ce9a5bc7e7bd23ac45241dd65322ab3f6cc0836e637b3ee7937"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-invite.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbf0273654f78829c06b9c9a022255012fa03e5d08489a0314ad838aa89ba5"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-invite.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6877b756144dcaddb791bf88501bc89e9c63904ec462eb493b9a1a42993c6c9e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-invite.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae269cb5c0fd9c0b3f26561a1cecf605b86afaeece5bdfe23bd742859ba250ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-invite.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362a36719b0c7a7f95e68034c1eb62380469ecd3ba33c0d2cfadb078e4f8c57"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-invite.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94d8bc75971cf1e4155bc73712c51cd5f92ee94bf389271d68e1156f2a0a5e9"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6983a2dcb9d74cabac410c351482768b5f4d7f78c74ab2a6988208597dc094c"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab43b6a200492bf45303a9f9d906f97d152b7adaeb88134902c6fafa461d93f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/affiliation-form.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f6f24e3c0b1f9c0b545eafe0f921db448810bce5394f42a8aaa8b287f21ff6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/affiliation-form.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9206d611f1339327b475fea13083f8003989f2dfa77fd0a665febbfd77e9b052"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/affiliation-form.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f308e2b8c49849be5f5bcac20d79fbd09312c7bb07b1c91b0de0e0f6a6129b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/affiliation-form.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ce5087a578e2272702c56f5c5f2c22a86109fe250b944c0c75aec3a5e40631"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e89ca74b4143f68ea9264cc586fe1b31e17349adc6a21795ec53d9681a8da79"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"085bc37a480a9c6ef83157eb0a8ec4da16733a5ac6d3e22758efc62913ee16c9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24a0e1479e2045254668739556bc8538f991e67358520be0862bbdc1768f4b3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"336aeafe40445dadfe127e4af16221014fd1fecdfe46fba51884fe6a0a1b9bd5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2611e5f8289b5d2e090e08b66a5df13facaf1aa1ecada5c2e25d8b158650be"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9185d98341cefdb4b6c7dd5881b53f8f79fedc7d9203929a9d4352b5150c15"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-list.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb275236a93a7ffb99ad0488807b6ec9034f66663834041d00384156f8783c6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-nickname-form.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"973f264b86419133ea473ba31989a8cbe4c9e9458a9d1db650b2bf5b88e76dfb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-nickname-form.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bf39821bbce5b7deebd2c9467340749570d160a934bc935c676b27c27278aa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-nickname-form.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6d006841e054f39e188c6e2691099db90f97514adf1396ee0ee97857c38caa"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-nickname-form.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b67c5a308e96bf6c278ba38c77758c2c013f865841dc543202aa375d99a19"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupant.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c6c54e49fbe9146c3fd9b9757b6b830837f0e1c13517077d465f6fa83ab67a"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Ci\u003E: This \u003Ci\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec3f7f6aa1ccc79cc8175be4e317aaffcb5c17bee8191e436165eda773a1dd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-password-form.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a720b3ae764de6d7ac3b1b04a88d9e990d334328d8ac7e61affa0a3a8eb793d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-password-form.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"154d203986e317431c7f363ad806667812591b78187194ef22f0358127f4bb77"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-password-form.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea0975cf60cac75bd37d09b779c03b5ae5d4485209d94e74dd7b60291b9033"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-password-form.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7a5868391c8fbbdca97eed5e962560baa150c738d723d9ed7e91d582bb91ab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupants-filter.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a23e52fdaecd989d455926122521e047f09e5a7e96bf690b0fc1a22987dd8e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupants-filter.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a1fb539b18849a99673899b3b790652fb1f6e030928ae2cc82b19d08c0455"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/role-form.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd25209ff619b1ac1505ea17fb82f669209936bbcf0db15664317c19f49ff95f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/role-form.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbce1fa2628886732cd514e2b87f77d19ea1414f76fc97167521adaf5f6af71"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/role-form.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac899a7264a3366b618ee3d896523bf6dcd523671e7f487773ee883925e2039"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/role-form.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb94c969d88641c189d8ef861f34df62d1267303d61213095a1bea2683b6036"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/chat-status-form.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ebca565ec6f22a358edefe03f91827c06bc0196a122ea291e5e7d66e7409e9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afe6c03548e9526702c27efdd53b5260f693a7e2d70e6fbbbbd03b08bd0aae1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"59647580509a40a7d00e7a5d9f8596fd4b0999969ec0d62b2370e35aed0d100a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile_modal.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa45bf878511d421dec8c23d9dc53feb2b96f3a22569d8cdf0de558e5681b760"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/reactions-views/emoji-picker-dropdown.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d04268f9442c66ad2b9e89a79531f1b9d15caad3aebb0482aef8ab583400138"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9979ce4b724e4effb90d2078475eb8e35267c43ba7bc3e6df3d9482ba3c017b"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/registration_form.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d2b34dc3e5989f93fec79e2f9b1e2eff98a46961bb30e62610f9eae888450b"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rootview/templates/app-switcher.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"36af1849495d9cabc1fbed09dbc1070ffa718a8c2dacb33e66b9855619b14e53"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/accept-contact-request.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ed63922254916d34290077dd03d5a7b3e835861b224afed1627b2cb31dfccd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/add-contact.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d45e26de1c231ffafa356506ca71499228788c2fc8758d6db4e071ad6d7a7d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/blocklist.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4396be62f0d9a7e7761f92d78941f0bb8422f83c6448de2701fa1cbf2cdec3f9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/new-chat.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5d16334501fb9419d59d2afff5affca71d1ea7e43c261141e78ce67c09f695"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster_filter.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f97cbb35fa35b8a35730bcf0125988fd28aed56bae6dd6b0dd2350434e4c50"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster_filter.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a181fc050120fe3c8c05e0194b8a7ba63d09b7703b57825293fc5ff6936a6f6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/component.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ff016fdda17245f7ce003461cda959074f7522787fb3d193ad9a4415a35ff7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9313cfd43b08f021c3f4fd3a597ac595cc03b416c1f16d0dcc82f25b3a6e8da5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8748bfcb072ce6d30813cac38bf6dfe5042bc1b8a997b98349cd4baa507b6bca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"999e19792a4a989a97ce49e5b001b2dc8dbb23172bf1960b5ad80090a0bad712"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d4d23a158381d39fe8130c61024eb9ce1470498b92e594b631a74e372e40f3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"750bbe25034d05eed0ccde5f4fc9175e6f52763cd1428d6ecd48be5d236eeb2a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39a1a93bbff5ff4f02a8fc9e8d7469f633d9bd317c1dac5f352d61b59577ed3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4638a52014704f0096c23b8421c481d72ef027b5f98bf982eabf2e24a070720"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f35ef2d9ab0edc929a2f8e3ae984912f7fddc6b0057c087f618d48ebee146"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0812a4d58330a0a1ce4fa8ae88a90816cb09e742c69e890b281afc6e3ac0e2e5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2288fd3adf37b1042ee0267df59afb5ea0a3eea6468aa4631d6d48a0ff9fded6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb5a2a6f3859a2b3b3b3194ddc1446f56bf754b5ddb3a3c7c01df4e6613a09d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"84af6b86ed45102368b79e45cd248e2dc2045b4a4de7c4daadfe29db37024b7d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56bb337b6787a2e923ad0fc7c59f6f467e638bc98f7558c792949f774cc9511"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cimg\u003E: This \u003Cimg\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/directives/image.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1606b57448ab0d9317397b4335bb091959a23a89be6caf3acb107d95dcb5a0f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_captcha.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa58c78ccf281c3e7c603547a54ff8fdb92800f0deed494e686738818325836"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_captcha.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ab1d27c6a83224affa92342a6bcd930aadf6d36de5b207b74e1ceb965c7168"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_captcha.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67aefdfa5de827198cbc7cc39c92c9a042f550d11a3e7ab89bf393739064dd3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_checkbox.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea64b86e0752b4e94dcbbd5d2bdd82accd6123ae36e4f327ad8da1b10bdd7e08"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022conversejs-bg\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fullscreen.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"26210087cb7a92758254a82247748d7d88dac7936b5011527c24ddeb847c0010"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c4587b5831e9d9da4b05f6bb12d9a8a817ddcc0ff07809f91bca0b3a52697"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/templates/spotify.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7124b7ad557a4763bb3dfccd2e4d50517a684ffb1a2c03ba1ed8d4038eb33dfc"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/feed.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b585a003edca95377b5024958a9e33a5f32ef42c2ab6ba37a800abedd801ba8e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0976bf569d9dcba714e2fad31bb20b54469ebecdeecc3a29fc6e8f0d29fac698"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09bb67e84f31be1ca92f87ed6084ecaea47ef8db8a4f77df98b352574d1cb6d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e03c88efb933c4ddb58a92e0ac3509216c4db66802da63f5e214b907d58c2b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd2cac8940039232188e60ab8b54a0634ba3aec627b3a869c34efbcb830ff06"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/onboarding.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc3f1e802dd01a671b0ff88ae1786c1dec1a1901707a04528c7dd138cf99a3e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc-command.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bf54c1024e2a770e8a7159a5be1c3ee2e29552e1bb89b4b8522738ba117a8f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/templates/item.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a64785f12471ac9e3e2525a40a5cce6cfa74aa29db3db5815f4aa0d49fa7177"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/templates/bottom-panel.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9a97b77d00a39a8c75c95a6325080d7d3f4dfbc88b16f106407d8450c2520c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/templates/chat-head.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549cbe8ee15a78a6684780416d74e1d2e6457be4d5682aa01caa1844c4449db"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/templates/chat-head.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc759e2396f1c57d3a15b3cf8aa31c4d86c27f289457a596b210952077a27e4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/templates/buttons.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82b706a4687269eee1a05cba736e1495c44bc1a903d157377e62ace827411e6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/templates/buttons.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e220a8f29e508a072abf7db21ca78553a3b370d38a2b851aca204cccdb0dbd4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/disco-views/templates/disco-browser.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5443fa1e509540ac6e43bbe27624a325b94d503267206c72ce469a46037f6b8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/disco-views/templates/disco-browser.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02928c463bf2bda57fc9c7dd134b1e18ac77a7aa8a07c0534742f6a2389031"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/headlines-view/templates/feeds-list.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"47413a4db7fc93879e58c2ecdcf3937569772db5b12c5ccaf9b7c75bde990db4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/mam-views/templates/placeholder.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385c434bb14139f210e042b2fddeea815c4b280407479dee7653c0cf29ed8e6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/minimize/templates/trimmed_chat.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a897ea572d070802595a8be9dd9bf0f1cea1aa281f30f93dd547cdc1c52f09f5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/minimize/templates/trimmed_chat.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b8ba36a0d06f2faea80db1f40f6f740c63028a1a7d54d21332644b9f85d9f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c52c09a86277ab587772c0519278920bc9861bea2494c4c99235ea73e9b416"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82b98eb8a188091dae8b38549eba9d81c432b5cdeb8369365c640db24a1922"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/occupant.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"838aab0d7fb07baa16a6397fa832d9587939f6de0fb2c41849e3af234d301158"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05eb361386ce545320bf2e32b559759235da7e3c5add1434e91ac5b4ca899a7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c7a1ca9149e80b34b4decbcb51949b21ea2d4b28032756021d9ff5d23ca8da"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-bottom-panel.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"143a2a8bd3aa6e7fccf966ca09214fc18876ac0f5b5318b7d0b9bf9bf717fc61"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-destroyed.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f153a6565d19269f75953b4dcdf93abc5790d5812cb8982982e1fc92ce8d944f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-head.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"12945cab1be292eb65e28cd588bb5cff945401ad09b636a0da2bcd56c7659725"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-list.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d502283d916d5aeccc4e7617a44ab9d3b3d7e497b5dda495341da69a1c680f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-list.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad0bf8dfcafcc2c923223029e5d0d276f936e9ab74aed2659913c7ecb84ca9"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupant.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eb9db011a85ffccb4ed0c4186706052ca9d793121f7b381fdb000f3d62a8eb"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupant.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ed0ee26c3887f7fd020dd4973018589a75594ef4344c6b3418580cdc9566c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupant.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"565fb10d839925279b5538fa886a13c9cd5eae97a439f3d2a24f712708327a3e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupant.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a719bdd4774209beceb1d715d27ecc0db8c66a14756c6159ab2768c4c3e9346"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae048e85cd309b53477896a027c0ee4847002525d2711549ecc689810802eb7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f79c6ad65fd6730ec7c8fb9e3e54b57a456af8a1b1c8fdf4a6784bfa2055bd0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d08990cec5bef7b11fa69edc489c7df1dd17e7a91c228ed4612c5bbd514930"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ci\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f284cddb1969ce86345844725d1d80efc1fc5cf5837b89241eb24db7849992"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupant-bottom-panel.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75521115fbf466fd9f5d76eae561e2ff5bf7bab31d06b463b7d4dcccd5b46b4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupant.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e4b8792e27d8b88ad58cf99784af4eb8f69153b073c8b1eec7c1c7ad5be5e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"736fc1a9dfc4ead6313374b9017b498e0d703296e188f110c40bf63782f8a35f"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/templates/profile.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc0271db768416658a6e95e8ee8569828aaa070659da3f26da3ca63e61b0a72"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f23063f1165e3f8640c556fbabb1c2a23d443cae310c261339dac03bb6d3bc"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"168ebd84a5e8ef0d844ce1fb2c9ebf9a504cfd4dca1a4ddfab5c56826e4bea25"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/roomslist/templates/roomslist.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"13355860698eadd9db4c1a3fe8b38a548dde17ede68cebf4211ed8e77b727da0"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rootview/templates/app-switcher.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37dfb6d7cdf722e81bf8f43bf5875249425d31e7219ece616608520d34398fa"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cli\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/templates/blocklist.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b88ba96ebccbba386df78b31f7b2770b9b7609bec1ca46b1d848054fce7dba"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/group.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d80da66297556e7db0e2d163be3dab55663e9172766400c8b4708cf23e51340"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/requesting_contact.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d00861fd25e27dee45a24cdc066fd0711f5cd86f3f66ec5b05465286b2b21a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/requesting_contact.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d151ce5638316e97e49c37a6dedd1dfa5156ea7309a5736f80e91e4a4de4b601"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd7f119f9be8495f36b43cf5dc12b441661862a3206e46db7fb64b67b27443"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc196385ea99a097c86c75756ac1e72f6105d941d8683d8c5cf6ac4dc4d48bb"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa9c72a65ea730a10c8c86d6275990527ac5d69c4fa6b7a015a26a316b7b9a3"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60e4b7a53918b883efce23f70de26a7684d542b42b644bfc1ae6aaf743f1b36"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccd9e0fa717cb455f8d20109777f3ed2251c6ba199fc847b35530aa24de17ad"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster_item.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"af97de591df59201d2fd6989196ad4d74334a90c294295cd15a5239d08b6824e"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/unsaved_contact.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4450cbb64f03ae3ba237fad9fd57dd2735aa5eb47c6e40d625c71f8b3c4ac635"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/reply-context.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a84724ef876209e2ac3d0fede4242806a558995c65b7e1842b9f75386b019d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/reply-context.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a0423ecc26fb1ee012981a0a9df094422e0ed8b3b3511240faa525f9bdb56b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c92f476c1c1700c52135b9b38771c623e96e071710ecf0cd11c1903777e275"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06fc188943336b9425f04ccf9425830ab0c59ae9e9850a76a53b7cf10a7602d"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7270867445f025b9caa3d1a52c116c9e42bb242e10f2ab615557ae32b79f79"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26ed4d1b0ccfe64ef0a4c80680d81dd302f3df6b0430c4b1c5c063866857479"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/file-progress.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"168d632a39df12f38c58191e636878ff14ff847fa031002d9055183aea4f5817"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/info-message.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df4df4c4ad39101f9d48390564f3d905e2c5f60da06c73f10f7ba8343411c6a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message-text.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ae6ae352799b539d76f990317cfb5b5aca5ead133d7ea1a764c4df8466beb3"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/utils.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73d041d9be6cce4fe5d261193655f1b7c2236548df08bdbd8df099ac61764ce"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/components/image-picker.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df9b4e63f167b7b8bf5817f349b21e74e0edce60804d01ec21eac51840f8e41"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ccanvas\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/gif/component.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12b265b1888889d9eb54ecc05d6b61f2b947cf14d68fa89950ecce26960c25c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/roomslist/templates/room-item.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eec55396eaaf1c4fb10bd699c738b3e3e82f4cf6f7f1c6e4ec80caec2c9b56e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/directives/image.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a64d4bc542a58ca6437f407bf23c55d666ea335df99a19aea0344007cac99f6"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden on a focusable element: aria-hidden=\u0022true\u0022 hides the element from assistive tech but leaves it keyboard-focusable \u2014 a confusing dead stop. Remove aria-hidden or make the element non-focusable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-password-form.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7511169e48294ee9725e3fb5e944daa402cfcb60ca4ebed7a92d8a06a0ff87"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden on a focusable element: aria-hidden=\u0022true\u0022 hides the element from assistive tech but leaves it keyboard-focusable \u2014 a confusing dead stop. Remove aria-hidden or make the element non-focusable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/templates/form_input.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3572e671b328b823790d52bbf2a95b725f79cc959f8970f1216fa47acafe95bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060\u0026:hover\u0060 sets color: #fff on background-color: #4caf50 \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/styles/register.scss"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c2b1948d9fc072b6fc29f2e957dd60339b8abbfe3b2b8cbd646c4981e045b2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.navbar-brand:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/styles/website.scss"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ee646b884c72f46f661ddad6615f5ddcdfb5cd9362f5f89e0b40cca9a612b1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.navbar-custom .nav li.active\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/styles/website.scss"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5584e223d42bc0b14a87f246756255361857307f7691e486907b7fc9e599b626"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.navbar-toggle:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/styles/website.scss"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"197fae694406186202c6f930d1ad39d17d936bd4726c530842f2805c80574e7a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.conversejs converse-message-form .chat-rich .chat-rich__editable\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/styles/message-form.scss"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2c586a0ec99a1e2373a9c8a97764fb0b476f5f5d23626719da270948f19008"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.conversejs converse-social-compose-rich .social-rich__editable\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/styles/compose-rich.scss"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71fe733b1eba912363621144144c52bc6119f55786096ebaf62c66e16e48521"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060\u0026[data-converse-theme=\u0027cyberpunk\u0027] .moving-grid .container .moving-lines .horz\u0060 moves (\u0060animation: lines 15000ms linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/styles/themes/cyberpunk.scss"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5011ff3fbb2d1a2b68470f875ceb3947180eeea052dee1ce76881e9508d47aa1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060converse-registration-form .provider-row__chevron\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/styles/register.scss"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc77defdae3d0225c4f93a129cf68911c5c74020ac4b986588f8b9341b67fdb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.reaction-picker\u0060 moves (\u0060animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/reactions-views/reaction-picker.scss"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfac9a9a67bbe685dd3f944e38461b6a656932bda62405737961d28fa6e5c5c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.conversejs converse-social-feed converse-history-placeholder .social-feed__placeholder-line\u0060 moves (\u0060animation: social-placeholder-shimmer 1.4s ease infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/styles/social.scss"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00e2ce6f1a8d4e1795febb27edbb8b66b88a34d42ed06afbf814f009213074a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.conversejs converse-social-post .social-gallery__tile img\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/styles/social.scss"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"168e82a8901dd8a91d34235d96b76d407421ab9ac69b1086aadb055dbc5bb344"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessagesAware (58 required operations): \u0060MessagesAware\u0060 declares 58 required operations: \u0060initNotifications\u0060, \u0060initUI\u0060, \u0060getDisplayName\u0060, \u0060canPostMessages\u0060, \u0060createMessage\u0060, \u0060getMessagesCacheKey\u0060, \u0060getMessagesCollection\u0060, \u0060getNotificationsText\u0060, \u0060initMessages\u0060, \u0060fetchMessages\u0060, \u0060afterMessagesFetched\u0060, \u0060onMessage\u0060, \u0060getUpdatedMessageAttributes\u0060, \u0060updateMessage\u0060, \u0060getCorrectedMessage\u0060, \u0060handleCorrection\u0060, \u0060handleOriginalOfCorrection\u0060, \u0060queueMessage\u0060, \u0060getOutgoingMessageAttributes\u0060, \u0060getReferencedMessage\u0060, \u0060takeReplyAttributes\u0060, \u0060addReplyFallback\u0060, \u0060sendMessage\u0060, \u0060retractOwnMessage\u0060, \u0060sendFiles\u0060, \u0060setEditable\u0060, \u0060setChatState\u0060, \u0060onMessageAdded\u0060, \u0060onMessageUploadChanged\u0060, \u0060onMessageCorrecting\u0060, \u0060onScrolledChanged\u0060, \u0060pruneHistoryWhenScrolledDown\u0060, \u0060shouldShowErrorMessage\u0060, \u0060clearMessages\u0060, \u0060editEarlierMessage\u0060, \u0060editLaterMessage\u0060, \u0060isChatMessage\u0060, \u0060getOldestMessage\u0060, \u0060getMostRecentMessage\u0060, \u0060getMessageReferencedByError\u0060, and 18 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/types.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3bcea44e4517e21d6cf1c118e8cc7835072dd9cd4338b6d8d35df037953d9c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022:\u003C/label\u003E\n                        \u003Cinput\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/modals/templates/discover.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"867100093ca81be96d068168a08b4e78127a41fdcc79dcbaab5093cf2ef37900"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003E\n            \u003Cinput\n                typ\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/browse.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"804f30627b2c70907dd4fd4e67f901b840302717ab821f5a6fcdcce4df1230f6"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/5 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060src/cli\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/shared/texture/texture.js\u0060 reports through \u0060console.*\u0060 at line 419 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/texture.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0254f8917edb4dbf7cc7157eebcedbbc167bacd5e585f73984a73115309141"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/shared/texture/utils.js\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/utils.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7c930e072d960846d61cdff698e658d11174b9d49480935903e012347e014c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/shared/texture/directives/image.js\u0060 reports through \u0060console.*\u0060 at line 75 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/directives/image.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff03eb6379d441b9d73c38c3337e80319f3f9558e33956f6e49f21a27fed4526"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/shared/texture/directives/texture.js\u0060 reports through \u0060console.*\u0060 at line 22 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/directives/texture.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66c719157ed9e71b7186c26cee43cc45e1e939f21ab1b44624c05e42c0c35b7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/shared/texture/components/audio-player.js\u0060 reports through \u0060console.*\u0060 at line 203 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7ece9470293148b529b289dc10e4509e7246cdb065eaae530a598ff177acee"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/headless/utils/url.js\u0060 reports through \u0060console.*\u0060 at line 210 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"24de5d8752a1a26b498564e5cd80f66b1889a8dbeca1fb5cd4eae0f99f4898a7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060src/headless/plugins/time/api.js\u0060 reports through \u0060console.*\u0060 at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/time/api.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bc7350f9470664b06fb73a974a06fa4660749ce94f16f12d7d7740f3a16b2c"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/composer: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060composer\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82401d6de966177dce4c8aabceb2b0ee267948481fa86f4979cb5bae85ff838"}},{"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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060stopDaemon\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/client.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93262a6ad3bc8e2375da3d3a4f314b611a0b0889fddae5eaa2bf7b0ca843c1a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060spawnDaemon\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/client.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8ae17127924f7fe78c37e7a9eced03081c08fd8e60e004b4f68b8e188555b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060spawnDaemon\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/client.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"857cbf76686bb46a67714d785b6818038211797537d694d24a0da11f197c3f2e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060spawnDaemon\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/client.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d783bcd37d7e3d5c9d057d977c757b4e28406dbe8b2c6430933178930e347"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060getPassword\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/secrets.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d717a0cd8d2025b72e2a138ab938072f7ca80b7c054be221deecde200c11b8"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 733 typed \u00B7 321 plain JS \u2014 the untyped files are init.js, rspack/ignore-chunk-imports.js, rspack/rspack.build.js, rspack/rspack.common.js, rspack/rspack.headless.js, rspack/rspack.nodeps.js (\u002B315 more). tsconfig.json switches off noImplicitAny, strictNullChecks, noImplicitThis, so the typed files are only partly type-checked. 0 production file(s) opt out entirely with @ts-nocheck \u00B7 2 @ts-ignore suppression(s)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (51 clone groups): 51 duplicated blocks under src/ have copies in at least two of the sibling directories apps, headless, plugins, shared \u2014 23 of them are reported below, and 28 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 51 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 51 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 51 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/placeholder.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2b588bbab0fd83e7e9c977d6c22f49b416054df5e238be6c79f27b6d3aa876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (23 clone groups): 23 duplicated blocks under src/plugins/ have copies in at least two of the sibling directories bookmark-views, chatview, controlbox, headlines-view, jingle, minimize (\u002B5 more sibling(s) not listed) \u2014 13 of them are reported below, and 10 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 23 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 23 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 23 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupants-filter.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d659219d1c7973a681bad79af02dab1e720cc2c17cb4ad95067cc4f214e05d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 18 sibling directories (19 clone groups): 19 duplicated blocks under src/headless/plugins/ have copies in at least two of the sibling directories adhoc, blocklist, bookmarks, bosh, caps, chat (\u002B12 more sibling(s) not listed) \u2014 10 of them are reported below, and 9 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/api.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b97c626653f9f842aa4cba5637332623197435bab67dbcc6977b44d8846c300"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under src/shared/ have copies in at least two of the sibling directories chat, components, gif \u2014 1 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f96dd47fd3e75f6568a59c4a773a5098c6fe05c863149bf473f4e88ec97df96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): src/plugins/rosterview/modals/add-contact.js:16 \u00B7 src/plugins/rosterview/modals/new-chat.js:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 212 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/add-contact.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93fb1dd5cb6f56b07ce38e8f8e3d0ce350d02a11abd0e9cf6d5c349b3a75de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): src/headless/plugins/omemo/utils.js:951 \u00B7 src/headless/plugins/omemo/utils.js:1005 \u2014 the two spans are one implementation copied and then locally edited \u2014 108 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/utils.js"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9effaf08eef190c75255a6eb810a6a82b6228f07afdf7779ee7b7063e39df3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): src/shared/chat/emoji-picker.js:135 \u00B7 src/shared/components/dropdown.js:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 190 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c810f92ee8668397974cfc3ca70b7c29fba86f4bc93892a9a4b54ee81e06419"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/plugins/muc-views/affiliation-form.js:8 \u00B7 src/plugins/muc-views/role-form.js:8 \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/plugins/muc-views/affiliation-form.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d002f063a0f053fb5079432edcea9cce05254c75dcdbfe497415ee9ea3967493"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): src/shared/texture/components/audio-player.js:208 \u00B7 src/shared/texture/components/audio-player.js:266 \u2014 the two spans are one implementation copied and then locally edited \u2014 187 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b63e047728028bad255d4f2aa36e35d3e08f81fce18f5321b020e0a3de2f41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/apps/social/placeholder.js:5 \u00B7 src/plugins/mam-views/placeholder.js:7 \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/apps/social/placeholder.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96b2bbef445bfa3b6ea9c62564f23fdeda546e5283274d9d44e9c9125ba7d0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): src/headless/plugins/muc/parsers.js:89 \u00B7 src/headless/plugins/muc/parsers.js:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/parsers.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"093dc14f6c2d96013f4a8f5339d3915bdb18718ce7902262aafd210196a35ac5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/plugins/muc-views/templates/occupants-filter.js:34 \u00B7 src/plugins/rosterview/templates/roster_filter.js:47 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupants-filter.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edd13e4d436ad58e224a24097079d8ae5dde8dd168f9a083a6ecb8e18ab0f22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:1541 \u00B7 src/headless/plugins/muc/muc.js:1564 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/muc/muc.js"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d069c0fc2e0bc7cc6c1270d866f3ef543a8e0eb9b194b42d46db2f046808a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:2489 \u00B7 src/headless/plugins/muc/occupant.js:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 169 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d96d937c6758c17e30698e9e568a704025ea711bfe20d56aac1a64d47ad949c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/plugins/rosterview/modals/accept-contact-request.js:12 \u00B7 src/plugins/rosterview/modals/add-contact.js:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/accept-contact-request.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85060b8982b38d4bebe5a19da39ba7f83c155c0453544e9cb10896161a69dea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/headless/plugins/chat/api.js:137 \u00B7 src/headless/plugins/headlines/api.js:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/api.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2e8353c2923a31fa11c1fd243c864ed99502df7b2228e606d8b1acc570437d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:720 \u00B7 src/headless/plugins/muc/muc.js:745 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/muc/muc.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6de5413adcb77320e39ce6bb6c66bb36f13db36544bc13ea20b179fd1e2f96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): src/headless/plugins/chat/api.js:137 \u00B7 src/headless/plugins/headlines/api.js:36 \u00B7 src/headless/plugins/muc/api.js:162 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/api.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"05857d0906ab840c4e5e156a51ebe87bd71c26abb0ae16ba94a6de60ab0f8c18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/apps/social/compose-rich.js:191 \u00B7 src/plugins/chatview/message-form.js:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 127 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/compose-rich.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5606813bff398b59fa3c111f1699a900ef9882c531053187dd86eeddc25c383d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/headless/plugins/vcard/utils.js:105 \u00B7 src/headless/plugins/vcard/utils.js:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/vcard/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea21ab1638189048cca05ba1ea7a2475a842a9a9435bb12f2d727c487c6b68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/plugins/muc-views/chatarea.js:7 \u00B7 src/plugins/muc-views/password-form.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/chatarea.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e27010adea1fd927b91af7067f61d34f6b2d210b3db526b14941c25760508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/plugins/muc-views/destroyed.js:5 \u00B7 src/plugins/muc-views/disconnected.js:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/destroyed.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3a50d6a374da269220ee96eff7339da79bf2db23adaf0b5109d3bbd488db09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/plugins/muc-views/modals/occupant.js:57 \u00B7 src/plugins/muc-views/occupant.js:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/occupant.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab822a7d5c761ed91e13d36c5d752be3f9394ddc4e15a9f8489d6a532c33f38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/headless/plugins/pubsub/api.js:312 \u00B7 src/headless/plugins/pubsub/api.js:338 \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/headless/plugins/pubsub/api.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"94359d19e9221b80c9d59c6867f48cd017e4a0d6444514169fa83ccd6fef3efe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/headless/utils/url.js:166 \u00B7 src/shared/texture/utils.js:227 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea98bf2706db0ecb15a36b03fad6bb2c54fe46c0a6c399a602848d8104efa20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/plugins/bookmark-views/components/bookmark-form.js:5 \u00B7 src/plugins/muc-views/nickname-form.js:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/components/bookmark-form.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"17356502af8a978026493675115c6c802750e9fca61f62653f197e1cd4563306"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/plugins/chatview/heading.js:9 \u00B7 src/plugins/muc-views/sidebar.js:11 \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/plugins/chatview/heading.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbef52b435b420e07cdfdad78eb94c22446582225ca44ad7e889635698e2c653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/plugins/dragresize/utils.js:50 \u00B7 src/plugins/dragresize/utils.js:78 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/plugins/dragresize/utils.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59915dd775e7afc93e19f907e4409661b08bb09cbd9bc726709a60a5624d2d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/plugins/muc-views/heading.js:20 \u00B7 src/shared/chat/message-actions.js:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 158 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/heading.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b3ba1ef16c7025bdca05539fbff637227560ca3512c7872e9c841fddca8c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/plugins/muc-views/templates/muc-occupants.js:41 \u00B7 src/plugins/rosterview/templates/roster.js:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"859a8b02209fd600a7d30b4aa27fe0eb37df7d714eb40f91d4d2d48c4a7b6ed2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/plugins/rosterview/templates/requesting_contact.js:38 \u00B7 src/plugins/rosterview/templates/unsaved_contact.js:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/requesting_contact.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"990a8f14bece77cd18b155a69626bf87ba7f4680dd84b715a002a3e971d12a88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/shared/animation/player.js:227 \u00B7 src/shared/animation/player.js:260 \u2014 the two spans are one implementation copied and then locally edited \u2014 207 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/animation/player.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b76b31ab85583c721d16faa41f564a93f090deba327d8b53acb22c68ada3968"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/plugins/minimize/utils.js:121 \u00B7 src/plugins/minimize/utils.js:136 \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/plugins/minimize/utils.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec0a0cbdc677a02da1a4b9af4314e12a74383c69869abf7af7a82ed11ea1c3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/plugins/muc-views/templates/moderator-tools.js:184 \u00B7 src/plugins/muc-views/templates/moderator-tools.js:272 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"273715a888fee7f397f3adefac958f1617893fdd682865d7f4bd4ba477f727cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/plugins/modal/toast.js:11 \u00B7 src/shared/components/icons.js: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/plugins/modal/toast.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5949fd4d667732282aa2cd689ddd0157d7323bdb81845ba457403f7cb7fc23e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/shared/autocomplete/utils.js:20 \u00B7 src/shared/autocomplete/utils.js:38 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/autocomplete/utils.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ded670236a03a17777df0f4062cc83fdbef1bb2759fef0e594025ca5fc58db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/utils/html.js:263 \u00B7 src/utils/html.js:315 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/html.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e7203466ff7e9fbf9454b0cb74f65664eb1981dfa6f85961d97671491affdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/apps/social/feed.js:68 \u00B7 src/apps/social/profile.js:198 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/feed.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"295adbde18cc4681ac9acf9722806431179be12dba2ab39301404a5446932bad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/apps/social/message.js:74 \u00B7 src/apps/social/message.js:121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/message.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee271dbfb2820a3ec6cbc68efcc6acb39a1ac652e337cf00bc3d2c435cd6a877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/headless/plugins/blocklist/collection.js:58 \u00B7 src/headless/plugins/bookmarks/collection.js:142 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/blocklist/collection.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff3004ae9cb063351c27cbf2afc2dd8af01039b866f67128cbd9a226a398828"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/headless/plugins/omemo/parsers.js:217 \u00B7 src/headless/plugins/omemo/parsers.js:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/parsers.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc85daf58551b3aaa8d1da06dda7969db93661852896f5cb3d94defae949b9ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/plugins/controlbox/controlbox.js:25 \u00B7 src/shared/chat/baseview.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/controlbox.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bcd08b8b09f433925466bd1f74ca28eacdd4cb546fc39923e11bf909c37107"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/plugins/muc-views/modals/config.js:63 \u00B7 src/plugins/profile/modals/profile.js:141 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/config.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fcec57d6d32ed84edd845fa354af7ccd56b9024c01072c964314d236e79487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/plugins/notifications/utils.js:285 \u00B7 src/plugins/notifications/utils.js:371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0373f19524cca1a072e54ba9eecfb4c1e9519ef49749225769b405f60f1f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/shared/chat/message-actions.js:13 \u00B7 src/shared/chat/reply-preview.js:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/message-actions.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"869946acc7dca03c058df50862755990f90590bd53d1c584ff583d4fc91879b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/apps/social/message.js:130 \u00B7 src/shared/chat/message-body.js:33 \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/apps/social/message.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d476b8f6190b7c38c7613bae3fb2655e9bcf63e30d6aa33d8877c903e19458a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/cli/format.js:91 \u00B7 src/cli/format.js:140 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/format.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"974c7ff24cbe43db5936c679920eea34458bdd713259d275daa412cbb85e9368"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:538 \u00B7 src/headless/shared/model-with-messages.js:1182 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f539983ce181782ccb82530c1b748b6afddacb3c6ea3f09fb0c1ca8ffa3a9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:1665 \u00B7 src/headless/plugins/muc/muc.js:1682 \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/headless/plugins/muc/muc.js"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a73ddd584875f3b6bf2611587e36163af471801a1b9a29afd327474ae4b537"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/headless/plugins/muc/utils.js:68 \u00B7 src/plugins/rosterview/utils.js:286 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/utils.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e2ce04e8b1610faf9ab84b4d0bdcf9d725dc930bc8b46058e535d24dbc0a36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/headless/plugins/omemo/store.js:158 \u00B7 src/headless/plugins/omemo/store.js:176 \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/headless/plugins/omemo/store.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ecc49e75ddbc026288195856b9bcabc21b15f176821c4225701088be2a7df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/plugins/jingle/call.js:12 \u00B7 src/shared/chat/reply-preview.js:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/jingle/call.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd19abb0925b92fd89b00e25a2263ecc434b4238e6c172a8b21c1f385baeb1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/plugins/muc-views/templates/occupant.js:156 \u00B7 src/plugins/profile/templates/profile.js:15 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupant.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aacd8bed73c7d361243681e80e1ca895c08ba42ca84bbda817e4fdf2ac9452f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/headless/plugins/emoji/plugin.js:65 \u00B7 src/headless/plugins/microblog/plugin.js:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/plugin.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"023ad21b0f48afe1a308af6b8457b57912145018cf4c35050c968f7fec88b1e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/headless/plugins/microblog/feeds.js:23 \u00B7 src/headless/plugins/microblog/following.js:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/feeds.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7c953cde087e8f11ecca9ad52d89979001ac4adae324f1654fec1002fec73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/headless/plugins/omemo/utils.js:166 \u00B7 src/headless/plugins/omemo/utils.js:179 \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/headless/plugins/omemo/utils.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec26027364f9aeb1fa010fa47ca5c53965835fe5c294bff67645f71f61c1e28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/headless/shared/model-with-messages.js:879 \u00B7 src/headless/shared/model-with-messages.js:903 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"3306c6c57352fcdfbb472392aef178c91775536585cf395c86805f154f9df5a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/plugins/muc-views/affiliation-form.js:14 \u00B7 src/plugins/muc-views/modtools.js:23 \u00B7 src/plugins/muc-views/role-form.js:14 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/affiliation-form.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd5a29f11c3b99025469ffa4c757baa1067de41061128327b643f54388078cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/plugins/muc-views/bottom-panel.js:11 \u00B7 src/shared/chat/message-actions.js:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/bottom-panel.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead9b43fc928da1361001859c6619db94c491e4f211e6b8a63eb8b28d18b3b2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/plugins/muc-views/heading.js:126 \u00B7 src/plugins/muc-views/heading.js:182 \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/plugins/muc-views/heading.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bd59aef0cd30f615470466d5ed3b2cf165eaceb2d0795d8f5fa02519546f45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/plugins/rosterview/templates/approval-alert.js:7 \u00B7 src/plugins/rosterview/templates/unsaved-alert.js:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/approval-alert.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"238807bc2e2ad797a9f01b7b470d2909c87ea97e754028f362ce0239a3b365c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/plugins/rosterview/templates/roster_item.js:94 \u00B7 src/plugins/rosterview/templates/unsaved_contact.js:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster_item.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4705465a9f2917f051610832f5fca63025f4dcc06d823341195257ddf9e857bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/shared/components/split-resize.js:385 \u00B7 src/shared/components/split-resize.js:441 \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/shared/components/split-resize.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5434081cd63376df9a9c1a7fd0948b1c60f7a5abafa13cab0cd3ac8160aefa11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/shared/modals/user-details.js:105 \u00B7 src/shared/modals/user-details.js:123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/shared/modals/user-details.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c8188bfdd9febf9b7eb2a2c195f47bc31f98a515632413e7c60bd1be3f1d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/shared/qrcode/utils.js:243 \u00B7 src/shared/qrcode/utils.js:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/shared/qrcode/utils.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a7c216fb877a819531ec674842eb7b7980fd45db12408b9bd967e32957855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/cli/commands/omemo.js:20 \u00B7 src/cli/commands/rooms.js:41 \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/cli/commands/omemo.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cc5529b9f9b9df0d588b186c1d837ba4778c04c7f3fc386aa75c6e36e1d5d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/daemon/config.js:82 \u00B7 src/daemon/registry.js:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"709837e745ec5b12430aa03b243582ec37fc5e2ad46f0051869a0c6d52f1e4ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/headless/plugins/blocklist/utils.js:10 \u00B7 src/headless/plugins/blocklist/utils.js:25 \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/headless/plugins/blocklist/utils.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d857f3ba769d6312c89cabb6d1dd43ad41b3d28ed8cb4bb5965b26eba7c530f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/headless/plugins/chat/model.js:81 \u00B7 src/headless/plugins/muc/occupant.js:73 \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/headless/plugins/chat/model.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cb13ce5d1bc6cd8af3a82a0c5acb2f437056840749ea6c9b75f3bf768c8cc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/headless/plugins/chat/model.js:261 \u00B7 src/headless/plugins/muc/muc.js:1199 \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/headless/plugins/chat/model.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d5d053d68c1324ae0e94b332fb264e6a1cbe1dfb6994368e3c9064633bc6c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/plugins/chat/model.js:222 \u00B7 src/headless/shared/model-with-messages.js:1263 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"29628bd8327b8057cec4a9b6728874903c64db9920d82fa58c3e906193af75fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/plugins/emoji/utils.js:287 \u00B7 src/shared/chat/utils.js:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/utils.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"434a4b1fbd86632154c75f659e0bd3bb099b134307dbae6eb4c738acdb1d16c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/plugins/jingle/sdp.js:280 \u00B7 src/headless/plugins/jingle/sdp.js:327 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/sdp.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f51e7144aa442f6fda49e09945c4fa3415c7ff40177d6abf685044d4e2977f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/plugins/microblog/comment-feed.js:179 \u00B7 src/headless/plugins/microblog/feed.js:524 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/comment-feed.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74998dd51c7aab4143552287a3022aa672711fde541b448126a6b062b59f9ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/plugins/microblog/feed.js:471 \u00B7 src/headless/plugins/microblog/feed.js:509 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/feed.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e2cf5c77283b6bed6ed1a6bc5bb08e52af2fd27852929e835c67c10d970752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/headless/shared/connection/index.js:168 \u00B7 src/plugins/omemo-views/utils.js:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/connection/index.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e59a3c659fba9c6119a8eb3afc8705980ce43ce7f56907035e4146934251bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/plugins/chatview/heading.js:141 \u00B7 src/plugins/muc-views/heading.js:207 \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/plugins/chatview/heading.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09468a7c676d09bf2833a4c4b17643713449b8bc9c97ef45ffefd1a7bbec6cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/plugins/controlbox/toggle.js:6 \u00B7 src/plugins/muc-views/password-form.js:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/toggle.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ae67a2260abe330a6045fc57505cc62d5fd74721226a3b1e85792674004ed4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/plugins/muc-views/chatarea.js:25 \u00B7 src/plugins/muc-views/heading.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/chatarea.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d214ab8343b93f5b72343874eaea2b9924f52874455b773c63c987b20046539"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/plugins/muc-views/heading.js:18 \u00B7 src/plugins/rosterview/rosterview.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/heading.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b085e1a47e6d3053246033c14ff925d5fc2720d93f8551c4292da5a8131aebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/plugins/muc-views/occupants.js:45 \u00B7 src/plugins/muc-views/sidebar.js:27 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/occupants.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7c9c0d46bcf00fc6d91ef1497513c06637087b629db216fe1f31574d49ec6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/plugins/reactions-views/emoji-picker-dropdown.js:85 \u00B7 src/shared/components/dropdownbase.js:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/reactions-views/emoji-picker-dropdown.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"940e8fc2ea79508f0b8a718e198c14e16a2cc2afe165f60fc43fb56e9004192f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/plugins/rootview/background.js:15 \u00B7 src/plugins/rootview/root.js:21 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rootview/background.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea27f721a6bb059a59ad8977d398abc77f444e6cadb2261d6dcab0145cc579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/apps/chat/index.js:32 \u00B7 src/apps/social/index.js:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/chat/index.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e13a7e63d49d26aea2256f9850f773df0fa1ffe0faabf26caee07e0e1e36007"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/apps/social/message.js:57 \u00B7 src/plugins/profile/statusview.js:10 \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/apps/social/message.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efd666620707b4aa78112bf7020b5d7f38cbe918c6c1526372f0000be5f421b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/cli/commands/reading.js:36 \u00B7 src/cli/commands/reading.js:64 \u00B7 src/cli/commands/schedules.js:18 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/commands/reading.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15745e4c057dd4827c911c80c640e31e9407affc576fb29bafb62e6b28a53b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/daemon/resolve.js:25 \u00B7 src/daemon/resolve.js:61 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/daemon/resolve.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"986716322153bad8f92541702841445a8907c90f71e82c72472ac46e23d57a12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/headless/plugins/bookmarks/collection.js:228 \u00B7 src/headless/plugins/bookmarks/collection.js:293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/bookmarks/collection.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0e5f348d7e856e15092b74234847080105a6e5933b4b8d47e1b86038797e1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/headless/plugins/bookmarks/plugin.js:128 \u00B7 src/headless/plugins/microblog/plugin.js:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/bookmarks/plugin.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8edd0fc93089dd6ee98d311d91ce3d180da67882d2f8a36bc60192a5cf027b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/headless/plugins/omemo/devicelist.js:177 \u00B7 src/headless/plugins/omemo/utils.js:56 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/devicelist.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc2e627c3c4c183898b614a2a2c0b87af811567d82c0f6b8baa6bd627e97779"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/plugins/muc-views/modals/occupant.js:42 \u00B7 src/plugins/muc-views/occupant.js:56 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/occupant.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9bb0279aa5852d20f73ed176f49cdbf832c5c05f912445e3bb8e336752161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/plugins/roomslist/view.js:147 \u00B7 src/plugins/roomslist/view.js:157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/roomslist/view.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e651f808212fa9bc46e91ff288adb07ba0ade0e058f1c112ca05ccb7e46c1967"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/shared/chat/message-actions.js:26 \u00B7 src/shared/chat/message-body.js:23 \u00B7 src/shared/chat/unfurl.js:24 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/message-actions.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14691f733132aa0def64b3edd19b3274edd00c16159da2bc87194a034283f01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/apps/social/emoji-dropdown.js:88 \u00B7 src/plugins/reactions-views/emoji-picker-dropdown.js:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/emoji-dropdown.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e10d35072f64a3b097ab2cfa7b0f435b1ffe3178358767f439c2980540372d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/apps/social/templates/message.js:226 \u00B7 src/apps/social/templates/message.js:266 \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/apps/social/templates/message.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2f87291ce085b16467dd7f742f5df08ce9d9499f1c125fad13081d320a1185"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/headless/plugins/blocklist/api.js:17 \u00B7 src/headless/plugins/blocklist/api.js:31 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/blocklist/api.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b71d1a3b0fc50a71fed8e1ade68bbb81b181b08641f3fb4c0c0dc5828f0a71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/headless/plugins/chat/parsers.js:53 \u00B7 src/headless/plugins/chat/parsers.js:67 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/parsers.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d748f85fc2ba4e5ef1e202f30edb96e86913b086099df35dab02ab702a4a40e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/headless/plugins/chat/utils.js:169 \u00B7 src/headless/plugins/ping/api.js:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/utils.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd75a7acddde3bd5148fbaf3a371b50f9515a267916d5a6c1c8e167120a30e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/headless/plugins/disco/api.js:463 \u00B7 src/headless/plugins/disco/api.js:481 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/disco/api.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"68af1306b8bad9a4fc07737a9d1bccee00b6a1a795d9889e835eca2859b4561b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/headless/plugins/mam/utils.js:56 \u00B7 src/headless/plugins/mam/utils.js:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b624e38728ac9644bde28c9e622f470198b10a99af6d72da9016822c15c2003c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/headless/plugins/muc/muc.js:675 \u00B7 src/headless/plugins/muc/occupant.js:82 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"77273a7895eeac69f53cec97aa2bce4b0beaa521b7451dbcc8e852d7cca89408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/plugins/bookmark-views/utils.js:41 \u00B7 src/plugins/roomslist/view.js:125 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/utils.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"368d4fb3624ae783b438a2cacb5fb184a78f5fdc1f150d36a05fb60ff1e771f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/plugins/chatview/heading.js:51 \u00B7 src/plugins/rosterview/contactview.js:114 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/heading.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d1e3628b3428c4f01d664f2cb31a7e34bb3089a6237057304b36f3eabfc5aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/plugins/muc-views/utils.js:270 \u00B7 src/plugins/muc-views/utils.js:318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/utils.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e10172f1b752de63b437ba8858e1cda884f13cf1b5301db2b93633408aac9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/shared/qrcode/generator.js:318 \u00B7 src/shared/qrcode/generator.js:325 \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/shared/qrcode/generator.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"faef7005d976d392708f57995357565dad635b1080699307adf8c9193b4606cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/cli/commands/drafts.js:83 \u00B7 src/cli/commands/schedules.js:38 \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/cli/commands/drafts.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb775b40a9f65334476976b8ddf9997e9299c68f746a2173e55dab3a285b6f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/headless/plugins/bookmarks/collection.js:301 \u00B7 src/headless/plugins/bookmarks/collection.js:326 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/plugins/bookmarks/collection.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0aee14f68948894bfc2308357a89ff56b50e93e95825f853ffae11bfc2a2f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/headless/plugins/bosh/utils.js:46 \u00B7 src/headless/utils/init.js:310 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/bosh/utils.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6747024359f8caeb13316f0be1eb3a47162c34f28628796bdd6a597196bf9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/headless/plugins/chat/model.js:67 \u00B7 src/headless/plugins/roster/contact.js:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f780246526367cd866ed7eb196eab30ed2fb01b514510fc86d7a3da047e0fdad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/headless/plugins/disco/entity.js:38 \u00B7 src/headless/plugins/disco/entity.js:52 \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/headless/plugins/disco/entity.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec59f02ae31ff16beb8a795b09bc04e147d725602130c908f96356e178feb87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/headless/plugins/emoji/utils.js:290 \u00B7 src/shared/texture/texture.js:398 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/utils.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a12a3dc42606d16d43f919ce0e6f136272e6e073af31a1f91f6d4c4f62d3783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/headless/plugins/muc/muc.js:2324 \u00B7 src/headless/plugins/muc/muc.js:2330 \u00B7 src/headless/plugins/muc/muc.js:2358 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b629134f40879692ddc6f1a22615dcc3530e3ecfd0b2ed394394740177f31f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/headless/shared/model-with-messages.js:369 \u00B7 src/shared/chat/reply-preview.js:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc5473e3f1ebf064620c73803821e3cc9977d34aca2b414f0d9270ba761ce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/headless/shared/parsers.js:174 \u00B7 src/headless/shared/parsers.js:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/headless/shared/parsers.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eb201db181004b0f1a9fed95a448e958b4f812ee319befa781ac20667a6058"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/adhoc-views/adhoc-commands.js:154 \u00B7 src/plugins/adhoc-views/adhoc-commands.js:226 \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/plugins/adhoc-views/adhoc-commands.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd9bcdc4e8287e06c45ee96b45ed18783739beb600335b47c7958482d9f0a93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/chatview/chat.js:17 \u00B7 src/plugins/headlines-view/view.js:7 \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/plugins/chatview/chat.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ae2f93ab4e4cdc2a6b9b61ab9b5a93e6e80b41ea2f8f0cea8762a7f1e373fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/chatview/message-form.js:382 \u00B7 src/plugins/chatview/message-form.js:391 \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/plugins/chatview/message-form.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bc6b02c1f0cacb2f6f1508b7933fbb77a0303eae142caca2682db9c49109c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/plugins/controlbox/controlbox.js:51 \u00B7 src/plugins/jingle/call.js:26 \u00B7 src/plugins/muc-views/sidebar-occupant.js:28 \u00B7 src/plugins/rosterview/contactview.js:32 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/controlbox.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec6401925c3e28a90ecfa6a0cc97a97463f4a9f319690beaf7f0de2bcebebe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/profile/utils.js:152 \u00B7 src/plugins/profile/utils.js:173 \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/plugins/profile/utils.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8ce277c0c2663862879dd46515c9fa66dbdced05492147f8dedb160dc13ed3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/plugins/reactions-views/emoji-picker-dropdown.js:117 \u00B7 src/shared/chat/emoji-dropdown.js:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/reactions-views/emoji-picker-dropdown.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff46c6700b9af557fb2f48b76a3a56de45fbf13ab3f6e064488660dd7ea563f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/rosterview/utils.js:76 \u00B7 src/plugins/rosterview/utils.js:99 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d5438c9ace15dd133bf57fcf7b661053b4bc272d3479a86e865c3f71d03906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/shared/autocomplete/autocomplete.js:93 \u00B7 src/shared/autocomplete/autocomplete.js:176 \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/shared/autocomplete/autocomplete.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ede356fec244aff8031ae6b3f90245eb75eee25fd63e195a9961a58d391d572"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/shared/chat/message-body.js:33 \u00B7 src/shared/chat/message.js:144 \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/shared/chat/message-body.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aad09a8880b3b66a9ef4618db22b01a1df01bd446af27c3b5dee6d8017ade7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/shared/components/split-resize.js:374 \u00B7 src/shared/components/split-resize.js:434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/components/split-resize.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a710b227f09d7f77b7c5b7735480c60f7b113ffc2bb3578c764b5043e36338e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/shared/rich-composer/editor.js:176 \u00B7 src/shared/rich-composer/editor.js:193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/shared/rich-composer/editor.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5784b57932c163072332e01aec8a28b1daa333abce7d3305d85282b62d889d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/apps/social/texture.js:25 \u00B7 src/apps/social/texture.js:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/texture.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b101fdb05d193feea4bbb7a04c3d99385d20c38dde764b8fa10319dbe471e396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/cli/commands/daemon.js:23 \u00B7 src/cli/commands/daemon.js:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/cli/commands/daemon.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d72218f4975b23f070e742b75dc9c2e77f4c985f412280f2d96997f567e1245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/headless/plugins/blocklist/plugin.js:39 \u00B7 src/shared/modals/templates/user-details.js:151 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/blocklist/plugin.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f050703bc5476ddc99d442af5edd7083436b356167e1b1f7f18fb1c0149a6b1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/headless/plugins/chatboxes/index.js:25 \u00B7 src/headless/plugins/vcard/plugin.js:51 \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/headless/plugins/chatboxes/index.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2070131766a5e8e888138f1a0a1778571e33e1386606ebb74df3e5343165938"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/headless/plugins/microblog/comment-feeds.js:55 \u00B7 src/headless/plugins/microblog/comment-feeds.js:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/comment-feeds.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce18972fff8c5aa98a605458c8b73782704ad8336e4e4da5cecd50bcbb2754c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/log/test.js:98 \u00B7 src/log/test.js:110 \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/log/test.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6468195bcf8f2088112e3a6e3d298853c1353b45c8e323a94c90290af918f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/plugins/chatview/heading.js:83 \u00B7 src/shared/modals/templates/user-details.js:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/heading.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb83ad5d4459da150dcaf401347fc4d4cc970c93f37c9ae8070d6824e36269f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/plugins/controlbox/loginform.js:12 \u00B7 src/shared/chat/message-actions.js:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/controlbox/loginform.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe83aab7e7cff661a07abd6421df80368bcf9b18cc54b6ee71c74e22d430ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/plugins/muc-views/templates/muc-occupants.js:18 \u00B7 src/plugins/rosterview/utils.js:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-occupants.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"043001aa4702606ad53cafcb936a99eef34886848237c3a2f18f8a33569db87c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/plugins/rosterview/modals/accept-contact-request.js:39 \u00B7 src/shared/modals/user-details.js:97 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/modals/accept-contact-request.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7453a665a676571cd794655239c438caafeab8ff8b4fe239a478a32bc8e2fe42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/shared/chat/templates/emoji-picker.js:13 \u00B7 src/shared/chat/templates/emoji-picker.js:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/emoji-picker.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefe91ba2f102ad8ca4c6eed11e8c221bde2b12c74608dea186393fe8cbd1a92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/shared/qrcode/polynomial.js:40 \u00B7 src/shared/qrcode/polynomial.js:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/polynomial.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7fdf987afd87a3ac5d095c7ad9bfbea748d8e75564d0a8efd50313a8bab8b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/shared/texture/components/audio-player.js:95 \u00B7 src/shared/texture/components/audio-player.js:102 \u00B7 src/shared/texture/components/audio-player.js:112 \u00B7 src/shared/texture/components/audio-player.js:117 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae04210dbc4e0247a4a50b711d7db79c95b043f40c47be5570c161e4e70517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/utils/form.js:43 \u00B7 src/utils/html.js:48 \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/utils/form.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbbd242bf5b4d7570e13928970e95935420764417b1a5090005bb993484ebc1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: src/cli/tests/failed-sends.js:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../daemon/config.js) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/tests/failed-sends.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bda015e94a8b7a7c9606519497a4aaeaa93733a9d8c46a4635a1070afb122b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/headless/shared/_converse.js:11 imports pluggable.js/src/pluggable.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/_converse.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faefea28f014095991a1599b863c2e20a8e2914b1f457c3703c37cda1b62a20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleJingleMessage (cyclomatic 57, cognitive 74): handleJingleMessage has cyclomatic complexity 57 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6127e9b5bcefd37e6b94ee6330d040c564b7c292f9de116037ad0244e0e182a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMessageForMUCCommands (cyclomatic 48, cognitive 55): parseMessageForMUCCommands has cyclomatic complexity 48 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/plugins/muc-views/utils.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56c0b08722bfb22ded1bb2c2caf0fd2d8cd27518ab5ac03137df4b519dd1ef4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLostPoint (cyclomatic 42, cognitive 84): getLostPoint has cyclomatic complexity 42 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/utils.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6e48e421bc1300cabb97a102612984cf17e435a3463a2addefb2c11dc22159"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tplUserDetailsModal (cyclomatic 32, cognitive 32): tplUserDetailsModal has cyclomatic complexity 32 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"817e61d26d8daf13844584ab9a11f02605b10091fd827321685017ccaf77bf40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConfig (cyclomatic 31, cognitive 30): loadConfig has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/daemon/config.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a12ddcaed1ca966091656a1b22b29f30de29ea061c64e0eb85dd72ba3bea1a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchXMPPURI (cyclomatic 28, cognitive 40): dispatchXMPPURI has cyclomatic complexity 28 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/xmpp-uri-dispatch.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d01a16955e9e0ac30ab98ebc920bec1be1e11879a62bac3181866304e4f18bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMessage (cyclomatic 27, cognitive 33): parseMessage has cyclomatic complexity 27 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/headless/plugins/chat/parsers.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c452398ec74975a1036987e247f34b93ba08047d828c2888ee1b18a801888dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseErrorStanza (cyclomatic 27, cognitive 26): parseErrorStanza 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/headless/shared/parsers.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad52e5250013e3a5ca34f38513c379b1fd91cc6874cba77fe41060837954b29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function query (cyclomatic 26, cognitive 24): query has cyclomatic complexity 26 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/api.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba6e470a29ee333da3822979820f725faef6ddf38a5581aec58949faaf17b4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 25, cognitive 38): parse has cyclomatic complexity 25 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/selector.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddfafa54186c8a88c33c9559e3ecae2d4cef7f00a3d7bc2f82cbe8c495cbf16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onConnectStatusChanged (cyclomatic 25, cognitive 34): onConnectStatusChanged has cyclomatic complexity 25 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/connection/index.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a349901470108072fe792e7d749dd75bb9850a44bbae609b8aabcc3012a6d0e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function respond (cyclomatic 25, cognitive 29): respond has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/tests/fake-server.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"731df35590e3cd563962047541cac7ed743f59ee08ff2420619d91b91318d5a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decryptOMEMO2Message (cyclomatic 24, cognitive 21): decryptOMEMO2Message has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/parsers.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d214b95f1cb20596b11c3bf7ca4d16485ff8ec3bae036198d03c6ae072a2626d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 26): (anonymous) has cyclomatic complexity 23 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/headless/plugins/muc/muc.js"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d50b3e3151b7f48ecdbb73bffbbc12c129fb6bf740029c5b34f40682492f813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) has cyclomatic complexity 23 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/plugins/muc-views/templates/moderator-tools.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"250c80dc63587a7d02c1a808d20adca70f5ec59138693245f5258764e8a44da1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setOccupant (cyclomatic 22, cognitive 31): setOccupant has cyclomatic complexity 22 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/headless/plugins/muc/message.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"428b5d1b377ac9292904aae20cc0a55e968b177a638fe1a4a7aea58a72e8dce3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLinks (cyclomatic 22, cognitive 28): parseLinks has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/parsers.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6ddf50fa68df414e8b5383b280253cbc888889cfadc2b71342dd551ce14bdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function xFormField2TemplateResult (cyclomatic 22, cognitive 27): xFormField2TemplateResult has cyclomatic complexity 22 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/utils/html.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"078637eaa94bf7565f79f5a124d87536673692b24ad393665c712ca1a1954f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 22, cognitive 23): onKeyDown has cyclomatic complexity 22 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/plugins/chatview/message-form.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e867e113fb8973817c5f2a4c3119c1d74de6a6a27911298594282d8a6a7eb9c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"705afd4357a4a98bf1628c1e932aea43c25f6d629971347e5cf04a2290301023"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMessageStanza (cyclomatic 22, cognitive 20): createMessageStanza has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fe742acafc914f626bba56692684dd12b8e8e0dbb9c2e28c4acf69e7316497"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchArchive (cyclomatic 21, cognitive 31): searchArchive has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d6eb7ff1e96c8e2bc0b930df60924847a68e4635930b11b43529ae37c3d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tplProviderDetails (cyclomatic 21, cognitive 20): tplProviderDetails has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"26accae908559f808226d96579a7c57b4045795dfc5f76fe636979bd576032dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 21, cognitive 20): render has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/components/audio-player.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed478f7658f7a595814c5c78783861095ed7830ec8f9e54e1f28427c0f2ba5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMicroblogEvent (cyclomatic 20, cognitive 34): handleMicroblogEvent has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"450e9f0bd156f809eaafad5214600f7c7c3a16eab880afb85995f8783e0826d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 20, cognitive 21): main has cyclomatic complexity 20 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/cli/cli.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"94de10da2e4f53fde1621f112b349b98967db8bf011f9bae84d19fb44fa7bfad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSocialRoute (cyclomatic 19, cognitive 24): parseSocialRoute has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3feca3ca7cb55adc329d126ea97cf0a351ff54b16f14df548aaaf9b7bf6c2c19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupPositionProbePattern (cyclomatic 19, cognitive 19): setupPositionProbePattern has cyclomatic complexity 19 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/shared/qrcode/generator.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e8d3aca80b1d00e456234941baa63e89c7c428d628b0c31c3574e1b92a2d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withinString (cyclomatic 18, cognitive 29): withinString has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/url.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec6dfee868f23902de149f668b33c6fab4a68bfcfeb798bac2c107cd416147d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePolicy (cyclomatic 18, cognitive 18): parsePolicy has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fe3d93e99261fbcb3e2dfd49e20c750b214228f71103ba3248ce4c55610039"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a6f2225bc9d3a45b4312eb0fca429759ea4d8622c8d9737b1079c729a6ab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOrphans (cyclomatic 17, cognitive 26): resolveOrphans has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/comment-feed.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2d7eab5aaffa2204812079603d6fff5e92e2d8ab31a2deac9af2e0dc3e5d0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 17, cognitive 25): publish has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/pubsub/api.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a1e8ba1d114fb990faa0a70eab45c16897df25c5c0d350584e69b4221f1feb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attemptNonPreboundSession (cyclomatic 17, cognitive 24): attemptNonPreboundSession has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"159efa9392c98e16a08312e9af6b9320d67d9a3631555dbaf4306fa73f1f61d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupsComparator (cyclomatic 17, cognitive 24): groupsComparator has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa202e88dc16904d807f127f4e1542322121e982cd8464c348621d5062ac6471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSocialRoute (cyclomatic 17, cognitive 23): buildSocialRoute has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/routing.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e6477a6691a3b5e9fc4bc902164c50eb8797dbc2f48fe072fba742ebec104a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMUCMessage (cyclomatic 17, cognitive 16): parseMUCMessage has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/parsers.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf18d875df74d79cfd62cd5e2d60dbc8be0d0443c01a4aebac1c0712bc3b0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleJingleIq (cyclomatic 17, cognitive 15): handleJingleIq has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed0c364fb769004b9b2927d806f7d0effcff7537166506b609c9c8b0ca1502c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLengthInBits (cyclomatic 17, cognitive 11): getLengthInBits has cyclomatic complexity 17 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/shared/qrcode/utils.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27509ea34d2dfc0bd28d4e0c783328657094ef65d69b702e50af81757d52ef1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEverySecond (cyclomatic 17, cognitive 9): onEverySecond has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece82088f129e20c26982796b6e0fbe15631fc80d5bdd2569770981ea1fc687e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showMessageNotification (cyclomatic 16, cognitive 27): showMessageNotification has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7606a2d358743294741bc1360358f0cabfc40d75d5ca0216b66ff1929a0375ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRooms (cyclomatic 16, cognitive 21): parseRooms has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/config.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e3c6a249456ecc3d909cd985667a211ed06c3558fad40eb2491fd01c3ec20e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNextElement (cyclomatic 16, cognitive 19): getNextElement has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/dom-navigator/dom-navigator.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3657469a061c3b21b35d68847f9a3a0f25fe418fa159103d33027ce8ccd5b78a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXFormField (cyclomatic 16, cognitive 17): parseXFormField has cyclomatic complexity 16 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/headless/shared/parsers.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1c46832ea7491c6a5b1f551bf6bd5a60963162d88bf44af8f1b3631e9a3f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-details.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b815afc89adbde7c8042cf2a0ab9876497a2c33cbafcffcbb17153c3d731ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/message-text.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbadd5d550790f6ad0cfd2f756be56526336abed575178aa1ea8aa294bf9725a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set (cyclomatic 16, cognitive 10): set has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/vcard/api.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"316c0e7556668660edc862c0ec7923b6f7f980f55656e6d015c63b8de08c9f3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAttributes (cyclomatic 15, cognitive 29): parseAttributes has cyclomatic complexity 15 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shims/selector.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f53ef86ed657019ca795c1b1fc5e2d4ec6b82f4b89c220d2393f53ba3257d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidDirective (cyclomatic 15, cognitive 20): isValidDirective 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/shared/texture/utils.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fba3e7ddb060b9e82b46ba7c3f95198d284cd9ebf5c41e3bcafa5c517e1510"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 15, cognitive 19): connect has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/init.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1c3fa499960d1f6d75fe4b1c234351b2240d5b81da3880907398979d04926"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateMUCJID (cyclomatic 15, cognitive 19): validateMUCJID has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/add-muc.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f5c27e15dc73dae8912b186101836b903ee6611272d0d53d8363b3f9571c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/templates/unfurl.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e657a95b030d74b5ccf521eff1a97492d47de3636da4149cd2cca893093909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRetractionText (cyclomatic 15, cognitive 18): getRetractionText has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/message.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908f54e0f423f231380b23cd67bcc6bf5218ab019588969d13b90d1ce81d4f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExtraMessageClasses (cyclomatic 15, cognitive 15): getExtraMessageClasses has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/message.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81feadf01c025f036ee08429f4b1c8838083dffcd63ef673f87cdbae7800022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addHyperlinkTemplate (cyclomatic 15, cognitive 15): addHyperlinkTemplate has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/texture.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e890d1491b2b94e5f6d768745d2045f3b3f73914ab5b3e484aed09fe9a09230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0d88c4a32b20ce739066a5c84c22b38aa85f4e33fd26cfcee3741738e1225a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presenceHandler (cyclomatic 15, cognitive 14): presenceHandler has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/roster/contacts.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b4e27ccd285bb3a563294b42a8aed7a266c5bafef35cc1c586fe4458c9ace9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serviceToIceServer (cyclomatic 15, cognitive 12): serviceToIceServer has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/extdisco.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a02df171fbf5791fa138287e30a64e7afd4ed739011bfd23d3b3fd50b59aaa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMicroblogNotification (cyclomatic 15, cognitive 11): handleMicroblogNotification has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0093b41a12e200359a40a32bcc6880b06ae8953386042eb3b16d0341dd73af74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeThreadCounts (cyclomatic 14, cognitive 28): computeThreadCounts has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c191eddd130e0191045a4cbdde7363610f4c21db0451a9aefa083356a5ccd4a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPlaceholdersAround (cyclomatic 14, cognitive 23): addPlaceholdersAround has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/utils.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"535a32126a9883654b0678fee1e0526027a76cf593396a326013d1da714e35f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rooms.join (cyclomatic 14, cognitive 21): rooms.join 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/daemon/rooms.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef901766f9e03f51080bad48ae2f787cb4fb825fdc618d94ab0a0aa7a7806d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendOMEMO2ChatState (cyclomatic 14, cognitive 16): sendOMEMO2ChatState has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/utils.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf7fb39881653fc618b17da56c2b4e97c8a57ab1e31214280beed4c069d98dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populateContactsMap (cyclomatic 14, cognitive 16): populateContactsMap has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"42119d29f0a22cc5466f73288ab65c86708d4166f0dc291ca40a33eee758cf0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 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/plugins/profile/templates/profile_modal.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"23133347c602adb41e917a03b4333ef07bdb2a6b25f611b66af4ca5894dcfa3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster_item.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f8506d1f19c2f5a773b9359660e38563371e456435abb4d5232b2669279119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onFormSubmitted (cyclomatic 14, cognitive 13): onFormSubmitted has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/chatview/message-form.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb08c0d6c3c5e2d7aeaddbbe0f2ea7d866d2d68da22fb323b7bb9a772230ca1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPopularEmojis (cyclomatic 13, cognitive 23): getPopularEmojis has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/popular-emojis.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4babfb69683534e6dd4840067648d520faa5a1fd690494fa00e869b7e05a99e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getItems (cyclomatic 13, cognitive 18): getItems 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/apps/social/compose-rich.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d5242bb503c0c3dea3c8a46deea3c78c47cf3a789de1d529311e8d54c1972a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCommentTree (cyclomatic 13, cognitive 17): buildCommentTree has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"690cbdd3943afb0f38bb3eaf2fa205066c7277499b92a590da8e619619b8d7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHeadingButtons (cyclomatic 13, cognitive 17): getHeadingButtons has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/heading.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fccc626e586bc00bb74f9563b05e6d013fbbad816a30ca835494130ca4188a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXMPPURI (cyclomatic 13, cognitive 17): parseXMPPURI has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/xmpp-uri.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"126ac0107cfac6337a86cf1e3e8b5e9f400d29379d1a51d3d3e8c5018f13b219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchFrom (cyclomatic 13, cognitive 16): fetchFrom has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/browse.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d7eaceea1c23fa8f010bec07eb3b0ca7be36bf3806bebfce38e5938f0f8409"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessage (cyclomatic 13, cognitive 16): sendMessage has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dd620576af1f75c84a567e7c5652746409cf655a9933e9df8ee41d3597d5ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchChannels (cyclomatic 13, cognitive 15): searchChannels has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/search.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47b5c72c1538cbfa771732a9c985b947453f63fe3f6ac63ed14163d38b8ff28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messages.list (cyclomatic 13, cognitive 13): messages.list 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/daemon/messages.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"93224ee9b2c0e5c228ae0167ad4821dde64f693ff4888ff44f0f96f3d210588e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toMessageDTO (cyclomatic 13, cognitive 12): toMessageDTO 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/daemon/dto.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3632b80f349b741b64bce9842ec446eb22ae8250150324a5e983496b0a7388a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tplAuthFields (cyclomatic 13, cognitive 12): tplAuthFields 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/plugins/controlbox/templates/loginform.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db41498c2321286530751e4577104cdc82445f3adb38c3f2b95bc7c27f88344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldNotifyOfGroupMessage (cyclomatic 13, cognitive 12): shouldNotifyOfGroupMessage 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/plugins/notifications/utils.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a547d62ed5da8c51498608bb101bea1a38207677fee85413a1b8464e2cd539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/browse.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ebb799949cdbccca0f358c427e510d5d3dedd8f91ffef01c3505aaf1214a23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupPositionAdjustPattern (cyclomatic 12, cognitive 21): setupPositionAdjustPattern has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8793b982effda6ab55a1454b896995a63fde0d0af23b84c394172acb742319ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBytes (cyclomatic 12, cognitive 21): createBytes has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/qrcode/generator.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8dcf95fa67d3579a5faddf981dbaae574f30a447d6a63af0c17fa5d94286f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveThreadParents (cyclomatic 12, cognitive 19): resolveThreadParents has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils/thread.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a292a0cafcbc7f2304cfcf59713f73b395042ef5474ff51e855bf41779a02d82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPage (cyclomatic 12, cognitive 18): getPage has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/mam/page.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c137c932f678660dc319bc4c4b6c8a63656a58b8a3697dfcb2819212e2e8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 12, cognitive 16): record 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/plugins/voice-messages/recorder.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"34179138d6391e53890d76909a6fbd47a5d7e3d4c31d255e71bfddeb81dcb953"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setBookmark (cyclomatic 12, cognitive 15): setBookmark has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/bookmarks/collection.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfa647bb7d6978a383b464c2146f292fe3c6a95be9881782606e4399e023cd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePost (cyclomatic 12, cognitive 14): resolvePost 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/apps/social/view.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b29b23f7598426d695faefa83e71836d331230774e972eeb8b99deaa5fcdd00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 12, cognitive 13): onSubmit has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/compose-rich.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0bf0c939d397315d5d45f1c09c03491ca9e5c0168951868b67cfd2877e7b81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/tests/roster.js"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb6086dfdc9209d2cf4a3531c0a3899b3dd077213bfe143eb5b705935d8a0a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ee8e6106171ac770c916574fa24d301d65af12baef7fbc9a4e74db6a3470b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMessage (cyclomatic 12, cognitive 11): formatMessage has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli/format.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ac85de4e30976e23ebe6bfd3adcda28b95ab010faa1aac6654049a5a9d524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findOccupantWithoutId (cyclomatic 12, cognitive 11): findOccupantWithoutId has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/occupants.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a61f9408e7c9e1f18b6fd48532e95540130ed5e725491b7d9d541e67b75a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/adhoc-views/templates/ad-hoc-command-form.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c0d72fb4e5660596d62f9f9101b8cc7c9d490502271bc2169849216b6391c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/muc-description.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5371be43c8e8a88fccdfe392504ec3854b83044606f681dc652295ff6a065f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function browseFeeds (cyclomatic 12, cognitive 10): browseFeeds has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/api.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee583864f86200f14acddb1d6f382045f39bbf1b1127445a903bb65833c8a0da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEncryptedMessage (cyclomatic 12, cognitive 9): parseEncryptedMessage has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/omemo/parsers.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce45cbb8980650ee9d76390c78cd0ec4bf5bc80eae169eff9f811140574ea8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapData (cyclomatic 11, cognitive 31): mapData has cyclomatic complexity 11 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/shared/qrcode/generator.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a497f0d833a4cca13530d694ccf6c72fc130065ec905930b8937b57dd6c1a43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addStyling (cyclomatic 11, cognitive 19): addStyling has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/texture.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0544f3a1188ceaae1f4894daf8d6557a7bfc7724689abfb7512e4518ead739e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeChatBox (cyclomatic 11, cognitive 18): resizeChatBox has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/dragresize/mixin.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b1dd8f9d259165be792b6eda1fc2cf707db94771befa547524bd500ab40bf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyOfThreadActivity (cyclomatic 11, cognitive 14): notifyOfThreadActivity has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/utils.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf4406028d35665c8c0fae36c74f190a11aa57a6bbe27efeed4a4c7f02c639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldBeHidden (cyclomatic 11, cognitive 14): shouldBeHidden has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker-content.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"12479534086aa6dfcd0d200af1cdc30f6ee013560fed91943480f403d08bcfe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 11, cognitive 13): connect has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/client.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a83be2b78ee3a2d6dda776017899724ea06e0117b62967ed2a5d598111e59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSearchInputKeyDown (cyclomatic 11, cognitive 13): onSearchInputKeyDown has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6deb8e364e854b5514e81b44f29f03c3426af291321755d4098abe1aa3e763"}},{"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/apps/chat/templates/chats.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b47f20d0ee8415f6bd4d525b35b888b16ccd718abe8bca665b32cb9fd054dfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSCEEnvelope (cyclomatic 11, cognitive 12): parseSCEEnvelope 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/headless/plugins/omemo/sce.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"772ecc16be4f20377d2d4bb3d354119550095b3733f142d1b2b5da25dc4ae9d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/tests/mock.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a636fb9832ec828af6b4f542af874026ce119874b5ffd4af40ea62476ccdac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 11, cognitive 10): submit has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/modals/discover.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d098e44c68a31ae66880fcb19b2cba5ec25ee15f4f051624709fe2a8c4b2c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enclosureKind (cyclomatic 11, cognitive 10): enclosureKind has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"54595b15871b87a1f3530c0f42644c97a690908d7aa06a71d0ca7a8541bab580"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseContent (cyclomatic 11, cognitive 10): parseContent has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/sdp.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d72b6c945a2a28cad6c911dfde7481bd4ccc47b90861a8d33441cd4cc2e256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRepostStanza (cyclomatic 11, cognitive 10): createRepostStanza has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/feed.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e83a78dae43bf903527f733c0327d3bf9617d4a2ea91d6bb87683c97872f968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAtomEntry (cyclomatic 11, cognitive 10): parseAtomEntry has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/microblog/parsers.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fe3b10a5ff1f283898b3017f69034d6a3418f0173dabd751e590e64b10b171"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/templates/roster.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"baae6fe47acd5af9d33008013c21f95e89f6cde87cffeef3d0550aeaee1aff44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isNotableMessage (cyclomatic 11, cognitive 9): isNotableMessage has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/notifications/utils.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787faacb7abd4f101b3bfa23c8b5dae4e59883761901b11175b21fbe3f5c33b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/muc/muc.js: 2794 lines of code: src/headless/plugins/muc/muc.js has 2794 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/headless/plugins/muc/muc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d555abd5de07435fa30fbb3f7becfa7d15a8dad1131adac1a94af9ed0e6d64c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/shared/model-with-messages.js: 1273 lines of code: src/headless/shared/model-with-messages.js has 1273 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619c3c9dfcdf7adb01c5dcc033ba4a6c01f02c9138f145a0bbea1b3729bcf82"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/omemo/utils.js: 1161 lines of code: src/headless/plugins/omemo/utils.js has 1161 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/headless/plugins/omemo/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ef9004c8205b1bedd54fc7c64b2312a6b1ab9fa38abdc9a632c458bf4377fb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/microblog/api.js: 921 lines of code: src/headless/plugins/microblog/api.js has 921 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/headless/plugins/microblog/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9486e9e7d5bd9ec8de0de52eefc05385e99c6124bea0cece6187815beb0b8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/shared/parsers.js: 673 lines of code: src/headless/shared/parsers.js has 673 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/headless/shared/parsers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ef005ad355fa08863c452ec91011a43ca3d7502714f0c0d3b484ed42b2e5f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/shared/connection/index.js: 635 lines of code: src/headless/shared/connection/index.js has 635 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/headless/shared/connection/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c916ee0fac61ce17a3a502866489d2824e002a25440322af255d19dcc4e3e29"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/microblog/feed.js: 599 lines of code: src/headless/plugins/microblog/feed.js has 599 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/headless/plugins/microblog/feed.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c088af473e8e204e2236612992b35f984a6d658058da2253fdfb8a0b3123ec1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/shared/components/split-resize.js: 562 lines of code: src/shared/components/split-resize.js has 562 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/shared/components/split-resize.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"931cbe9e37d4371e621a32220b54509ad7eca23fd6748d6b2268ecb5448ca721"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/omemo/parsers.js: 533 lines of code: src/headless/plugins/omemo/parsers.js has 533 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/headless/plugins/omemo/parsers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb39534a65dd07576816bb618234aa999fa5557d44883c77be34d9cc3270ad3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/jingle/sdp.js: 530 lines of code: src/headless/plugins/jingle/sdp.js has 530 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/headless/plugins/jingle/sdp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c32bac99e1a1f1bdc4b327ea5ea20881e9c600afa07323299fdd83b51014a47"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/omemo/store.js: 528 lines of code: src/headless/plugins/omemo/store.js has 528 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/headless/plugins/omemo/store.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2ee904b2769c52374521f97b00c3ab378dd90a7bd464047ba28b621d8f373e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins/register/form.js: 519 lines of code: src/plugins/register/form.js has 519 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/plugins/register/form.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed5ae1a9550f253fa9c5fc0d1f465478106ade01d7f494de743d8006e7dfd05"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/disco/api.js: 515 lines of code: src/headless/plugins/disco/api.js has 515 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/headless/plugins/disco/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f156f232e1997f381b3df77d2b2638eb0a22462a3899e01c5f67fbadf85def77"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/utils/init.js: 494 lines of code: src/headless/utils/init.js has 494 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/headless/utils/init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8284dc2c56b395af7e4e7bdb48a380bb6afef032a43d9ab1e34b518eca0ce839"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/jingle/rtp.js: 481 lines of code: src/headless/plugins/jingle/rtp.js has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/rtp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d855a493aa4bd71ff43e7aa7d8c9acaeb794d6fb6a636fe14105a36dadc67"}},{"ruleId":"R3","level":"warning","message":{"text":"src/shared/texture/components/audio-player.js: 472 lines of code: src/shared/texture/components/audio-player.js has 472 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/shared/texture/components/audio-player.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"204af7de1fab74e9fcc5989249393b4f63aaf99c447962dbdf3ba2c6e1f4e853"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/roster/contacts.js: 460 lines of code: src/headless/plugins/roster/contacts.js has 460 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/headless/plugins/roster/contacts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"285df9df8ed195994bf34c8dd80dda924e387c40833e16411a59864f3ae8ac68"}},{"ruleId":"R3","level":"warning","message":{"text":"src/utils/html.js: 458 lines of code: src/utils/html.js has 458 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/html.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bbf354e3f11f31be89e286f6e611add1ea83884648b771989b05a735f5f3bb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins/rosterview/utils.js: 457 lines of code: src/plugins/rosterview/utils.js has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/rosterview/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8abacabe27b558d46b992c387bf8934403d48efea4df66fc7123d5f56500e8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/shared/qrcode/generator.js: 455 lines of code: src/shared/qrcode/generator.js has 455 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/shared/qrcode/generator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"870f8de7766049b12e2e6383ecc49448c11709da15892ae8ce9678ce3f20010d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/muc/parsers.js: 448 lines of code: src/headless/plugins/muc/parsers.js has 448 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/parsers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d153b20045f6ecea971327043d5e04efd5f2022dbde37f5390d8740851c60f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/bookmarks/collection.js: 447 lines of code: src/headless/plugins/bookmarks/collection.js has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/bookmarks/collection.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97e33c87a663eb2fc1fad20f8d8f2fffb3cf0c6ca27887c6598ae207915150c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/pubsub/api.js: 447 lines of code: src/headless/plugins/pubsub/api.js has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/pubsub/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061a99fa603efce4bd120751edb7c1e79a6b35c942ac86965adf5b846c79c3b6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/shared/texture/texture.js: 446 lines of code: src/shared/texture/texture.js has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/texture/texture.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4618a027491251381de4f88b1d9e02cb119b9718dd934ac79eea0116a02538f8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/headless/plugins/mam/utils.js: 438 lines of code: src/headless/plugins/mam/utils.js has 438 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/headless/plugins/mam/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"041c19a82dc1f6ca8d568a7f5f9d96584b9779b8760f5480341c6cfed2f45545"}},{"ruleId":"R3","level":"warning","message":{"text":"src/daemon/types.ts: 437 lines of code: src/daemon/types.ts has 437 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/daemon/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f68b290973b5e1c8620e77b1a82e350f9cfe32d0fc23c5a6b1c6beb460bc9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins/notifications/utils.js: 432 lines of code: src/plugins/notifications/utils.js has 432 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/plugins/notifications/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b899162701727f2e60cf23910165260eb74934f95d18fe2618f48e0475d5310"}},{"ruleId":"R3","level":"warning","message":{"text":"src/daemon/rooms.js: 431 lines of code: src/daemon/rooms.js has 431 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/daemon/rooms.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a8c7169c7d2326a5ac475e34212388a766aac7f964c5f1ef5a3a0f972c2fe4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/apps/social/templates/message.js: 420 lines of code: src/apps/social/templates/message.js has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/message.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf77d959010fbcf92220c71b74520750a04aa7ebf496e96fddc510a424892d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins/register/templates/choose_provider.js: 420 lines of code: src/plugins/register/templates/choose_provider.js has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/register/templates/choose_provider.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b592e2ff9511b95a134349508aaee94a740da26eaf1447333c5470440d124ed"}},{"ruleId":"R3","level":"warning","message":{"text":"src/shared/modals/templates/user-details.js: 415 lines of code: src/shared/modals/templates/user-details.js has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/modals/templates/user-details.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bf2cd81984ce9c944064d8d150742cd84937eba4e14fadfd0fc2aa9b31ee75"}},{"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":"vitest/setup.jasmine-shim.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c92e5f1faa0790d46887fd66bc54d8ca5037fda7aec2db231bd08dc78393b"}},{"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":"rspack/rspack.build.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6230f0e92b4b9c9bc4cb0b5970bca18b776f68863862a7c014693b7f30e68c63"}},{"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":"rspack/rspack.headless.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b224d850ac022e22604b51f7f445fa3f198749165b431dfa2aeda9b6bd5f689a"}},{"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":"rspack/rspack.serve.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"872edbe055744e1b7da7630e67f82cbd5f66f9dc69d9026566f4e999b3357452"}},{"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":"rspack/rspack.common.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b0bbef893c688109a8ca20b10a02c1c6255263ea5164e1833017d6347327f"}},{"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":"rspack/rspack.nodeps.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8cb3ecb2543e7065b5cb3bdb74313e556c39a302b4f85fa373578dbb814238"}},{"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":"rspack/ignore-chunk-imports.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c456d5f022b381c068dd596cf0134f8bf2a0dd2a5289d47002c69ad911a7d2e"}},{"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/website.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a64ed6d152888ffbe20f62e334e3ffbfc6723e57c4a4d670bd32eab200dd68"}},{"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":"vitest/setup.converse.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de66d87f0b2a1fe3f2324c771e9ff3bdadccb4be22a45e1da59d7d3ba6c81918"}},{"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":"vitest/serve-static.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0346d941129547c88292df86f345b5967df15e81f83dfd27521099ab7440e7"}},{"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":"init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b22f6422c2776cd227944dd51b42e37eb626234bc979bf71ead8999684d31"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@converse/skeletor\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/templates/profile.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab77b167a837b2f4133ae924c755cbedc2c543f3e099dfa609d92d2e32e7e96"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027strophe.js\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apps/social/tests/utils.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6189766a55158761c08dd03a4795d93819d419fe357ea9347f2f5a8aa7c6748b"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@converse/skeletor\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/rooms.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc251687112f15eaacbbd8e0dca5bd180e65aca77947bcc0fa693e6cb862b6ef"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027strophe.js\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/tests/fake-server.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f41021079aec810d389e6673fbbfcbfb9422afdcf3702ef18255525ff23a6b"}},{"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/headless/plugins/caps/utils.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c90ae4d5aeccab0cb318f524e3f3d00020622a48167e036a979e1d54891506"}},{"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/headless/plugins/microblog/utils/following.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8db581a28cbc8045fead0e2ca6f2a67931887ce48ce2d7bdf23179ec3f4c09a"}},{"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/headless/plugins/vcard/api.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a818955680a390db477f69befd92e069206189ca57a714579e5f69a4ee5925"}},{"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/headless/plugins/vcard/parsers.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ac842b36651311afd86478fc94e812d7e071ff28d42289285f4ec5a4981f2"}},{"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/headless/utils/color.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5eaa01cdbf97446f3b7ba5ea7d9ee7bf43f52feefd8cb2100665f1d0dac312"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 ignores what its callback returns, so the Promise each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early), and a rejection is never handled \u2014 in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with \u0060for (const item of items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Promise.all(items.map(async (item) =\u003E { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f4ef9718595dcec768cb34b98203c27865b949d4ef310f30325bfd63a80f6d"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 ignores what its callback returns, so the Promise each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early), and a rejection is never handled \u2014 in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with \u0060for (const item of items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Promise.all(items.map(async (item) =\u003E { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc411748caaea4a79b00d33341a4d7234b9cf3dd04044ae9393733a5b4ee99e"}},{"ruleId":"X1","level":"warning","message":{"text":"\u0060async\u0060 callback passed to \u0060forEach\u0060: \u0060forEach\u0060 ignores what its callback returns, so the Promise each \u0060async\u0060 call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that \u0060await\u0060s around this loop still returns early), and a rejection is never handled \u2014 in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with \u0060for (const item of items) { await \u2026 }\u0060 when the work must run in order, or \u0060await Promise.all(items.map(async (item) =\u003E { \u2026 }))\u0060 when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback\u0027s whole body a \u0060try { \u2026 } catch (e) { \u2026 }\u0060 that handles the failure, so it cannot escape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/blocklist/plugin.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"70af1db9a83f5b0294d025c9a74d7c0e1d54f48084913e7f0d09945bcbc094d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!api.settings.get(\u0027bosh_service_url\u0027) \u0026\u0026 !api.settings.get(\u0027websocket_url\u0027)\u0060 appears character-identically in 2 files \u2014 src/headless/shared/connection/index.js, src/plugins/controlbox/loginform.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/connection/index.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9c1f30f3f93c7fc759e34e4aea025e93fffcc76147387e4656c17376e6d0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stat.isDirectory() || stat.uid !== process.getuid()\u0060 appears character-identically in 2 files \u2014 src/daemon/daemon.js, src/daemon/registry.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/daemon/daemon.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b92525870b4c97a27a1464a52c729492e51797daf069b1777bc63007e84ae8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.navigator || !u.isVisible(this) || isComposing(ev)\u0060 appears character-identically in 2 files \u2014 src/shared/chat/emoji-picker.js, src/shared/components/dropdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e42e17ca4730d90d40d5db00566349865606599d8624bb4395e1626a947d4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(await this.handleCorrection(attrs)) || (await this.createMessage(attrs))\u0060 appears character-identically in 3 files \u2014 src/headless/plugins/chat/model.js, src/headless/plugins/muc/muc.js, src/headless/plugins/muc/occupant.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c961368adf4072f7fc87e5024500918a6b62ae273f8748404bf4f0d4a55e3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attrs.type === \u0027error\u0027 \u0026\u0026 !(await this.shouldShowErrorMessage(attrs))\u0060 appears character-identically in 2 files \u2014 src/headless/plugins/muc/muc.js, src/headless/plugins/muc/occupant.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d762deda48f6cec27cb94d754a4d943e3690abf6c343ba8fb46d6e5d664a9a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060changed.has(\u0027jid\u0027) \u0026\u0026 this.model \u0026\u0026 this.jid !== this.model.get(\u0027jid\u0027)\u0060 appears character-identically in 2 files \u2014 src/plugins/muc-views/chatarea.js, src/shared/chat/baseview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/chatarea.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98792aed8c6d63187f03529f760f5d7af3e25643af73b36cd7c5dcf44907340d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.get(\u0027bundle\u0027) \u0026\u0026 device.get(\u0027bundle\u0027).fingerprint\u0060 appears character-identically in 2 files \u2014 src/plugins/omemo-views/templates/fingerprints.js, src/plugins/omemo-views/templates/profile.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/omemo-views/templates/fingerprints.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"517e91dc747b92955093b2549b809178bafe9a000928b1b40c24544b0c098325"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ev.key === KEYCODES.DOWN_ARROW \u0026\u0026 !this.navigator.enabled\u0060 appears character-identically in 2 files \u2014 src/shared/chat/emoji-picker.js, src/shared/components/dropdown.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/chat/emoji-picker.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a3eb6a36b139f83aaaeee2d22f45a85647b680e309c7af8dfd8ab112dad161"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isUniView() \u0026\u0026 !api.settings.get(\u0027singleton\u0027)\u0060 appears character-identically in 3 files \u2014 src/headless/plugins/chat/model.js, src/headless/plugins/headlines/feed.js, src/headless/plugins/muc/muc.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4c23712a043fd7ab6b63d3ee767c99c0065525a392980a4e25e2dbb7569bc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060jid || Strophe.getDomainFromJid(bare_jid)\u0060 appears character-identically in 2 files \u2014 src/headless/plugins/ping/api.js, src/headless/plugins/version/api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/ping/api.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47da8b18096f98f8eea63ec883538eff053e3906883259699e2351c58196b4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.get(\u0027origin_id\u0027) === reply_to_id || m.get(\u0027msgid\u0027) === reply_to_id\u0060 appears character-identically in 2 files \u2014 src/headless/shared/model-with-messages.js, src/shared/chat/reply-preview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/model-with-messages.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3f4bb68c8d6445942a523722908ea761273439d347584693950fe85cb65b5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.get(\u0027reactions\u0027)?.[my_jid] || []\u0060 appears character-identically in 2 files \u2014 src/headless/plugins/reactions/api.js, src/plugins/reactions-views/utils.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/reactions/api.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f668a553ba0f10e57b4f49b8a129c699d46895f275eb12a46fe41d121405f28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name || Strophe.unescapeNode(Strophe.getNodeFromJid(jid)) || jid\u0060 appears character-identically in 2 files \u2014 src/plugins/bookmark-views/utils.js, src/plugins/roomslist/view.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/bookmark-views/utils.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c47dad8b8b130a6500d0fd2ea1fa4e20ec03ef058d807916fe16b904036d9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status \u003E= 200 \u0026\u0026 response.status \u003C 400\u0060 appears character-identically in 2 files \u2014 src/headless/shared/connection/index.js, src/plugins/omemo-views/utils.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/connection/index.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0406aecb92ae59103436d98b979528eaf07999d88667483539de7331ba8e4e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result === null || u.isErrorStanza(result)\u0060 appears character-identically in 2 files \u2014 src/headless/plugins/muc/muc.js, src/headless/plugins/version/api.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae036cb40020027b77663aa7bab1cfbe64f51f90a984a98d767da830fc5dfb10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060show === \u0027chat\u0027 || (!show \u0026\u0026 presence === \u0027online\u0027)\u0060 appears character-identically in 2 files \u2014 src/plugins/muc-views/templates/occupant.js, src/plugins/profile/templates/profile.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/templates/occupant.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b722ecc929cfccd450c1005955bead26f4e08c5e58c8d8f2356426621389ca8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060show_client_info \u0026\u0026 allow_adhoc_commands\u0060 appears character-identically in 2 files \u2014 src/plugins/profile/modals/templates/user-settings.js, src/plugins/profile/modals/user-settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/modals/templates/user-settings.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef7399e718e66b5a278e75b2d2ce6141f653efbc15baaeab02b52d3148ec73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.get(\u0027show\u0027) || presence || \u0027offline\u0027\u0060 appears character-identically in 2 files \u2014 src/headless/plugins/roster/presence.js, src/headless/plugins/status/profile.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/roster/presence.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0332eee2740e3fe0cd9186427935ef84b90a788efb928a101319322632b1d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.get(\u0027time_opened\u0027) || new Date().getTime()\u0060 appears character-identically in 3 files \u2014 src/headless/plugins/chat/model.js, src/headless/plugins/headlines/feed.js, src/headless/plugins/muc/muc.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/chat/model.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8d8ea969f90140673bb1ae918940c216e749a506fd1bf2829bca72e8dacdfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.options.width \u0026\u0026 this.options.height\u0060 appears character-identically in 2 files \u2014 src/shared/animation/player.js, src/shared/gif/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/shared/animation/player.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5f9a92fba4ee6c677a4dc5a0be4197e8675eab1158762342eba16827e2de87"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060merge\u0060 is exported and takes \u0060dst: object\u0060 from its caller, and it calls itself at line 12 (\u0060merge\u0060) with a piece of \u0060dst\u0060 \u2014 and nowhere in \u0060merge\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 \u0060merge\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/object.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f7e641569c96999b3554fb17f626aa64068dca414559257168530d04e3438"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/9 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: fetchXMPPProviders: \u0060fetchXMPPProviders\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/plugins/rosterview/utils.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e4a05596e8d99c42a68539f8026f321a69bd5abbdf15a7783c6e9930717e33"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getNamesAutoCompleteList: \u0060getNamesAutoCompleteList\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/plugins/rosterview/utils.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58500b999d33a7ca965fee58f78222b05984ee4ac544f8406d6de7cd63f97ad"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchProviderData: \u0060fetchProviderData\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/plugins/register/utils.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6838155903a51758e7105e0bd403c1748985579aefd740ad4132e1b636e1e03"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadFile: \u0060downloadFile\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/plugins/omemo-views/utils.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc72be10c78b43709d393f3981cb2cd1639d7a134963655b46001827ebcfff"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getHeaders: \u0060getHeaders\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/headless/utils/url.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0daf0987c84efb4f77f594128734ae30c3d9a5497f285d326633fc940272f44"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: putFileWithFetch: \u0060putFileWithFetch\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/headless/shared/http-upload.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be2499a7bb13020deffd8c67d01f06a5bbce24b7e033526d5c18662684abd0a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: discoverConnectionMethods: \u0060discoverConnectionMethods\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/headless/shared/connection/index.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"491d254ccfe4ab28e3917f77c5ac72388e73b69f4e99e9ca20eb9f9519d00761"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadEmojiJSON: \u0060loadEmojiJSON\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/headless/plugins/emoji/api.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59d9bb52eec3728eab351b783f4a2f46e650a081ce4568be6bfe62df18ef8c"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060username\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060username\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/profile/password-reset.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c0126ba1a616ddbab4bd6443dcaf5711e963f6c020933b25c28af12670b653"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060title\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060title\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-config.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aac5892ac2a119e3325b34c9115dd69e8275c2c9d816b5a7136a19d88e2733"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060instructions\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060instructions\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/templates/muc-config.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48c2fc3aaa5319c0760dbf5d80bafb744f160bb1878936bce10f6030b54e9e0"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060stanza.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060stanza.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/actions.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e673b9484b62524eb1e4fe70ed7db5133ea8d20e14c906bc73ab17d14462a"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060stanza.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060stanza.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/shared/actions.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be8eb6421459e713f33dcfa5a5351834226e84ff09cfba7ea60daf9a0e1448b"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060id\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060id\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/time/utils.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb31f414cfa3c90462d01bc6648b8bd2d03079418ea9454cc63f8bea6908fb93"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060id\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060id\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/time/utils.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd3ec737d21de55b0c0de3fa4a7b788e3fa33a60876cd6114ddc1ea44b551fd"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060id\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060id\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/roster/contacts.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d0134c96c7a1b6b70de8b060c6c0b69ec6e3858951c5df6a410c2922fc26db"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060from\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060from\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/ping/utils.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c2c7cf003cbfd5d3c7fbce5d28665ec907511a6fb83b0d74da12885fa29525"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060id\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060id\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/ping/utils.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ade17823c3ca14e480b0aa884933519d1abd0001611f7ca2d4bdc529ea9b9d"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060host\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060host\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060host\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/extdisco.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c2a6f6d5b51c0445da58a4eb2c5b215d95be3ef2a4604ae03151a10098f367"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060type\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060type\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060type\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/extdisco.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b12467eccae797270f1d5013a5223753e7ea013ff14e0bc4dfc8769d2c11ce9"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060port\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060port\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060port\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/extdisco.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b368fc5fc27c9cfeb73e62e22f5e2e6fec3bc9ec6f591936eb9cbf4ad887cc"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060c.getAttribute(\u0027creator\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060creator\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060c.getAttribute(\u0027creator\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/rtp.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67cd23967f23b14bcf7998590981102458aa28800a6ca07a020ab28103f7c8"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060c.getAttribute(\u0027name\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060name\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060c.getAttribute(\u0027name\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/rtp.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f758a86e5c0a124a5b0ffb5735a9e9852f2605947ae1cf7bb07bb3021c66caaa"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86639ce1fb86072a4bd9c3609e232d61e770fd86dbffff57e057842debe6bcb"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee1433da0e7cac55636ade7081d2c51582fef6c3abea7bcc75c2526134653da"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"449ebcefdd6dd54c95fda1572cf3e9a46a38a65197308a4f55cee60ded5c1dfa"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"474808351a8ce0fe885b860393d32363b1c051f9757d2f5f4be943f9083773a2"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5183835c19b81da02a3c827fbb7c185906f9176bb0abc3c3880cc1f20a8bb0"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da3365fb123dc6234ff64eab0ea05a1627914982ac4248bd16c1925b6a1f1c7"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a7be2ff84922425e6fc2b0716baf9bae71aa44466b37706f6a4ee44a0453f"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"60602e812111d6ca53438fe4ceaf920e261c41e23def8f611843307f73c47aa7"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027from\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060to\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027from\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cef3f21b63306c39f315f7859de504399a0306f7850ac88aee788dd032348be"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060iq.getAttribute(\u0027id\u0027)\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060iq.getAttribute(\u0027id\u0027)\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/jingle/utils.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"232da33987602ab017dd69ac5e88092be4c939fff8e8c3874d564a6f20790137"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060id\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the \u0060id\u0060 attribute of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060id\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/disco/utils.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae5d84f9fc7ced742784a3765a3d4b6ebe0a5230eeaa5ed4c845e5b758f3cb8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060values.map((v)=\u003E$build(\u0027value\u0027).t(v)).join(\u0027\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/muc/muc.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ab87c76773a3dc09e74b60e7565e889ae239624370a75624ded0c83e23cceb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060u.getElementFromTemplateResult(tplMUCDescription({\u0027jid\u0027:stanza.getAttribute(\u0027from\u0027),\u0027desc\u0027:sizzle(\u0027field[var=\u0022muc#roo\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/muc-views/modals/muc-list.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"785460a4a29cb7a2f87364563f648d682780f78a89bce87422365b0a0d4cf995"}},{"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/shared/webp/component.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec8689aeb47f4c23e0ff760f75f4c0aecc5864cb51813907290f665e4653b68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/utils/extension-storage.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbef2cfbff68803df57085ec65d4d16092672449552022f6390a3409cceb55e"}},{"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/headless/plugins/vcard/utils.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f7647546ec4a5600d2e927c0512921ed5eb0b977a75200a5f1b9e57b06cee4"}},{"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/headless/plugins/omemo/crypto.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2106518b758574f80a7c7e1e7fff65fd5ca3962f1cbd825b49f1d988a32bc85"}},{"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/headless/plugins/omemo/plugin.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"84660da4971326e5638d3045239cce40dac5683e3e93439dee18c6a8dd4c286d"}},{"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/headless/plugins/microblog/profile.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0e2c9fcbad3cd739e9926642042891ddf258e7a1238b79d4eda0306ee50240"}},{"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/daemon/client.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1150da6135d54886deb5b3ec522ea1023c67de2c40638487d4f3c36f92c1a19b"}},{"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/daemon/client.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8b3abaaa1752046ddc2301d59872c3a882180bea4c103cb4dc03fa216cacd4"}},{"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/daemon/client.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf4657e78c4a157c6e332159bba9b23a5f3a12922207c6cb5d887db922e0723"}},{"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/daemon/groups.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eab4f2e091292639ad4b734804616e7928e8521a15b3ff6b238cdf954e981f"}},{"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/daemon/rooms.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bb73dc47efe3c6c2b4863effb8f7c94553c7755ae9325da18cf022430b8219"}},{"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/daemon/secrets.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"34712064b6c9bbd66482f82f9b3b318b0315fb35ce675b13e84c400f59c72450"}},{"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/cli/stream.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce47d40c1a4cf4009a039c3a7e4b72e8f78e1a3dfde455e74b6b9f69add646a"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 0/6 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/headless/plugins/emoji/regexes.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bda63bffa90d6db0e696be6c522436b2a855a8ad2643722494656db3e97d98"}}],"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-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-1164","guid":"793ece19-b164-f952-a8b3-33dc3b591809","name":"CWE-1164","shortDescription":{"text":"CWE-1164"},"helpUri":"https://cwe.mitre.org/data/definitions/1164.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":52,"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."]}]}