{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"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":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"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":"user.addModel (cyclomatic 128): user.addModel has cyclomatic complexity 128 (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":"app/models/user.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de8076a92ae9cd212766611859622556a774325df466348e844012497926624"}},{"ruleId":"D1","level":"warning","message":{"text":"post.addModel (cyclomatic 86): post.addModel has cyclomatic complexity 86 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 11 belong to 9 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":"app/models/post.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"095f9e2f99d0401ccef3df0e1f6479e9ea3769efd59174fd076e054e7b73f82d"}},{"ruleId":"D1","level":"warning","message":{"text":"search.searchTrait (cyclomatic 71): search.searchTrait has cyclomatic complexity 71 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 19 belong to 9 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":"app/support/DbAdapter/search.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ee5f041c1150618b10ce632e6031cc3ed75acccefdb8ae0c906decce1be88"}},{"ruleId":"D1","level":"warning","message":{"text":"addModel (cyclomatic 66): addModel has cyclomatic complexity 66 (threshold 15). Most of this is not in the body itself: 1 of the 66 points is its own statement and the rest belongs to 33 function items inside it that branch (finalizeCreation, sanitizeOriginal, recreatePreviews, \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":"app/models/attachment.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf0e13f5a8ef228f0c9de1adc4c2462d75bbbf3333a23ffc2623f77ae9f8887"}},{"ruleId":"D1","level":"warning","message":{"text":"timelines-posts.timelinesPostsTrait (cyclomatic 64): timelines-posts.timelinesPostsTrait has cyclomatic complexity 64 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"328263fd7c12ddf3d0ae51cad276881e350fcda6a5494102d2fdb9cb3a15140f"}},{"ruleId":"D1","level":"warning","message":{"text":"timeline.addModel (cyclomatic 48): timeline.addModel 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":"app/models/timeline.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac645d71ea33b533c1f4e6d370069ea7f9c6a4720ead0c0f7c2fe4ca6401fc"}},{"ruleId":"D1","level":"warning","message":{"text":"usersTrait (cyclomatic 47): usersTrait has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 57 function items inside it that branch (a function literal at line 116, freezeUser, getDirectModesMap, \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":"app/support/DbAdapter/users.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5e25a6e37142eafbac64032f52fe34bc61895fc0513cc8886694538be04847"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 45): (anonymous) has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/AttachmentsController.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"935c955cfb3a617286afbf95fd477e9e63bc6e90eab764f7d73389f52d742f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"parser.parseQuery (cyclomatic 38): parser.parseQuery has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 7 of the 38 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 55, 163, 220, \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":"app/support/search/parser.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5065089c3aa71da0ead3e870e34e2f4d0193c7f56dc934d2423c8855cdb48ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"user.serializeUsersByIds (cyclomatic 36): user.serializeUsersByIds has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 8 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"app/serializers/v2/user.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"430a1cdbf26091d89321b1419bca9fa6fe474fd5328227f615ccb3b2be48334a"}},{"ruleId":"D1","level":"warning","message":{"text":"group.addModel (cyclomatic 35): group.addModel has cyclomatic complexity 35 (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":"app/models/group.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728d6adeda298595348b66599dd4a195f1988125785f26974fb85420477b8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"searchTrait::search (cyclomatic 35): searchTrait::search has cyclomatic complexity 35 (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":"app/support/DbAdapter/search.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"484159bb583e9706762d58d8dcb1c7e41a349e469e74784e25f603f3a8de0dd7"}},{"ruleId":"D1","level":"warning","message":{"text":"articles.articlesTrait (cyclomatic 33): articles.articlesTrait has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 241, 180, 415). 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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee5e4064323ba2d43693e74c3816450e728e9c0847d1719b46ad99932216d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"comment.addModel (cyclomatic 33): comment.addModel has cyclomatic complexity 33 (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":"app/models/comment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88002ce207dc23a01e8894d6fdf15c79f534c2b760c20cda37ea2fdc4ea2fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"timelinesPostsTrait::getPostsWithStuffByIds (cyclomatic 31): timelinesPostsTrait::getPostsWithStuffByIds has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b798402ed57482f36a7623f0a74a7206db225cd14ee4245b86ea83aefbc04ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"hashtags.hashtagsTrait (cyclomatic 30): hashtags.hashtagsTrait has cyclomatic complexity 30 (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":"app/support/DbAdapter/hashtags.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb6788ed0dd9d96329c8b59e8a4fb7c8b3bb0c55199376130321ad068545c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"broadcastMessage (cyclomatic 29): broadcastMessage has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 360, (anonymous)::isBanned, a function literal at line 274, \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":"app/pubsub-listener.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a032ef266fbd67bb531932d31ef3cf9f2ce8b17288e8b990b65fd6d7f08775"}},{"ruleId":"D1","level":"warning","message":{"text":"User.update (cyclomatic 27): User.update 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":"app/models/user.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d946e7cde37cc2ca56b36d067f01ecc93d8fd18916bb21156b14f5daba3bce"}},{"ruleId":"D1","level":"warning","message":{"text":"addModel::update (cyclomatic 27): addModel::update 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":"app/models/user.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"115093d8dc8666d30b13f747f911c221850fdfe820118dc4cded600d713dc5c7"}},{"ruleId":"D1","level":"warning","message":{"text":"serializeFeed (cyclomatic 27): serializeFeed has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 16 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":"app/serializers/v2/post.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0f8964692c7b1b8c94160d78b5eaff5f3286ff3eb499ad7b1105009b3eac59"}},{"ruleId":"D1","level":"warning","message":{"text":"subscriptions.subscriptionsTrait (cyclomatic 24): subscriptions.subscriptionsTrait has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 3 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":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6836454015d4989722af0fd0599eb7310c05446dfc7c3cd34fade4b4df75bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea18b0c7712deef713181a8f8239bb37cff010dbc5955cfcc9c3fc4f2f7d08"}},{"ruleId":"D1","level":"warning","message":{"text":"posts.postsTrait (cyclomatic 23): posts.postsTrait has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 belong to 3 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":"app/support/DbAdapter/posts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed105986cd45e8e06d5d7bc08093f72108d104e05886a996766231aac89a0d3"}},{"ruleId":"D1","level":"warning","message":{"text":"detect.detectMediaType (cyclomatic 23): detect.detectMediaType has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"app/support/media-files/detect.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab4db8800dd1fcd7d2804c8fe37252972647bd59c3566979885859d48f9df0e"}},{"ruleId":"D1","level":"warning","message":{"text":"process.processMediaFile (cyclomatic 23): process.processMediaFile has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/process.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f97fd3fa67df7744b5e7523212d46dccc80a7942296631a91e04fe2a2df0cb"}},{"ruleId":"D1","level":"warning","message":{"text":"feeds.feedsTrait (cyclomatic 21): feeds.feedsTrait has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"app/support/DbAdapter/feeds.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81271cad66e15d03b1fbc932ce75ad04ad2190f8521df0dde70515044a785d36"}},{"ruleId":"D1","level":"warning","message":{"text":"DataProvider.userTimelineAsQuads (cyclomatic 21): DataProvider.userTimelineAsQuads has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"app/export/gdpr.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5b40f12c1c4cc6fddbc0d47c82f117f097e0c024bb27dc3f8841783df24fa"}},{"ruleId":"D1","level":"warning","message":{"text":"process.processVideo (cyclomatic 20): process.processVideo has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/process.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"694a18bd48e60b6a68d34ea8ab5685dfe1cf3f36a2056622511c06f989503c54"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/ExtAuthController.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b338e055ced0fb31b2256ea72082c599cc02374580acaad6c3e95bbdb4d8689"}},{"ruleId":"D1","level":"warning","message":{"text":"TimelinesController.genericTimeline (cyclomatic 19): TimelinesController.genericTimeline 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":"app/controllers/api/v2/TimelinesController.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f717013d4f174e3e168fdeb918eacae6f4a25358ff422181c288b58b96da9160"}},{"ruleId":"D1","level":"warning","message":{"text":"date-parser.parseDateExpression (cyclomatic 18): date-parser.parseDateExpression has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/date-parser.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"226d429de1e08c9fac5dc054eca1277956115a38210d924f8b9122579f7d5724"}},{"ruleId":"D1","level":"warning","message":{"text":"addModel::constructor (cyclomatic 18): addModel::constructor has cyclomatic complexity 18 (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":"app/models/user.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d103a4b97f6eadf6d7fbc8ec694e849c6806dffd13d534ece67312df705e2bb5"}},{"ruleId":"D1","level":"warning","message":{"text":"commentAccessRequired (cyclomatic 18): commentAccessRequired has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 33, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f9748402932515ecf43659dd5025d60c7ce4672d747469c3776cfd7857eeb0"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTokenV1.middleware (cyclomatic 17): AppTokenV1.middleware 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":"app/models/auth-tokens/AppTokenV1.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25afbd90a4cf6a43a0f43db3d802015e1c9ebde5740aaf3b858f96d82fe5ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"user-stats-dynamic.default (cyclomatic 17): user-stats-dynamic.default has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 7 function items inside it that branch (getSubscriptionsCount, getSubscribersCount, a function literal at line 91, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/user-stats-dynamic.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa5ec9cf39a6fc81e7e4e08b6726107859a621a1768a61979c68ec0a7f0a432"}},{"ruleId":"D1","level":"warning","message":{"text":"Group.update (cyclomatic 17): Group.update 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":"app/models/group.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eb5a1dedd9d89bb36f098bf1759bf9d484d60a462c11e79624cfd40690abbf"}},{"ruleId":"D1","level":"warning","message":{"text":"User.constructor (cyclomatic 17): User.constructor 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":"app/models/user.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb5325dcbcc35116808486060276088afee7734bee19ebd6001c1061dda0076"}},{"ruleId":"D1","level":"warning","message":{"text":"event.serializeEvents.events (cyclomatic 17): event.serializeEvents.events 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":"app/serializers/v2/event.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18a0b740755d6e68a25d13beca9b5a14e3d26acaa5ae2a3a6e3c03b8e7d6356"}},{"ruleId":"D1","level":"warning","message":{"text":"comment-access-required.commentAccessRequired.\u003Creturned closure\u003E (cyclomatic 17): comment-access-required.commentAccessRequired.\u003Creturned closure\u003E 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":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f4c73335d7a58e99dca3cc6d6791615c6cc3ab6d001ac938c2e302a0415cec"}},{"ruleId":"D1","level":"warning","message":{"text":"20200421151829_feeds_cleanup.up (cyclomatic 17): 20200421151829_feeds_cleanup.up has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20200421151829_feeds_cleanup.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81bdbb1b9b98a79c4b15bdc2f4e6bee02753bc76f0d8885bce80ab276923afc"}},{"ruleId":"D1","level":"warning","message":{"text":"addModel::update (cyclomatic 17): addModel::update 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":"app/models/group.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e169023a3a90d339f9565b11e124fcff808d36c8e548189a1d205f2f146b7155"}},{"ruleId":"D1","level":"warning","message":{"text":"postItemMaker (cyclomatic 17): postItemMaker has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 15 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":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadf6cb7156b7c8be383ab6e122df5ae2a9932bfd36128cc01516a5a8e9e3469"}},{"ruleId":"D1","level":"warning","message":{"text":"comments.commentsTrait (cyclomatic 16): comments.commentsTrait has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"app/support/DbAdapter/comments.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1bd6732391e5e30499ccb0a2dfeb2d3027863fac6340140cecf276cf07e2a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Post.constructor (cyclomatic 16): Post.constructor has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/post.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec4c2d583986eac919b80722bf676b056eb499276b8173985ff16d1be043a90"}},{"ruleId":"D1","level":"warning","message":{"text":"Post.render (cyclomatic 16): Post.render has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 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":"app/views/emails/best-of-digest/Post.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"809ff5d2e5180631a46b328c484b0cb08a8343c597bbe313968feee4ddb62151"}},{"ruleId":"D1","level":"warning","message":{"text":"addModel::constructor (cyclomatic 16): addModel::constructor has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/post.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b7beb2f60d760cd6217ac296adc019c117eb3400bfba8d61ff015fcf63750"}},{"ruleId":"D1","level":"warning","message":{"text":"timelinesPostsTrait::selectPosts (cyclomatic 16): timelinesPostsTrait::selectPosts 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":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"202ff0e4604021e288f55afd908ee5cdf9cc0d1bd3806c9010843dd2c858b1c8"}},{"ruleId":"D2","level":"warning","message":{"text":"user.addModel (cognitive 142): user.addModel has cognitive complexity 142 (threshold 15). Drivers by points: if/else 87 (99 pts), boolean chains 33, error handling 3 (4 pts), loops 3 (4 pts), ternaries 2 (nesting depth added 14). 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":"app/models/user.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab46008012bb24e347d0e2ff4a3bce61e165cdc700a1725b5084a8e2571a71"}},{"ruleId":"D2","level":"warning","message":{"text":"post.addModel (cognitive 95): post.addModel has cognitive complexity 95 (threshold 15). Drivers by points: if/else 54 (63 pts), boolean chains 26, loops 4, ternaries 2 (nesting depth added 9). Of this number, 84 points are the body\u0027s own statements and 11 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/post.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd9b4f3df974b9eb69c6c76383c8dfdef0b7976a64788367e0513f0d4388951"}},{"ruleId":"D2","level":"warning","message":{"text":"attachment.addModel (cognitive 93): attachment.addModel has cognitive complexity 93 (threshold 15). Drivers by points: if/else 46 (64 pts), boolean chains 11, error handling 8 (11 pts), loops 3 (4 pts), ternaries 3 (nesting depth added 22). Of this number, 85 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/attachment.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"878f2bb3dea309f346fb7ed5b7547cae7ca34e32734a7d9aa6ba3f73285d6a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"timelines-posts.timelinesPostsTrait (cognitive 78): timelines-posts.timelinesPostsTrait has cognitive complexity 78 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 20 (28 pts), boolean chains 13, loops 9 (nesting depth added 19). Of this number, 65 points are the body\u0027s own statements and 13 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":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cba4a835223062aafbdaa661e522a57b19fe3d015c5bcf4532c82ecd13b869d"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.parseQuery (cognitive 74): parser.parseQuery has cognitive complexity 74 (threshold 15). Drivers by points: if/else 24 (52 pts), loops 6 (11 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 35). Most of this is not in the body itself: 9 of the 74 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 55, 163, 220, \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":"app/support/search/parser.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc91b17d567b3d906627a3a80b8bffe6601b1f79747921242b05956c4837172e"}},{"ruleId":"D2","level":"warning","message":{"text":"search.searchTrait (cognitive 71): search.searchTrait has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 40, if/else 20 (25 pts), loops 3, ternaries 2, match/switch 1 (nesting depth added 5). Of this number, 57 points are the body\u0027s own statements and 14 belong to 9 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":"app/support/DbAdapter/search.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"840fb81fcbf1ee4c40ea881227252d0d4d22a571585da94a343725df75246eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 55): (anonymous) has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 15, ternaries 3 (4 pts), other 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/AttachmentsController.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed964bd19eaba8c0dce1ac6aecc2da21fba7adcb9c511b38b69405102702e066"}},{"ruleId":"D2","level":"warning","message":{"text":"usersTrait (cognitive 53): usersTrait has cognitive complexity 53 (threshold 15). Drivers by points: if/else 42 (46 pts), boolean chains 2, other 2, ternaries 2, loops 1 (nesting depth added 4). None of this is in the body itself: all 53 points belong to 57 function items inside it that branch (a function literal at line 116, freezeUser, getFeedOwnerByUsername, \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":"app/support/DbAdapter/users.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d128d37283495aa296f01b67652260141bf8735ef3853c258009a7bfa7f5aa84"}},{"ruleId":"D2","level":"warning","message":{"text":"DataProvider.userTimelineAsQuads (cognitive 51): DataProvider.userTimelineAsQuads has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (37 pts), loops 7 (14 pts) (nesting depth added 31). Of this number, 47 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":"app/export/gdpr.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d96a4a4541b0d0a38a8a6568ff7681ea5ea816bf15e12f77f8aeed6c38a4e1"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel (cognitive 48): addModel has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (27 pts), boolean chains 18, ternaries 2, loops 1 (nesting depth added 2). None of this is in the body itself: all 48 points belong to 34 function items inside it that branch (getVisibilityLevel, userCanPost, loadVisibleSubscribersAndAdmins, \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":"app/models/timeline.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb2a7b0238d46a6879db255161d7b79e3969e821a6c98d800eec643d2b9ab77"}},{"ruleId":"D2","level":"warning","message":{"text":"user.serializeUsersByIds (cognitive 46): user.serializeUsersByIds has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (27 pts), ternaries 8 (11 pts), boolean chains 8 (nesting depth added 10). Most of this is not in the body itself: 7 of the 46 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). 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":"app/serializers/v2/user.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"96696932fb3ede972d56eaa189a1e5048e09c1f4aa460ff8bc710427514733a0"}},{"ruleId":"D2","level":"warning","message":{"text":"broadcastMessage (cognitive 44): broadcastMessage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 9, other 2 (nesting depth added 16). Most of this is not in the body itself: 13 of the 44 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 360, (anonymous)::isBanned, a function literal at line 274, \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":"app/pubsub-listener.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af4039ac2bb8ed2d025e2e0e36f4afd6339aad6867b9cb2ffc2b6b0d22e7d4"}},{"ruleId":"D2","level":"warning","message":{"text":"timelinesPostsTrait::getPostsWithStuffByIds (cognitive 44): timelinesPostsTrait::getPostsWithStuffByIds has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 15 (24 pts), if/else 7 (11 pts), loops 6, boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7039aaefd22b202d973fcd9c8ba189a775236fafe9d28eee72adb2c584a7cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"20200421151829_feeds_cleanup.up (cognitive 41): 20200421151829_feeds_cleanup.up has cognitive complexity 41 (threshold 15). Drivers by points: loops 5 (19 pts), if/else 7 (16 pts), boolean chains 6 (nesting depth added 23). 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":"migrations/20200421151829_feeds_cleanup.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0c1818826ba1a6761dce58a8d63e56e15e252c9bf6ab353befbffeaec9b70"}},{"ruleId":"D2","level":"warning","message":{"text":"process.processMediaFile (cognitive 37): process.processMediaFile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/process.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f8e6e0212cd9275e5107707018b027989150e5c78bc4255ef3d92a14906afc"}},{"ruleId":"D2","level":"warning","message":{"text":"searchTrait::search (cognitive 36): searchTrait::search has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 29, if/else 6 (7 pts) (nesting depth added 1). 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":"app/support/DbAdapter/search.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"566d635d20cc49f7ddeb3c88dfa2a23ec96b21769868f0a0fd0317888d0a0548"}},{"ruleId":"D2","level":"warning","message":{"text":"User.update (cognitive 35): User.update has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4068af02200f118532549d6ac0d05941e2dc22040ff38aed125a1be8b16673f3"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel::update (cognitive 35): addModel::update has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb9a6c0bb395a50f35a66d46778f6ca5e17715b06510b2b50d1c6e36a8b6ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 35): (anonymous) has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 4, ternaries 2, error handling 1 (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 3 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8b68af4a99bd0b0fb0907495b99eb4fb5b3a8dc17bfeaecaa4dfc327730f9d"}},{"ruleId":"D2","level":"warning","message":{"text":"serializeFeed (cognitive 35): serializeFeed has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, loops 2 (4 pts), ternaries 4, other 3 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 3 belong to 16 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":"app/serializers/v2/post.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"613da4a8f1dc8357fe3f6c508cff4ddadc23da5cd0879934d1fed63df1437a45"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 34): (anonymous) has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 4 (10 pts), boolean chains 3, error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/ExtAuthController.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"092c9b96189ce7017a5fcd63d5c6331ad50e5c0163a79a9e45d62c59fc492248"}},{"ruleId":"D2","level":"warning","message":{"text":"process.processVideo (cognitive 33): process.processVideo has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (23 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 8). Of this number, 32 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":"app/support/media-files/process.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b53b3a1fbcc31621a5751982305bc53a1d6b2080053e8e619fb39dfffa8dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"group.addModel (cognitive 33): group.addModel has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 10, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae32201c37fa2598417e4ee558613bc4e875a5d37eda20f1b58e548389369079"}},{"ruleId":"D2","level":"warning","message":{"text":"articles.articlesTrait (cognitive 32): articles.articlesTrait has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 8, boolean chains 6 (nesting depth added 1). Most of this is not in the body itself: 14 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 241, 180, 415). 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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe33ccd721b5c376dcd65e457cf7d6cd6f71c2422972c518d1ae76b200e150b"}},{"ruleId":"D2","level":"warning","message":{"text":"attachment.serializeAttachmentV2 (cognitive 32): attachment.serializeAttachmentV2 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (5 pts), ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/serializers/v2/attachment.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6baa51380b5292991ca7befb163a6d3f069ba6a47a0f1bdec7e298a032170a2"}},{"ruleId":"D2","level":"warning","message":{"text":"hashtags.hashtagsTrait (cognitive 30): hashtags.hashtagsTrait has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 11, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/hashtags.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13b2bf455572f6e8a62a18c4422a8c56f4e1db669090d451915fdf32201e64d"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel (cognitive 28): addModel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, boolean chains 9, loops 1, match/switch 1, ternaries 1. None of this is in the body itself: all 28 points belong to 24 function items inside it that branch (validate, constructor, inactivate, \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":"app/models/comment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ec2cb665daec6b5045eadf02e2b859edc5957d5dec46f23199e0398f9a94f"}},{"ruleId":"D2","level":"warning","message":{"text":"posts.postsTrait (cognitive 26): posts.postsTrait has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 2, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 29, 349, 261). 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":"app/support/DbAdapter/posts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ddb7cbaedcf8626a5085a93470fcab74339fa4f146373570b1349cfcaaffe"}},{"ruleId":"D2","level":"warning","message":{"text":"detect.detectMediaType (cognitive 26): detect.detectMediaType has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 9). Of this number, 25 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":"app/support/media-files/detect.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce39db9b0a14ae60311bc58c43486d07b48ae9e85ae8ee565387a57befec5c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TimelinesController.genericTimeline (cognitive 26): TimelinesController.genericTimeline has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, ternaries 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesController.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d88444c6659d421a614a7b5dd1817ce5d270b133ce46d2eeb7f62c78296ad"}},{"ruleId":"D2","level":"warning","message":{"text":"commentAccessRequired (cognitive 25): commentAccessRequired has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, ternaries 2 (5 pts), other 1 (nesting depth added 6). None of this is in the body itself: all 25 points belong to 2 function literals inside it that branch (lines 33, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d732aedbad941f41adb9005e590dad6601b80e0f5999133be569d2abff81b7ef"}},{"ruleId":"D2","level":"warning","message":{"text":"subscriptions.subscriptionsTrait (cognitive 24): subscriptions.subscriptionsTrait has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 3, loops 3, ternaries 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 8 belong to 3 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":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ba65aea261bf3e4d64fd1303888256e221c905143f67aa03ffd639f7819b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"comment-access-required.commentAccessRequired.\u003Creturned closure\u003E (cognitive 22): comment-access-required.commentAccessRequired.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, ternaries 1 (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":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"130fd3d4749c18a2120abcac8c2a0046b57f67440a740958d2e98c568a3ee812"}},{"ruleId":"D2","level":"warning","message":{"text":"timelinesPostsTrait::selectPosts (cognitive 22): timelinesPostsTrait::selectPosts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73eb697aaa6bda9e2d74fe5583fb6823d3fb4a43ceb4af5938066d96008bcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 22): (anonymous) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 2 belong to 9 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":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c669de9b80da80fda59a4077ffc3ee55d2fb2f2f27abf9ad1e36dd590ca1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 22): (anonymous) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (2 pts), other 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/PostsController.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efeb8249c35498be7671ce282c305966a81a632a2f98802a286ee6625954797"}},{"ruleId":"D2","level":"warning","message":{"text":"postItemMaker (cognitive 22): postItemMaker has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 9 belong to 15 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":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb9be1e145f3b7cf4343e5bfea2dc028442b9448984bbe88c0423058387f55"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.attachmentsTrait (cognitive 21): attachments.attachmentsTrait has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/attachments.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"341eb1d317b3e03557ce4c156f02d1f13cacff8f1ef7386a6bd9285d39f6a235"}},{"ruleId":"D2","level":"warning","message":{"text":"feeds.feedsTrait (cognitive 21): feeds.feedsTrait has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 1). Of this number, 16 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":"app/support/DbAdapter/feeds.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"648d9bf9766a51b348aa3581b3edccbdb0ad1bf3cb10f6664ec1f3b4673b37f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.toTSQuery (cognitive 20): Text.toTSQuery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/query-tokens.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6783164228667112fc484c5f6036d23d17b542bbfc23d6b8d2094119fb371b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTokenV1.middleware (cognitive 19): AppTokenV1.middleware has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2 (3 pts), error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/auth-tokens/AppTokenV1.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19a38b6f04e20435194d2326f5db1fcb17746efb1d091ab43592c417ee18cf"}},{"ruleId":"D2","level":"warning","message":{"text":"welcome-directs.jobHandler (cognitive 19): welcome-directs.jobHandler has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/welcome-directs.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb863deefcfd4bb5cde5622388af92317bedc60f3305408d75ca083093ca61b2"}},{"ruleId":"D2","level":"warning","message":{"text":"rateLimiter.rateLimiterMiddleware (cognitive 19): rateLimiter.rateLimiterMiddleware has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (3 pts), boolean chains 2 (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":"app/support/rateLimiter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce58991a99de1f4c7cddbeebe2e6ab38db64d587469d1e7bc157d459abc522e"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel::constructor (cognitive 19): addModel::constructor has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), other 1, ternaries 1 (nesting depth added 1). 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":"app/models/user.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a114cbd72189ccf41947f1e87bd10f6e954a034285302a414632093bed1d34f8"}},{"ruleId":"D2","level":"warning","message":{"text":"getDestinationFeeds (cognitive 19): getDestinationFeeds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), other 3, boolean chains 1, ternaries 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to 9 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":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1c1fc213e140db9058cae292347f2d6108c9255b16f87df47d7ed85d81d790"}},{"ruleId":"D2","level":"warning","message":{"text":"EventService._processMentions (cognitive 18): EventService._processMentions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 913). 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":"app/support/EventService.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6caee542cf2075d65f59cc4b9510f905757a2f54ff4459111c5556ebe2ec53c"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry.getImagePreviewSizes (cognitive 18): geometry.getImagePreviewSizes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 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":"app/support/media-files/geometry.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9ae45f803db64cb57b6eff0c2e69a0670710ac5c82791f2d9963a18f74472"}},{"ruleId":"D2","level":"warning","message":{"text":"Group.update (cognitive 18): Group.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc68c6ba09d24331bb957d8bc9ae29cd621d0e1061b2c75d88b63252d4d98b6"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersController.validateInvitationAndSelectUsers (cognitive 18): UsersController.validateInvitationAndSelectUsers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eac92dfc5b4074a7a5efe5cc6279468afce3e98033311133a52f208b9da04f"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel::update (cognitive 18): addModel::update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d801fac3a1a1da014765de18aa02335aa24e4150f4c3f7ea4aa2c8d6165af8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Address.constructor (cognitive 17): Address.constructor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/ipv6.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfdb0afa2cd4fff23cf25f4d43e73b828bd645a8820e0ef9ffc5852cf05a7ae"}},{"ruleId":"D2","level":"warning","message":{"text":"date-parser.parseDateExpression (cognitive 17): date-parser.parseDateExpression has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/date-parser.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92025d551795eb92c95f5c3f19bece76f3d9656ce75c78078fc11676f0ec988b"}},{"ruleId":"D2","level":"warning","message":{"text":"counter-parser.parseCounterExpression (cognitive 17): counter-parser.parseCounterExpression has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/counter-parser.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e238b35f78b556089c0931a9b7d65889d4fe936eb3fd0814d2068fc68b30b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Post.constructor (cognitive 17): Post.constructor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. 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":"app/models/post.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"beed86ce1b9e5287855af702eb9be16f68a929cff0ec9af620d6242f76eb82f5"}},{"ruleId":"D2","level":"warning","message":{"text":"User.constructor (cognitive 17): User.constructor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts) (nesting depth added 1). 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":"app/models/user.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a4c533a33f4f41b5268b9fd834cba132b1649d51772b96e35969aa6d71f7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PubsubListener.onConnect (cognitive 17): PubsubListener.onConnect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2, boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 17 points belong to 5 function literals inside it that branch (lines 132, 176, 106, \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":"app/pubsub-listener.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0b6387fed405059bc467c2f932ba167ece39ec204194e2c04d6f5c0aad44e7"}},{"ruleId":"D2","level":"warning","message":{"text":"usermod.setGoneStatus.\u003Creturned closure\u003E (cognitive 17): usermod.setGoneStatus.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bin/usermod.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2ef2573c6b909255ab4ccfe2406571b758d9f79cda970a8cac1ca2720d1f62"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel::constructor (cognitive 17): addModel::constructor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. 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":"app/models/post.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9115c9047c4fa2e75172e3c2ff7544dbca54d3dae29438cd231d8c17b57112f"}},{"ruleId":"D2","level":"warning","message":{"text":"Address.toString (cognitive 16): Address.toString has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (3 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/ipv6.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04849a878a6f8cf88bd1d76f56f46ab932e412671f89d898981c477188a0d88"}},{"ruleId":"D2","level":"warning","message":{"text":"jobs.jobsTrait (cognitive 16): jobs.jobsTrait has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4, boolean chains 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: 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":"app/support/DbAdapter/jobs.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e91e4e9925c7c53d47993ace3f199a305a160a1fb38638a7c3d14728c70b042"}},{"ruleId":"D2","level":"warning","message":{"text":"user-stats-dynamic.default (cognitive 16): user-stats-dynamic.default has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 2. Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 7 function items inside it that branch (getSubscriptionsCount, getSubscribersCount, a function literal at line 91, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/user-stats-dynamic.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47d334d5df4cc793df3195cbd1bdecb4526e4e8f1acc0051d9ff24f5982b962"}},{"ruleId":"D2","level":"warning","message":{"text":"Attachment.finalizeCreation (cognitive 16): Attachment.finalizeCreation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 4 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/attachment.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2a2de3d7a278c8a0ba287bbcf5c45621efbefd84de21730510cbd6d13dfbc3"}},{"ruleId":"D2","level":"warning","message":{"text":"event.serializeEvents.events (cognitive 16): event.serializeEvents.events has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 2. 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":"app/serializers/v2/event.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64a322dbb99ae4b6bab997b79394d57f338567de876443008e482832d1cb056"}},{"ruleId":"D2","level":"warning","message":{"text":"getClikesAuthorsSQL (cognitive 16): getClikesAuthorsSQL has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 5). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 635, 634, 647, \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":"app/support/DbAdapter/search.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae0b71dd191c76178147594891d8e0d3efdbbf100c367947bc2987304f3ef48"}},{"ruleId":"D2","level":"warning","message":{"text":"addModel::finalizeCreation (cognitive 16): addModel::finalizeCreation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 4 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/attachment.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"640791529e6d7e45ca03f2f78bef5f269c3c9ec96479b7d5ffa5a85cd2d8ced2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user.addModel: FunctionTooLong \u2014 addModel runs 713 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 613 over it, 7.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b087fc68f138493402380a7ae72d5d56c79824471583f59679fffc12d3b5a8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: post.addModel: FunctionTooLong \u2014 addModel runs 533 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 433 over it, 5.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/post.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"46762f039e13b81c6187a3722c603696dd381e5b8bbbd7e18f797748f145a925"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: users.usersTrait: FunctionTooLong \u2014 usersTrait runs 410 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 310 over it, 4.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e3528a5f9a75716406e6293f5d6c9fa75ab3a9f9e6d5891290f813d8e57847"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: User: TooManyMethods \u2014 109 methods. The bar is 30 methods; this is 79 over it, 3.63\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":"app/models/user.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4bfe872682e250ea31bfb9d2ca94191f1a83f3bd6bb8ab96f22e9c82f69edd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attachment.addModel: FunctionTooLong \u2014 addModel runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/attachment.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585b2cd786b04834295977ce0acfec85b4153338b07030b918ebc95849af62d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: search.searchTrait: FunctionTooLong \u2014 searchTrait runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"app/support/DbAdapter/search.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"427162dc9d7804e92c90f5859337f4b2b2dc6e971dfac586bdc741d7c01bc831"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: articles.articlesTrait: FunctionTooLong \u2014 articlesTrait runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd71b1bcfa7855048a1ba7fef3fa4b919769685079b67a4d134141f51934b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: posts.postsTrait: FunctionTooLong \u2014 postsTrait runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/posts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"18de880e28f87bca7bd9416729c0944166ff006dbb32ed59c59c05b0385be81c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: 20160405133637_initial.up: FunctionTooLong \u2014 up runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20160405133637_initial.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d3d69da39a93c9407f834cca399c1b5f4bcadbd71a155e7a0282a2a4c1df5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataProvider.userTimelineAsQuads: MethodTooLong \u2014 userTimelineAsQuads runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/export/gdpr.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce06a367b614f4844e082cc211a87102af74469667721aa59baf4c6b43dbf8d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: comment.addModel: FunctionTooLong \u2014 addModel runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/comment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f0298c6f97c899ef5bb1ba507dd2fb080170c0b7a895c97184c0aaa802688e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: visibility.visibilityTrait: FunctionTooLong \u2014 visibilityTrait runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/visibility.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aefeb334326c5042d93857556406d0ca5c021b55fd6643b9e87a139a695326"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feeds.feedsTrait: FunctionTooLong \u2014 feedsTrait runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"app/support/DbAdapter/feeds.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725b511b81ec4ddc1f5b1aa1dc68f2ee79fc6a72cfa03683edba2e450361e96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: timeline.addModel: FunctionTooLong \u2014 addModel runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"app/models/timeline.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7a0fbd134d2a503da2b01a9e2b37e11e54965727181fcb73633d4e2a13c7c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Post: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"app/models/post.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc7125fe1cd6a96721c2a8db8e7c6f6f61f6c43bea743d4f20d716b5990061d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/user.js: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: addModel (53-1411). The bar is 500 significant lines; this is 250 over it, 1.50\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":"app/models/user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"834fc605b1427bdea83d2e1803351d0d50a6867a4f05ddefb1b7227c547ec725"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: support/EventService.ts: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: EventService (20-972). The bar is 500 significant lines; this is 247 over it, 1.49\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":"app/support/EventService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480c8f84a598cacf9c92f5e924031760cd18dfa10fc57cdf392cb79efb7dda4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: comments.commentsTrait: FunctionTooLong \u2014 commentsTrait runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"app/support/DbAdapter/comments.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da2e5bdc01c5df1ea435db8fddd034ed14c94901564ce059ec61bcb9201fb2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: group.addModel: FunctionTooLong \u2014 addModel runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"app/models/group.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da11e16bd2e0253cd958d58757bc94aabc124e37585a00f379c19c19c66a5da3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PubsubListener: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 149 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ef681e6b14effee1061c62b0242c601f5d108adb801bf05cd98dfcfaef928"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/pubsub-listener.js: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 84% of them inside a single declaration: PubsubListener (32-971). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa71bf92d5302472a747efd4defc5ae8a4c69270fb79cddb4a3ab9923d231c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attachments.attachmentsTrait: FunctionTooLong \u2014 attachmentsTrait runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"app/support/DbAdapter/attachments.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2622c610b2dc0067ce72bda14c1b0c1ab53dda54fa27827b4ad7a8fb3150d41"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventService: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"app/support/EventService.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6421ee82069910aeecc646e74f950ebd8f8bb3e647b2e6ceeca3cac06fda362a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bans.bansTrait: FunctionTooLong \u2014 bansTrait runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/bans.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c5e136664dc6995d6da3d56fdf5ef819fa94190dbb7982b1f0f3854eb53df6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.eventsTrait: FunctionTooLong \u2014 eventsTrait runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/events.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"69147e851489a79954319352db9ce1f2cf1ac8b44a1347ca969f93c220d10474"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process.processVideo: FunctionTooLong \u2014 processVideo runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/process.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c841ec7c6834b55c0669c6d34c5a14b61e502603686daf5f60a82b62d39c97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Post.render: MethodTooLong \u2014 render runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/emails/best-of-digest/Post.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c59e50957a10c9f48338eb79a5b4df8b8b86271ca856a3960fb0942416f98f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PubsubListener: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f28ba9381c84317ee193dfc7f9a774bb49b79680d9122ce7fbec1ced3130d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hashtags.hashtagsTrait: FunctionTooLong \u2014 hashtagsTrait runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/hashtags.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a332ffe0da0a9308e8be9190fbf544b7e9d0dc107b3c6e6c7bc2415a744a3270"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/post.js: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: addModel (35-1140). The bar is 500 significant lines; this is 53 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":"app/models/post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61b5b0543a4b8d138a6856c7632c9b9ea6a4ccd4e56c4f3e973a3bbeae60c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: 20161215174952_posts_privacy_flags.up: FunctionTooLong \u2014 up runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20161215174952_posts_privacy_flags.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba613fb50a2e1c1df64d869795a68b80d65885032e00c9fc5dede3217638f15d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DbAdapter/users.js: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: extends (41-758). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d964fb78ca976b3612c3c41671c523c7b8cad458d60a2ae595f67ca13b68a405"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jobs.jobsTrait: FunctionTooLong \u2014 jobsTrait runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/jobs.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab219aa9c065bb854917856980e9da22b10d55423c76a1f025e1ee4c8192137"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: comment-likes.commentLikesTrait: FunctionTooLong \u2014 commentLikesTrait runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"app/support/DbAdapter/comment-likes.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2541cc4c8673655a4eebddfefaaee4be47776b25665a56c83e55d2f25f9b124a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/UsersController.js: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: UsersController (53-780). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc53159328ce97f4f21d504a0462efee72bb941a798e0afdba03c481b2f80d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: user-stats-dynamic.default: FunctionTooLong \u2014 default runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/user-stats-dynamic.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a764e0b5aca5a597cbd4396cb6db7801a63831a0759eca2714c147561b4ce1b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Group (LCOM4 7): Group\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fbd1c79d829841323036d468fe249a718c531cc4c198a281d904a397e3c4a6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PubsubListener (LCOM4 7): PubsubListener\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe45e1fc546ce97ade68691fb073c0e38a3adef313ef8576e3395be00dd7a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JobManager (LCOM4 4): JobManager\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":"app/models/job.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"089254a49ba10564fa124f46ffa9bd270700dff06315c6abb46898f8e82886e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the mocha suite in the repository root ran and not one test passed (SyntaxError: The requested module \u0027node:module\u0027 does not provide an export named \u0027registerHooks\u0027), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should protect user stats: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/privates.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3b0a25ec5dc760674c7616e4ef10adf5b6508fd17ffb1577b312aad32999b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not search anonymously with from:me: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/search.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc994b0f77e3d7f33a30300a37997f5b3c2ed81d2be51122513510578dc08b0d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should return public posts to anonymous viewer: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/timelines-everything.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d3cb2cf67fa14bdd66459b1978ff05544d4bb89c3fb85c2011ef841a17db4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should return public posts to anonymous viewer: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/timelines-everything.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc0ce45e293a0114bf3867c15cacd485e6bc3dafaf2b942d33779375642edcd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should clean up the old data and doesn\u0027t blow up: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/support/DbAdapter/translation-usage.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41010c9d0f56595395dc8f2af49c2d93bbfa6e2129cecd20e52cd62c3c890ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not find comment with invalid id: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/comment.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2b0d4a61d4135ebc3644bcbe18b3a523b64c0de96af3fc8af55a238d8abab7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not find timeline with an invalid id: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/timeline.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c677ce9ece705bfd1093736e869bf868f1a247184429c62ed759f54ba1d9436"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should allow username \u0027${username}\u0027: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/user/user.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1561515796635f54d97f0479aafed46d8a37f2245d889a22306dfcdaaaa8deb7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should validate syntactically correct email: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/user/user.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"375b6b2055c73bc2d5d7b33f38d6d2b0acb4ba62556ff9483a81804562c5c6ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should validate without email: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/user/user.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d887fa36b2482b3403009c42782e8bfe130574584c1af88908159f8281fa6fa8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not find user with an invalid id: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/user/user.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa0e4a5a05110d36de4cd6a4e08e0ae9c3f971a5f7ed050e9cfe7217f9cf636"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not find post with an invalid id: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/models/post/main.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8672a9a393d2b853096089a8f704eaaa3587e0967fed6bef620da52e358afd44"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should cover the \u0027${route}\u0027 route: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/app-tokens.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed081275b90ded6402d9e57b021f24af6e6b402b9dd39ecab4e1826b119e3a6c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should not publish \u0027${eventNames.POST_UPDATED}\u0027 for a body-only change: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/articles-posts.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"02db86373a762fa39eec4b2725a56f4e83eeba2bf84dbd60e6dbc7e75fbea0cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should let user to use email, which was used by other user, but not used anymore: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/users.js"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71b71b3cc8a67d4e43a7c4967352380368c6a74bef62bdaf9c4d56e7f3e60ab"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: raven: raven 2.6.4, declared in package.json, is marked deprecated by its publisher: \u0022Please upgrade to @sentry/node. See the migration guide https://bit.ly/3ybOlo7\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f2af11d11bfd87c2a2ded15ed6536ecda641263dc5b480f30e74724e5646d1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 9.39.5, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @aws-sdk/core: @aws-sdk/core 3.977.2 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Deprecated due to Document number parsing bug in JSON, see https://github.com/aws/aws-sdk-js-v3/issues/8246. Newer version available.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c890f925440b6a826d456598002bc42901d03ba0b4c61e4f159f9cef3bb5dd34"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @koa/router: @koa/router 9.4.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022**IMPORTANT 10x\u002B PERFORMANCE UPGRADE**: Please upgrade to v12.0.1\u002B as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e560680d4435b05621ec0848e7c5f77b1f2acd6c80108b199371639324cbe8"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 10.5.0 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":5323}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebcbe5cfec9965c6fbf9529785e9791032568451cf64dd1c1c01dd611643944"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 6.0.4 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"31beac7282a29dcabcca981a76386e2a3e3bc8c0c313cf0de57a17da22e5d150"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":5772}}}],"partialFingerprints":{"codehealthFindingId/v1":"55be9905a34a12b9511076231a068531da3ac6b41453399bbd9f2029c07dc756"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 3.0.2 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":8952}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eee92188ebd48360d1f320b3f5bc255da846526549cda5081de851ea4cbe73"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 2.4.5 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":8963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b803fec8e0d98be69c56fa9f12af400494db0acb59efbb4fd355ba40cf30f201"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: uuid: uuid 3.3.2 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":10515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c74464e841fe625856850f14ed2ca8294e5bf5896adcdd3d2f7186fbd329a02"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: uuid: uuid 8.3.2 is resolved in yarn.lock and is marked deprecated by its publisher: \u0022uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"yarn.lock"},"region":{"startLine":10524}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b96fa42443c40d02930a5b413b69c2e2a78b6fdfd114c5fc2d5957e0d70bd3"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: whatwg-encoding: whatwg-encoding 3.1.1 is resolved in yarn.lock 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":"yarn.lock"},"region":{"startLine":10593}}}],"partialFingerprints":{"codehealthFindingId/v1":"af53de653a0bb0be8ffdc0a977fb9371aa6cc6deacd91c571f062076c05fb927"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/support/DbAdapter/articles.ts: app/support/DbAdapter/articles.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in articles.articlesTrait at line 27. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 15:55:48 \u002B03:00\u0027 --until=\u00272026-11-10 15:55:48 \u002B03:00\u0027 --full-history --no-merges -- app/support/DbAdapter/articles.ts\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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced7c60d7441362411d931e02706f2c20578fefb25f1a5111a5a249a53899f0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/models/post.js: app/models/post.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in post.addModel at line 35. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 15:55:48 \u002B03:00\u0027 --until=\u00272026-11-10 15:55:48 \u002B03:00\u0027 --full-history --no-merges -- app/models/post.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":"app/models/post.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ceee681d6ce8b84b4c171f9098a6073cc2084a9f4aeaf4b4b0ec3ae67965f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/support/DbAdapter/posts.js: app/support/DbAdapter/posts.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in posts.postsTrait at line 17. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 15:55:48 \u002B03:00\u0027 --until=\u00272026-11-10 15:55:48 \u002B03:00\u0027 --full-history --no-merges -- app/support/DbAdapter/posts.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":"app/support/DbAdapter/posts.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ba9e1adcfe344364c8dd875f0a4c6802f7dca42e45870e554b1363f73d50f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/serializers/v2/post.js: app/serializers/v2/post.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in post.serializeFeed at line 37. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 15:55:48 \u002B03:00\u0027 --until=\u00272026-11-10 15:55:48 \u002B03:00\u0027 --full-history --no-merges -- app/serializers/v2/post.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":"app/serializers/v2/post.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51dfe93fa8e8150ecc7a631a7411902328b8fb6c56fc73e19e01c47b305ace9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/support/DbAdapter/comments.js: app/support/DbAdapter/comments.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in comments.commentsTrait at line 15. 1 of those changes was a fix/bug commit, and the other 1 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 15:55:48 \u002B03:00\u0027 --until=\u00272026-11-10 15:55:48 \u002B03:00\u0027 --full-history --no-merges -- app/support/DbAdapter/comments.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":"app/support/DbAdapter/comments.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908e40a07668f859fa60b8ce4ca57bc3cab986b8017609b3f19f02b4b2f7af4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 42 significant file(s) lose their only recent owner: app/models/user.js, app/pubsub-listener.js, app/models/post.js, app/support/DbAdapter/search.js, app/models/attachment.js, app/support/media-files/process.ts, app/support/DbAdapter/posts.js, app/support/DbAdapter/articles.ts (\u002B34 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e43aaea27351634848d2629ffd0227f1ce70d009ea43bc37244e56b1c2404da5"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the URL has allowed prefix\u0022 repeats the code it sits on: 4 of its 4 words (check, url, allowed, prefix) are already in \u0060if (!allowedUrlPrefixes.some((prefix) =\u003E url.startsWith(prefix)))\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":"app/controllers/api/v2/CorsProxyController.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b791e4a36ee166b4d14e49128c0bcaf245c13d9ec99813abdf5053eb1b2f1289"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022adjust if end is before MIN_START_DATE\u0022 repeats the code it sits on: 4 of its 5 words (end, min, start, date) are already in \u0060if (end.isBefore(MIN_START_DATE))\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":"app/controllers/api/v2/StatsController.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c463c7eb005b3f73dffb3790dc969be71cf7d607643f94be6e1590c5ac1fc2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get timelines that forms a \u0022RiverOfNews\u0022 of current user\u0022 repeats the code it sits on: 6 of its 7 words (get, timelines, river, news, current, user) are already in \u0060const homeFeed = await currentUser.getRiverOfNewsTimeline();\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":"app/controllers/api/v2/SummaryController.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1d09ab0eef7e7ae0379ce64285484cbb003e86d5ff04e281f791f96c7f10cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get posts current user subscribed to\u0022 repeats the code it sits on: 4 of its 5 words (get, posts, current, user) are already in \u0060const foundPostsIds = await dbAdapter.getSummaryPostsIds(\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":"app/controllers/api/v2/SummaryController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e33475d4591cf45dd2ab5ff74e31a1653222c128a287acd21e6857ccf6fd047"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get timeline \u0022Posts\u0022 of target user\u0022 repeats the code it sits on: 5 of its 5 words (get, timeline, posts, target, user) are already in \u0060const [timelineIntId] = await dbAdapter.getUserNamedFeedsIntIds(targetUser.id, [\u0027Posts\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":"app/controllers/api/v2/SummaryController.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"032e0eed2e78db76b838020bac4b6d4bf4ece43f54499dc123544d8bedf7a8fe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check timeline visibility level\u0022 repeats the code it sits on: 4 of its 4 words (check, timeline, visibility, level) are already in \u0060const visibilityLevel = timeline\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":"app/controllers/api/v2/TimelinesController.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa86f997fc4bf572ce096a93b57de54d84c7504393b4f40ba85b6797a427dae0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022UIDs of users our user subscribed to\u0022 repeats the code it sits on: 4 of its 5 words (ui, ds, users, user) are already in \u0060const subscriptionsUIDs = _.map(subscriptions, \u0027user\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":"app/controllers/api/v2/UsersController.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5149999fffe0f0e2c4ac9193c0bb7a9de105e3688a0f5b02ff23dc856ecb89d7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send email to user\u0022 repeats the code it sits on: 3 of its 3 words (send, email, user) are already in \u0060await Mailer.sendMail(\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":"app/jobs/user-gone.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a159e660a4ae97aded34ac2645cb85d64ef22fe477aed39a52c23db0fcb5a0e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send email to user\u0022 repeats the code it sits on: 3 of its 3 words (send, email, user) are already in \u0060await Mailer.sendMail(\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":"app/jobs/user-gone.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"362e997fe5266f3842cb9ee9cd636071418831f0da5eccce90ade66815303175"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send email to user\u0022 repeats the code it sits on: 3 of its 3 words (send, email, user) are already in \u0060await Mailer.sendMail(\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":"app/jobs/user-gone.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37a46e3f4fd87a9ef09d99c897ce738058e67dbc19056c18fb156756ccba262"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update post in DB\u0022 repeats the code it sits on: 3 of its 3 words (update, post, db) are already in \u0060await dbAdapter.updatePost(this.id, payload);\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":"app/models/post.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e6d3455f16c0f4268102a9b44b73400a1ff30b85af85154498554c631262a0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a short ID for the article\u0022 repeats the code it sits on: 4 of its 4 words (create, short, id, article) are already in \u0060await createShortId(currentConfig().shortLinks.initialLength.article, (shortId) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/articles.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b07716e216c666d2ae14e8e738700defd61b9451fe2d6c586436180e801568a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update backlinks in the comment body\u0022 repeats the code it sits on: 4 of its 4 words (update, backlinks, comment, body) are already in \u0060await this.updateBacklinks(payload.body, payload.postId, commentId, trx);\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":"app/support/DbAdapter/comments.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"20179caa11f9b50ed8fbe2326d6cf9be2048ea680305fc05e6f0fd14a0a661d7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022postId can be either a short ID or UUID\u0022 repeats the code it sits on: 4 of its 4 words (post, id, short, uuid) are already in \u0060const postCondition = validator.isUUID(postId)\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":"app/support/DbAdapter/comments.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958d86b1d9d65c8b051cbf40bf9abf30348dbe1fb7828ad1f36c5d0a5558640"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022How many jobs are already taken for each job name?\u0022 repeats the code it sits on: 4 of its 5 words (jobs, taken, job, name) are already in \u0060const takenCountsRows = await db.getAll(\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":"app/support/DbAdapter/jobs.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d02771a9b812a917ff466f6bc58ad5caf56e556f07b26cf654b24862027e016"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a short ID for this post\u0022 repeats the code it sits on: 4 of its 4 words (create, short, id, post) are already in \u0060await createShortId(currentConfig().shortLinks.initialLength.post, (shortId) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/posts.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bb01d52fe89fd05996963c40fe69ccdef7e6d42255b535d05747ad1fdf0dc6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update backlinks in the post body\u0022 repeats the code it sits on: 4 of its 4 words (update, backlinks, post, body) are already in \u0060await this.updateBacklinks(payload.body, postId);\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":"app/support/DbAdapter/posts.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"832281f17ad54815199258f4df2632775061861fb063e13153c105dbc6d3a282"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update backlinks in the post body\u0022 repeats the code it sits on: 4 of its 4 words (update, backlinks, post, body) are already in \u0060await this.updateBacklinks(payload.body, postId);\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":"app/support/DbAdapter/posts.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb201a3e2bc7ab3767def4d482787108d1417e2e4beaee4a9b085f91fd1fb9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Are we subscribed to the Posts feed?\u0022 repeats the code it sits on: 3 of its 3 words (subscribed, posts, feed) are already in \u0060const wasSubscribed = subscribedFeeds.includes(targetFeeds.Posts);\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":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0df990356b53924df3d004bcb5b3abf7d1bd3fa2a7dc31ee71d9107c81d2683"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete subscription request if any\u0022 repeats the code it sits on: 3 of its 3 words (delete, subscription, request) are already in \u0060await trx.raw(\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":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544bcb774d69b08f1669ff5fa7c454727c3b22d20d6b6ec81d231229763a457"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete subscription request if any\u0022 repeats the code it sits on: 3 of its 3 words (delete, subscription, request) are already in \u0060await trx.raw(\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":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a88c6bf8c0ee19b2f1fad476660a9be9dcc6c58792764d3b661c66cf46f5586"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Can we use the original video stream for the largest preview as is?\u0022 repeats the code it sits on: 5 of its 6 words (use, original, video, stream, preview) are already in \u0060function canUseOriginalVideoStream(info: MediaInfoVideo, maxPreviewSize: Box): boolean\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":"app/support/media-files/process.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"3235ebf3244953edbbc17446252259ecf33fed825832d6831f77b36ac4508b29"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022All user\u0027s feeds of this name\u0022 repeats the code it sits on: 3 of its 3 words (user, feeds, name) are already in \u0060const feeds = await query(\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":"migrations/20200421151829_feeds_cleanup.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"441ac1d7a38c748b7a7e27de1bfdbfe03b289fa06ef41955141d3d5c19928e55"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add unique constraint on feeds table for user_id and name\u0022 repeats the code it sits on: 8 of its 8 words (add, unique, constraint, feeds, table, user, id, name) are already in \u0060await knex.raw(\u0060alter table feeds add constraint feeds_unique_feed_names unique(user_id, name)\u0060);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20200421151829_feeds_cleanup.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a93c937bfdc08f6ec7f68dd47005bb75d7a734d6fb5376f1c8ec60fdde37e8d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 10, 54, 77, 84, 104, 112), for example \u0022Add normalized_name column to hashtags\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":"migrations/20251203123120_hashtags_autocomplete.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc94c42d1b7edbd29afa84e7766c553437b12e1c0d2f435106aa45b2d837a71"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Subscribe Mars and Venus to groups\u0022 repeats the code it sits on: 4 of its 4 words (subscribe, mars, venus, groups) are already in \u0060await Promise.all([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/all-groups.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b021f437929f31e5c1906cce35f6672a00b67dd07a017efc9787738b38c9e8cf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mars bans Luna\u0022 repeats the code it sits on: 3 of its 3 words (mars, bans, luna) are already in \u0060await banUser(mars, luna);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/comments.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec5295a04c1bdd145f39f00878beec627deb36477a994e1d34a62b2455aa2bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Luna likes comment\u0022 repeats the code it sits on: 3 of its 3 words (luna, likes, comment) are already in \u0060await likeComment(commentId, luna);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/gone-users.js"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1931634c0d478367e37318e271ddce4a074b0363eb4034188a6835acc1809dd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022old screenName\u0022 repeats the code it sits on: 3 of its 3 words (old, screen, name) are already in \u0060data.users.screenName.should.eql(oldScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/groups.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8214b5436e68993367e153bfd8a1d7a4f6fad3ea73138b6e21c86903d72e8dbf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022old screenName\u0022 repeats the code it sits on: 3 of its 3 words (old, screen, name) are already in \u0060data.users.screenName.should.eql(oldScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/groups.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9738afcbb89fe6cc5b14d31acd618f245286a0b748dab3c9c3a8f0567ca958"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022new screenName\u0022 repeats the code it sits on: 3 of its 3 words (new, screen, name) are already in \u0060data.users.screenName.should.eql(newScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/groups.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f270dc02a32f35260c6806beeca474d7ece45722826e838f6a12c68c0d972b8a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mars posts in group\u0022 repeats the code it sits on: 3 of its 3 words (mars, posts, group) are already in \u0060marsPostsInGroup = [];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/local-bumps.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e419f8eff41541022761a9f03c1dd01800dda4bdf690d1352fbd17ad2cf00"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Hercules sends request to Luna\u0022 repeats the code it sits on: 4 of its 4 words (hercules, sends, request, luna) are already in \u0060const resp = await funcTestHelper.performJSONRequest(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/privates.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d4ea62dbe51d3586093c3be5b45c04ed1a5fb5f06bec7e7d2c1c949063e6b5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Luna accepts Hercules request\u0022 repeats the code it sits on: 4 of its 4 words (luna, accepts, hercules, request) are already in \u0060const resp = await funcTestHelper.performJSONRequest(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/privates.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ceece86a6a0336f7807ca514f63126f508a3dd1344d791f6e14696e51a5605"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Luna rejects Hercules request\u0022 repeats the code it sits on: 4 of its 4 words (luna, rejects, hercules, request) are already in \u0060const resp = await funcTestHelper.performJSONRequest(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/privates.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024f23bd46bf67cacc6ecc6bf2f71e736e218d4cd37c3911e989282e904437c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Luna and Mars are listening to their home feeds\u0022 repeats the code it sits on: 4 of its 5 words (luna, mars, home, feeds) are already in \u0060const [lunaHomeFeedId, marsHomeFeedId] = await Promise.all([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/realtime-posts-privacy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0032ce17a96700a249a34225574845b9a3d12105ac581328216b95580b7dc48c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Venus creates post\u0022 repeats the code it sits on: 3 of its 3 words (venus, creates, post) are already in \u0060post = await createAndReturnPost(venus, \u0027Venus post\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/realtime-posts-privacy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0a97887421b81bb9f0c498bbe32a0d6ad59319e5afa968fb418c3d8458b3be"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022luna, mars, venus, jupiter are users\u0022 repeats the code it sits on: 5 of its 5 words (luna, mars, venus, jupiter, users) are already in \u0060[luna, mars, venus, jupiter] = await funcTestHelper.createTestUsers([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/realtime2.js"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"515f38a72a79cf4a6ab378278e492daead45b35214e18a03fbfc516f43ff758b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022selenites, celestials are groups owned by luna and mars\u0022 repeats the code it sits on: 5 of its 6 words (selenites, celestials, groups, luna, mars) are already in \u0060[selenites, celestials] = await Promise.all([\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/realtime2.js"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54b36b20ecdb499d6a86b132e445bc7a0bb21ef4c69d36640f765c6071b1353"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Luna creates 10 posts\u0022 repeats the code it sits on: 4 of its 4 words (luna, creates, 10, posts) are already in \u0060await Promise.all([...new Array(10)].map(() =\u003E justCreatePost(luna, \u0027Post\u0027)));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/timelinesV2.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0875c623cb1c76a27b0a8c5a3fc062dfb620a57791b6a89b38a18c5dfc606e17"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022old screenName\u0022 repeats the code it sits on: 3 of its 3 words (old, screen, name) are already in \u0060data.users.screenName.should.eql(oldScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/users.js"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"824404720039546aa1df7f7dc276f5e53a153a560e9735233ce8739131324dd9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022old screenName\u0022 repeats the code it sits on: 3 of its 3 words (old, screen, name) are already in \u0060data.users.screenName.should.eql(oldScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/users.js"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"38871ad088c0bac0f05cae1e1b26c20b908d2c8c845b2efb0a90b1ed10ee73b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022new screenName\u0022 repeats the code it sits on: 3 of its 3 words (new, screen, name) are already in \u0060data.users.screenName.should.eql(newScreenName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/users.js"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ce9197c7a990646e4b11b1179706f95c77626411a377a69fa54e072f44c6f0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create maxCount users at first\u0022 repeats the code it sits on: 4 of its 5 words (create, max, count, users) are already in \u0060await createTestUsers(config.registrationsLimit.maxCount \u002B 0);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/usersV2.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b256c7f9f0c8c8fdcef3429dfccd7f337ff5d8b00acb72abe64f66010a45460"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mars creates post in Selenites group\u0022 repeats the code it sits on: 4 of its 5 words (mars, creates, post, selenites) are already in \u0060post = await createPost(mars, \u0027Hello, selenites!\u0027, [selenites]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/post-comment-events.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2841da5cd658e8826a226a9320ab7baecef31393aac65685c29b4146cc47e02"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Venus likes all Mars comments\u0022 repeats the code it sits on: 4 of its 4 words (venus, likes, mars, comments) are already in \u0060await marsComment.addLike(venus);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/integration/support/DbAdapter/search.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5b2c21fac527cbe472f1b28332d715195ea321a2c0bd1092274d62496de31"}},{"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":"39a05a4cb807ad0428ab91f1d23074ca27bcc1153840433a6fafdbff10662fec"},"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":"c95e9763e3843ae423535628fc673fdc202002e6d6365d9c49ffdf7c10e844d8"},"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":"cf73e3a730a5b3c9209034453b249e708f0d532c1c99a4dbcf6571d0cdd69903"},"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":"0347b774abe8a14b65c70e370aabb0d285268b090878f85c548c754905c97d3b"},"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":"2d4a941906ee01744df019fe1d5043e939414ca3b5beab0554d05fa10425b158"},"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":"56e80d34714651c43640f12664a521a2cf052ef0dc9b60a539484ccde946ede4"},"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":"988f5f8ded4e82367605dbecb968091ee8c2428d04defbad3f0807347030c24e"},"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":"651ee9ccad58b00d8f26773892ccb5f9143ffa6e5aed9e11f466a5d9ed878fa1"},"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":"46b84b08f5bbadab870f676481f864c74b83d023fe1b181e19e7b90177a803c9"},"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":"63a22b2e41e0b3cbf944539a29ebfc3f8dec0528938573b302d30f4fdf3358b4"},"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":"da82a3681eac4218fa895fb20e48242af0e3b2e661ed966f17e02938d5fb1034"},"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":"adaa7616e79664a17b2c04de6888e9de322451db90a746c15441952d8d1e87e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e37d8c3080d3f8e690d19a540a352f863a9d0d11f51431a4df4b2e0a9df4df9"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f1d876e927fdec6e205ae06ca0e258e99b0b66f332bbea8e760a7f4b5fb3299"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"0398e65c2e893193a4f1ab99ebf56949037e5309f90e18ff3d2b34da6c29791a"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"98a13dc19eb1d742808d2c21c64b36b6c211d0ed0947c95cdfb99ac578527c96"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"ef9b836a4678fba93dcdac36bd4ec1241c808740bc4d39ed1a5a541c9e053c30"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"11ac3f2a668097cdffc3e53f1724df70eb5de5faec0087526ec80ac351ba130a"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"1b6a8ab571106f5e4916a9ca1637d8d0b014289bf18ec51093751da1ff4f064b"},"taxa":[{"id":"CWE-89","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":"76f18167920ee1d9178dbbd781b789984e9e7f914ef9be8d4189e3eee2982083"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63b21ec7ffb66c119d71b8f53b326012e6e33f739bd21bd5ee876c2410bdcaa5"},"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":"268af8bb18f49665d379b2232f04409724506998aea1d50c9acb7d7da0276e83"},"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":"226b4530af3989576fb591094dd9a79db02fd3b2624b414ed9f061969c9d228c"},"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":"568729ae4945be25497f74189fbc85d2828ff8fad6bfa75df0c95bbc57b9ce2d"},"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":"a9cc798caadc1df15c0bd728b7b7af48676e33339cd363e9b608c93263240ed4"},"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":"c4b9ab43a0e03b498de26259497b5ba667aaa5b701cf63bf2b640f73d39a14ae"},"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":"98c2f4d6da7c7df11eba9925340e5021a5783fdb9c7d53da5a8c7b3a6286e91e"},"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":"adcc85450edfae89ae8ff61f3c8fd94fc58db0b52b22d083b042f0c4c5f5a54d"},"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":"4a2c45b7216e2696f358800dbd001df9137d0c11d0f46c59e34ee251962548fd"},"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":"6894c84e5c60129c23576076586e8472ed97a10ab070ccf45621c9206e18f579"},"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":"624a13884ac7290e2fcb9cec1860ecf0e91dda975e11fa2eec08d60381e4f5f3"},"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":"9f71920d727fde346c015caa070d4b4e546a88966af1d0bbcb4c608bba449a61"},"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":"dd97faaf81397068a4767cac4dc092c03ce69ab40d79b5fcdc09c8b695fe2d49"},"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":"254fe46bc44484c36b3dced59fc77ba5002b7c40c31f81a4191e716e244b1b84"},"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":"5b335c23c32cdc4fca50403e304029e6c37291d41aa06534f96e3411330aa76f"},"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":"8682f2ea7bc637d0acbf0ee675138cf0ff4d34e5593ff58ba93be43f894c50e4"},"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":"1a7f99e42a4d8936e0cd385c1efedf2c5e0ab5d6f88d84596a69e243b9ba2b60"},"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":"a361883620433d46bbae07a1e0bb3200704390873f62e98faf6c5f9fb0b4ffda"},"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":"dbd2f5e7db881c297a75695032dff97fd903f989713b481e7d1793f310f767c6"},"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":"a38c5b7e6b498ee9c99cf601b5a86513b84f8297b33f7c7fec53b2f098e1f8ea"},"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":"341d5f7201f9479fac82a35cec1c0cc05146f3e284110b22b97c2aef2a26a71c"},"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":"80f86af9d0445840f6469d31a2c92d7bc02d46d028f284432f67045970d2b750"},"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":"ba5a43bb794ea8b0043db1f4a40e4ccf0bdfdcd99c06ddc7e47900b8431f82d8"},"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":"48c38e699daec8668d1a99be0da324f9cd0e2499b20ef99fd83c3e1a7b1419d2"},"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":"ccd28f774fac998f79f1d686912ad23e3719c8e6dd7831f94c717da5c222a2be"},"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":"f09fa2c184a3f7edf4fad2900b748166d5c237bc9e24e656ce203a2dda2fc3b7"},"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":"e22dcecf82d917e312c976f7141769c8012b71f34b300b989337dfbb48c26c37"},"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":"f0dc377545cfc4f74cc0e2a285e978f7e42dfb257fd885e1fd98460541ef1934"},"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":"032b0f6c5222f9e50be1e9c276b374b6f2645526bae55b5646e2842d11f80d7c"},"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":"9114f387fd93a58e711faa041cb800a4643e3dc206cb9bbb67b546a2541c157a"},"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":"318c9a818072fb53e321b095ebd4633278c5428188172b93cd1d97370cdb37a1"},"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":"700f20bdf1da21b298fdaf6679585a396b46b42238be636650ef6b5531fb5e86"},"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":"956b5f7cb8ab0ddd33a9c15d9e1b96a69dabce37eb2a760e053215a7512304f3"},"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":"9bad98a29986dc4bc1d5fd22822d876aeee6c52d90022a89aa2a0d35d50b9c57"},"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":"0b332ebee6edd5300e9e26dd8dfae5adecb658a6c0dafdf5000666f0cb2d0d2e"},"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":"1ac9d3c9e64e3bff73a88c8113cb797412ae1a36d248074bf9c6b80cf8f74a50"},"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":"7a334745e02443cf915493027a8b96fd7b25e08c68b7aced9c54253afb582c87"},"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":"e33f82b28c497d84f2c968d13bc848193edce9b2e4eed29d735dba1e2af09b80"},"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":"4e069fc1c4024d095cb98b18adc6893f84e67b3db2a08d70021d7af815c2dc03"},"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":"a2720bf361b7182bc29e9d0a1c72df6ea8f6e64ccedbf439708b6c2864bf4ed4"},"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":"5a346528a93d3370f3fd90317380ec043ff3759d259c0ce9675ff30b8e1cca75"},"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":"a6bfe98ffbae98d943850adc0fae7c642fed06515001d6c7a15cdd6b1cb16725"},"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":"36ae71052d7baff0d2e6f8834893e6f5b5389e46bcb59d94ef3bf10df72e224a"},"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":"729e34606b03360fe85a056c3846673bbfe5d6ea5aa27bdd81cbaa03045f5a4a"},"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":"10cab9a9c1675583cf91479df59da8466eca554d12926556d60099ac2ccd34ca"},"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":"d58ad785e87bc815bd331923eb365a97452decd8a3b0135dc36007d30fa3b5fa"},"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":"2105f7a436fcf9c757d491ad8ed43dc96968d73e67b3f12991a64238d53bf58e"},"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":"f04117a043b100d4232df0b357f7e74080626768761a4cd5ffd2ead09684d9b8"},"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":"ebacf92d44b9e82ab8dd079642074d9b252e128d5553fc7cfe02f0d4a373f43c"},"properties":{"dependency":{"package":"shell-quote","version":"1.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"1.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98b59dd958c86863e23169c0b6043783eed83b0270c8116e2ad510d7b7c014bd"},"properties":{"dependency":{"package":"xmlhttprequest-ssl","version":"1.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.6.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"549aa0359f75dd1e624f9d1b5fa18d5777202ac4533c6044bcf86e687e8f8711"},"properties":{"dependency":{"package":"axios","version":"1.7.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a855d8522eb025db93dba76d0990774c805d6edd7e4516f4998a6c9e89339eb"},"properties":{"dependency":{"package":"deepmerge-ts","version":"7.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"8.0.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ca84d5f65709df2574aef829ee17aebe71fd483b4958220a1d47cc110894251"},"properties":{"dependency":{"package":"dicer","version":"0.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6949c27d9691c8a552166bc16f4a5063f5a219a5ba7c10d1a92bff72c8ef9c59"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8551343a455849fc5616830b4bf1c4631f2d9b63f581741ea2452b582f417c70"},"properties":{"dependency":{"package":"js-yaml","version":"3.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.15.2","relation":"separate-copy","declaredRange":"~5.5.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e1dbf4663395e41fcee3e45822ba98674be61bc311144ffce9c3d3fc91faa6a"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"separate-copy","declaredRange":"~5.5.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"680476f4d8dee438a56f106cef800692ca84cc517e829ed76b5f4b0c68cfa0d7"},"properties":{"dependency":{"package":"nodemailer","version":"9.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.1.0","relation":"separate-copy","declaredRange":"~10.2.1","reachability":{"kind":"production","file":"lib/mailer.js","line":3}}}},{"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":"eec8989a2083a8aa3d3e2bdb5bebe80b5740591d9bd77dd81833f4512c328418"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.0.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05241e847eef03d8b1b078939b5ff2b04c76f3e626994e7ef74e5736f62d9e49"},"properties":{"dependency":{"package":"ws","version":"6.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.2.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a31d72742b8414e794b689968da1a9a1a83f279b279beb031a7db5285321551"},"properties":{"dependency":{"package":"fast-xml-parser","version":"3.21.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"5.7.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c91332e44e8a931557396b2c500348b6ddc87da880c4c58e4e587d91722da8f"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e318cc0d29137ca2671628ecff85a84e5b5ae3fb20a852492771ec5f8fd50b58"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e250dba94f55bbf0618381081bf13e848b42e63dd5acf1bd82745c10c66d7c7d"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23c3069aa08b7b940eeefd57f8783d563571c7438b9da6165ecc276873c3045d"},"properties":{"dependency":{"package":"moment","version":"2.29.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.31.0","relation":"separate-copy","declaredRange":"~2.31.0","reachability":{"kind":"production","file":"app/controllers/api/v2/StatsController.js","line":1}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a517919eef1e878daafa1de44decf5869714b19fc1ce5060a5f79560147a7217"},"properties":{"dependency":{"package":"parseuri","version":"0.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76ebd4bd2367d48cc085a28ba2fb3d9a540d96318f5f72d96044df729a24cab7"},"properties":{"dependency":{"package":"uuid","version":"3.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"separate-copy","declaredRange":"~14.0.1","reachability":{"kind":"production","file":"app/models/user.js","line":13}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f48031b56f8b3d93045554c7fbc1db34c5f9f47d738e8de67915c07656c7ff9d"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"11.1.1","relation":"separate-copy","declaredRange":"~14.0.1","reachability":{"kind":"production","file":"app/models/user.js","line":13}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bffe0cc91a315194efb1d7c60e7b05b550d01d11db3553832d555f4fdee8512"},"properties":{"dependency":{"package":"cookie","version":"0.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"0.7.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3335d307a116927fc3ff5e5909e8d2dc362bea0948ed03704d61c9e9a6b879da"},"properties":{"dependency":{"package":"diff","version":"7.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"8.0.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"ruleId":"D31","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":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"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":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"D31","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":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"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":"D31","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":"e3456a33515efc2e2b0fc6b725fb30396a686312092c39ebaa9032146e44ed46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 6 of 129 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; 129 of the 395 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: data_transfer/PgAdapter.js, app/support/rateLimiter.ts, app/views/emails/best-of-digest/assets/font-awesome-base64.js, app/support/DbAdapter/calendar.js, app/controllers/api/v2/CalendarController.js, migrations/20180730224659_registered_event.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":"data_transfer/PgAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00b7ded816d8f4b72a5d5d6b0eb4384976a6dd899d567bb7642aab25462914b"}},{"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":"app/support/rateLimiter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67263918b11beb8004c294aeefdf4499e599f7fdf4b40e406677381ebe704225"}},{"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":"app/views/emails/best-of-digest/assets/font-awesome-base64.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bff92f12d6a603821e60ba4496559ab3f6e469c6b9acce7f9ecb308e3ca4003"}},{"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":"app/controllers/api/v2/CalendarController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"527c2c594b9e14ef54c579669ff2fcd13114d4ac79411bdf98f3bb07d4bc365d"}},{"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":"app/support/DbAdapter/calendar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70fe8825c7150e5f6dfdcc50644cab621c09e062268ff275a6fc01cbfe7a4be"}},{"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":"migrations/20180730224659_registered_event.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9322cca0503fea7e72581c3d38809a3387c5137a07ef8afe2e05b2e4639b3665"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25eddb231457f3d6613c89192edf74ba2c5450794606d8b83bb503f4e29d5cda"},"taxa":[{"id":"CICD-SEC-5","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":"9e759935bc673c1bbcc6c3a0b71d4c7fad5f018c82bda27e04c84ef98fe18b58"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b711228a3ec472cfd6193eed14ee0ed3ded6c0e509ac426d8933b3ff047e0b"}},{"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":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8401a6ea479d10d152a6652d05e48913488a3f67fad637738cb6abc282b002a8"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5e786967ccf1b68f4aec79c7c4657247dfd96b17a13150822020b9906ba3a2"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0567f4e93e66e2b7e66bb05d4b15edd6ebf35d2e6d6b5d5e488e59a5ac0577"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/notificationsDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68ab9fc4ebdf4d28449492788945772784805beea87769f341f5f1e8ed63bd"}},{"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":"app/scripts/views/mailer/notificationsDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68b7b700d4a35d6a9226b8d28fc5117301e3f87f792a8b2233712599d54307"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/notificationsDigest.ejs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d6fa2087289046555184b992919c73ee19f615fa42b42306d2ed100a6441e8"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/notificationsDigest.ejs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d46be13675df3c4d0af41fca729ccc3bffec5d68e4f0e359256a5f3b5241d1"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2836a3272158e094e3303dacd0f7b91ab1bb635daf04a4a0a662390291647922"}},{"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":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a0140b61bc7e89a34da37cfbada3cea9ee8d59467a70c2d181f378149fb35e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06a661b3ea3e08d19036b33242e9d7c563fb3d56a7685c0d4127fa05bf68d15"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d36d66bb88acea7ac43d81f65d8ac289d663fed8400582a6a4de55472b552a"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/admin/ModeratorController.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd66fdfc2613c1742dd988758c1b81c4cd59e7c868382b007199dad500992ec9"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2713 \u00B7 export \u2717 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/privates.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c6afdaddd701d9f87f1abc3213069c1b0467d0881aacf027e8c856a34805ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/search.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b061dd36040b32bcfad287b7dc089fa129cdf4acbbae80ffd48961636c61b48a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/search.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5d6fbddbaa52f4f38a950d18ddfa38f636c5528bd6c9f141c753ac1a1888d7"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/timelines-everything.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10e3eced77c7ae6559bfe393537af71629489c6adf0d39ca3bca235f7b85576"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/functional/timelines-everything.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d64f4314c7dbd90ee36692a1eb6307685c129ef5b12828fd4f91d32fe2cf159"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 60 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":"data_transfer/transfer.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"110c94c0bd36d5d9355646deb87a0d2e4585f321eebf1b9d86fcc655ef25df59"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 77 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":"data_transfer/transfer.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71f12399c94160bc97a50e2f48c00feafe2e00e66bcbb3f530c274e7b794bfa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 83 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":"data_transfer/transfer.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dd6373feb132ef12ebff8cbbd1414d8657c13a082e1e65886a2cda91aa5b93"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 94 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":"data_transfer/transfer.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eebf3dd28a7f93019c33836867c02a245c0ab8f4e64ff62652d5aebd3e580d2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 100 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":"data_transfer/transfer.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"905cbc52d18290b10c56d215c3df2478dbec41df158689e8ed84fe124a4419f0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 111 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":"data_transfer/transfer.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64dd303f15fb941f29deaef97d7c12f735067218701cb7f8cfc4ca94652beef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 122 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":"data_transfer/transfer.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a38607360f930358db35fc0c086a228454e27b8ef7f7007d4835ca33c1855a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 144 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":"data_transfer/transfer.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2397efa16ad19b9fdba4093aebe8efc58ef71246e13922107b46f6f6c7c5f123"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 179 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":"data_transfer/transfer.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"de08ad9e340930a821a4e3709dae162f4453e87805e0ac0f3895362a67b32112"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 213 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":"data_transfer/transfer.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7150f29b20038fb4ae9784abaa6ae23a44981ea0ceab1812764dae6815cc57e4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 219 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":"data_transfer/transfer.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4108ac63c8de4aeb92461580b93cb83d06502ce32e9fe25b83a2f4d623dc7bfe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 234 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":"data_transfer/transfer.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f81e7d1c538840d39218a80ad1c189499faaa2059c5ce4caac373c9d8ea539"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 250 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":"data_transfer/transfer.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"895c0e23add84f520818315831994e2666f57393ca72b3d98911264b40ec7984"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 263 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":"data_transfer/transfer.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ee483b4239b6f36309da09115e13ded4e09a423004b083f2eb1c17b0e79167"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 284 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":"data_transfer/transfer.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9189aca91614708d3939b1d6b1e9af8729b73baf812775f9f0432f4b958aee3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 289 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":"data_transfer/transfer.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"836c148f861fd1d36219ef96e78e2a7a9f1388abf4c7d6f99fcc9be5acf8d7e1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 303 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":"data_transfer/transfer.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"40319b808451281e9b556f101b5842c7aae64a30a55d6f51fd132eac836e070e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060data_transfer/transfer.js\u0060 reports through \u0060console.*\u0060 at line 309 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":"data_transfer/transfer.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2093d23fa63e9c795c287d02c674aa637c115be9c2a1fa277edf935a6bde7d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/support/DbAdapter/search.js\u0060 reports through \u0060console.*\u0060 at line 289 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":"app/support/DbAdapter/search.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab60c287cc21e06921e7a07acffd91f58f439399150e8f23c9b709c3cf24946"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/setup/database.js\u0060 reports through \u0060console.*\u0060 at line 38 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":"app/setup/database.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9942edb4a287c0efe609d767092c05bedc17ee48c41fb642065ecfdb49f46d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/setup/database.js\u0060 reports through \u0060console.*\u0060 at line 39 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":"app/setup/database.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e55125f8ddf601e279aed9c99866dd6e788a10590418c1850e3c859ed40f1c0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/models/user.js\u0060 reports through \u0060console.*\u0060 at line 690 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":"app/models/user.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3138040cc00dc5dc2f2a4223ac2f6fc2924293d9d5fd334ab316c55a8810c21"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/main.yml"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/ExtAuth/OAuth2Adapter.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c996572e9aa990474a9cc8b46f1c24b70f6c05b6ce7adb5a944bc050b4a29c20"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/download-url.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab7f7ab64293d886696de17600fcc2f89df43c0aecb8b348d6c32d572e35ae"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/translation/service-google.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e650608bfe550d8eec24d5b14c5b2e8044ebe35eb78fa56db55cfd927608fac"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/recaptcha.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa85887279389bcec4fd72ba5eb265f795a9b04120192b833d8a7283ed419a94"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 203 typed \u00B7 368 plain JS \u2014 the untyped files are app/app.js, app/controllers.js, app/controllers/api/v1/AttachmentsController.js, app/controllers/api/v1/BookmarkletController.js, app/controllers/api/v1/CommentsController.js, app/controllers/api/v1/Deprecated.js (\u002B362 more). 0 production file(s) opt out entirely with @ts-nocheck \u00B7 1 @ts-ignore suppression(s)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (5 clone groups): 5 duplicated blocks under the repository root have copies in at least two of the sibling directories app, data_transfer \u2014 4 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6bcb6ada48bc3a0620f39624c9ac57f6c94d92dcdd5885c7e038d207c1cd3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under app/controllers/api/ have copies in at least two of the sibling directories admin, v1, v2 \u2014 3 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 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":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ab89140ee9cec31e1316a924297e6b547d876c8b8e8d6da006cca4fb740c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): app/support/media-files/jpeg-apple-hdr.ts:70 \u00B7 app/support/media-files/jpeg-hdr.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 524 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":"app/support/media-files/jpeg-apple-hdr.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcec537397c4d9f8ce0221141f795caae83efbfba40801f1bec0a50dce8602c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (80 matched lines \u00D7 2 locations): app/support/DbAdapter/feeds.js:63 \u00B7 app/support/DbAdapter/posts.js:140 \u2014 the two spans are one implementation copied and then locally edited \u2014 481 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":"app/support/DbAdapter/feeds.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2813fe10d65039e36abad9f359cfd05cb74ee7c6404301b9a836b4178fcecba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): app/export/gdpr.ts:207 \u00B7 app/export/gdpr.ts:273 \u2014 the two spans are one implementation copied and then locally edited \u2014 357 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":"app/export/gdpr.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e290fb9690b0c2309bb66d5b12f3b2d506ae02ad396057ba891f82f532425"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): app/models/group.js:34 \u00B7 app/models/user.js:299 \u2014 the two spans are one implementation copied and then locally edited \u2014 249 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":"app/models/group.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f07c163df95eb53cd2833631c23d63c70084ad915b6d6269703eefffb7a1822"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): app/mailers/BestOfDigestMailer.js:24 \u00B7 app/mailers/BestOfDigestMailer.js:62 \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":"app/mailers/BestOfDigestMailer.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6821806c0af528bb8f9cdfc63f2f194065754ee5f1bf4ff0c7e98d9583e45b28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): app/support/media-files/geometry.ts:7 \u00B7 app/support/media-files/geometry.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 274 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":"app/support/media-files/geometry.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"930b1ba4a864287bf19998584b6732a14ba93037d9042ec22654f2ceb9ae8b70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): app/controllers/api/v2/PostsController.js:191 \u00B7 app/controllers/api/v2/PostsController.js:245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/PostsController.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91050d284594b4dc50996934bbe9ffae49ed6f69d99603e8aeb48d092719801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): app/models/comment.js:223 \u00B7 app/models/post.js:341 \u2014 the two spans are one implementation copied and then locally edited \u2014 193 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":"app/models/comment.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa2e643905f39acbb0f145122f15bf6f6fe09fb75f41d63d54729241f4833c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): app/support/EventService.ts:582 \u00B7 app/support/EventService.ts:609 \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":"app/support/EventService.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0062d13f50b22b6e38da6d4b2ec10d103a2da7ff9a11199ef093ddeb7c99f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): data_transfer/transfer.js:149 \u00B7 data_transfer/transfer.js:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/transfer.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615611841db46dbf8cb2f5eaccef654789e21d96f8cf0063f95012b401f8f6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/support/DbAdapter/users.js:810 \u00B7 data_transfer/PgAdapter.js:33 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"2920b4bc4f257990aec8415ab74407c807383d392841e035a77b80bde04c4c61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): app/support/user-deletion.ts:136 \u00B7 app/support/user-deletion.ts:313 \u00B7 app/support/user-deletion.ts:397 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/user-deletion.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"022543ce4208f183e3ec61d0fd36cf2df5ea12e54ef972871e6f0d9ee71b0bee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): app/support/EventService.ts:172 \u00B7 app/support/EventService.ts:195 \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":"app/support/EventService.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcbfcb4ff1c94026ce7e72c79431ed7c1cb385eca65c018c6a7802fa0fb7c9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): app/support/backlinks.ts:37 \u00B7 app/support/backlinks.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 118 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":"app/support/backlinks.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"234da964e2cd48e7040c6735e1aebde982ecb02880e0d0a75f52e376edd881d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/support/EventService.ts:307 \u00B7 app/support/EventService.ts:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/EventService.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bedddacdf5c1fc8f7e362333a5c075ff71762e5ee6793a3020f3e062bdca919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): data_transfer/PgAdapter.js:102 \u00B7 data_transfer/PgAdapter.js:137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/PgAdapter.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f56a0db2606b21c29a04236771cfd3f08fa457e72363fc162a6af35297fca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/controllers/api/v1/GroupsController.js:246 \u00B7 app/controllers/api/v1/GroupsController.js:284 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17d6bc1ad3bde4e8b3c4fdf1787e498b88c4657907ca8ce904d31b7f3692888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/controllers/api/v1/UsersController.js:432 \u00B7 app/controllers/api/v1/UsersController.js:463 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2dee73fa0db917aa48feccca351b387e98e3cbe7b34ffde945b1990e9bc3e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/support/DbAdapter/users.js:788 \u00B7 data_transfer/PgAdapter.js:16 \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":"app/support/DbAdapter/users.js"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94732578e4ab19395f745a528344a4a2e1f109e26389c2589e7bf5bf4fa9789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/controllers/api/v1/GroupsController.js:195 \u00B7 app/controllers/api/v1/UsersController.js:757 \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":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"966a372f675105341fa14799328b75ee2b522486926661e19013a6809a539909"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/controllers/api/v1/PostsController.js:300 \u00B7 app/controllers/api/v1/PostsController.js:322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"17567de1b22377450962af240218311193a026e64d2f25e3c2a909039a56a472"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/controllers/api/v2/CommentLikesController.js:13 \u00B7 app/controllers/api/v2/CommentLikesController.js:37 \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":"app/controllers/api/v2/CommentLikesController.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f49aa21e31ccdc6953ba6d2cb081e76b597e3fc801ea3308c34ef4b0bfe8fb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): app/mailers/NotificationDigestMailer.js:91 \u00B7 app/mailers/NotificationDigestMailer.js:118 \u00B7 app/mailers/NotificationDigestMailer.js:139 \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":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"df401174be32d1b0aa08fa2dd86b1145f7e63932404058326359a870dae484ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/support/EventService.ts:636 \u00B7 app/support/EventService.ts:655 \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":"app/support/EventService.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d45f707c9a99cac768397fd887a473ab63ed33245cc774c0d97dd39a97d626"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/controllers/api/v2/HomeFeedsController.js:60 \u00B7 app/controllers/api/v2/HomeFeedsController.js:98 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/HomeFeedsController.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e5e120ee5c8087c7ed0197f3f6d05a6f45997e057b916f5022283155148934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/support/DbAdapter/subscriptions.js:247 \u00B7 app/support/DbAdapter/subscriptions.js:353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ceb2bd01cb3b3717b98b1dacb4b9e0701122c9d279694c0e5da6e5e76bc953"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): migrations/20170303123742_archive_tables.js:5 \u00B7 migrations/20170303123742_archive_tables.js:24 \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":"migrations/20170303123742_archive_tables.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4245c63c39d8888ce61c739fd43087bc28243ed16cb34a05e9bd7f3405d4ea89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/mailers/NotificationDigestMailer.js:203 \u00B7 app/mailers/NotificationDigestMailer.js:222 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"536169eb7cdb4c5086b4e59d29ace6cca7910bc0d8f3336a9b4aa37db5b3acd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/mailers/NotificationDigestMailer.js:286 \u00B7 app/mailers/NotificationDigestMailer.js:303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"810842bbd406638a4c0768106d4c7cd68bcb349ad2a4ed13daee8c660d4fc901"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/mailers/NotificationDigestMailer.js:351 \u00B7 app/mailers/NotificationDigestMailer.js:368 \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":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe997f66b166527105ba97bae92ce86147cb7dad0a52b4acdeaa044db1d089d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/support/EventService.ts:351 \u00B7 app/support/EventService.ts:725 \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":"app/support/EventService.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"187512f8b0840629299998b9432bcb0dd32b63d1f5fbf42f30b6faae3b14918e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): app/support/media-files/detect.ts:61 \u00B7 app/support/media-files/detect.ts:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 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":"app/support/media-files/detect.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6124eb6a843a1a94c1ca76aee787b0f33abd391fe0f5e4b10abf81a4c1e55815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): migrations/20160405133637_initial.js:122 \u00B7 migrations/20160405133637_initial.js:180 \u00B7 migrations/20160405133637_initial.js:218 \u00B7 migrations/20160405133637_initial.js:264 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20160405133637_initial.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8706a401fac48ef2d1dee822cecd7c54f6826986a6633626ae8155d1055c5e9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/controllers/api/v1/PostsController.js:139 \u00B7 app/controllers/api/v1/PostsController.js:165 \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":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"543db71bcee11b7267fe320f2dc6a280a37bfdcc4fe785dda045500d74da699b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/mailers/NotificationDigestMailer.js:172 \u00B7 app/mailers/NotificationDigestMailer.js:187 \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":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e481fa7037ff564f98f9e7aba5208560bae3a6c6c976dc46d43bd1b7c8fd7ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/models/auth-tokens/AppTokenV1.ts:84 \u00B7 app/models/auth-tokens/SessionTokenV1.ts:100 \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":"app/models/auth-tokens/AppTokenV1.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22ce0e22c624db0c23dfe56f66b646bf02ddb8796d2c8090c9788153ebf1671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/models/comment.js:73 \u00B7 app/models/post.js:98 \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":"app/models/comment.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"648af5b4da8782ff8a897bd6b2f9f76dcfbf35c20af31de31ceb97624250f027"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): app/support/DbAdapter/app-tokens.js:7 \u00B7 app/support/DbAdapter/app-tokens.js:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/app-tokens.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d35759b504e82811375eb2d8f4eb8e9e0ff115c96cc7d1eebf1f6bc37e6e727"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6 locations): app/support/DbAdapter/comments.js:274 \u00B7 app/support/DbAdapter/posts.js:498 \u00B7 data_transfer/PgAdapter.js:64 \u00B7 data_transfer/PgAdapter.js:106 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"app/support/DbAdapter/comments.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a440ceea1cb0213e88560cf3d38882baa68c7515a3c757c6befd55ae5e9cd20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): app/support/EventService.ts:287 \u00B7 app/support/EventService.ts:340 \u00B7 app/support/EventService.ts:555 \u00B7 app/support/EventService.ts:714 \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":"app/support/EventService.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a667c726c9938ba97674592dd1e0ee1259ec191261dbb8efb8cbed849fdfa94b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/support/EventService.ts:774 \u00B7 app/support/EventService.ts:790 \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":"app/support/EventService.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e6002f8c316ac1c525dc42e76a249acae608a8336d60b31c42db141c036efc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/support/EventService.ts:806 \u00B7 app/support/EventService.ts:822 \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":"app/support/EventService.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17556481800723d583bb1790e42f4ca5ba7b2bdfe1b44517206b8001f229b24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/support/DbAdapter/group-blocks.js:7 \u00B7 app/support/DbAdapter/likes.js:48 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/group-blocks.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44a670b7db619557b17f9f8a2ed6751a91733fff6a1536488364d145a447fb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/support/DbAdapter/posts.js:516 \u00B7 data_transfer/PgAdapter.js:162 \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":"app/support/DbAdapter/posts.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52b3578f4ca7b005b0b92bd06b9ca20803089a734eb049fff59f76681c46fd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/support/DbAdapter/users.js:234 \u00B7 app/support/DbAdapter/users.js:396 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b8ad569f3350d97d6d4cd2ca4715a2a45d0b2a410da0cc34e39502003c2a76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/support/DbAdapter/users.js:260 \u00B7 app/support/DbAdapter/users.js:410 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f38c49e42d1c33060a450378a9acd5208b68525bb77b87c56bfad5ec36ffcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): data_transfer/PgAdapter.js:258 \u00B7 data_transfer/PgAdapter.js:290 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/PgAdapter.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eac6b83cdc1b32723b09d2d56ad366b60b128d50d5a14501ff2f7286a047d1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/controllers/api/v1/UsersController.js:137 \u00B7 app/controllers/api/v1/UsersController.js:703 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"470a15b21b04af7a385f10ba245b241bf7dbc5efec4c12d4832e26fc827db204"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/controllers/api/v1/UsersController.js:800 \u00B7 app/controllers/api/v1/UsersController.js:816 \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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0735a76214821ab684efbe5d82a60d7d519a12103ad1879a351e106cdad1795c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/controllers/api/v2/HomeFeedsController.js:31 \u00B7 app/controllers/api/v2/HomeFeedsController.js:60 \u00B7 app/controllers/api/v2/HomeFeedsController.js:98 \u00B7 app/controllers/api/v2/HomeFeedsController.js:131 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/HomeFeedsController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9636791b46b6b18976ae67aaf3dc54af9b096829e28cd3a3eef910ef19d2902"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/models/comment.js:296 \u00B7 app/models/post.js:989 \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":"app/models/comment.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3e60bd336ca9d7f8eb28e6c12df0777c9ae8b945f99fb2f48538e60ea1c83c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/pubsub-listener.js:553 \u00B7 app/pubsub-listener.js:567 \u00B7 app/pubsub-listener.js:581 \u00B7 app/pubsub-listener.js:595 \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":"app/pubsub-listener.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4d9e5cdd88ef60b4bb836665da93b812b538abca8f12ccc01b07d40162804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/support/BestOfDigest.js:46 \u00B7 app/support/BestOfDigest.js:81 \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":"app/support/BestOfDigest.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4224bb0c208b1b2fc5df6a4ccfe70de7e89578a4045fcbb0267f373adb2bbcd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/support/DbAdapter/comments.js:127 \u00B7 app/support/DbAdapter/users.js:314 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/comments.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279cc796b63e108f99603fbf9125eb20759cd365490c155f0fe6d771a65de35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/support/DbAdapter/events.js:143 \u00B7 app/support/DbAdapter/events.js:164 \u00B7 app/support/DbAdapter/events.js:181 \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":"app/support/DbAdapter/events.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed5b66052738948072e6aea07d3da953f7a030e770dc6459a63152ab4b8ebcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/support/EventService.ts:120 \u00B7 app/support/EventService.ts:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/EventService.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec07b145ace1804b669f23d9c08e123c8612d0e1c8e16f92b25199a84a639af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/support/search/query-tokens.ts:146 \u00B7 app/support/search/query-tokens.ts:168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/query-tokens.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48801e7761c2e5d56fc623bf9ba9c732a5e39512d4e8b97f2f70bec1a3355c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/controllers/api/v1/PostsController.js:343 \u00B7 app/controllers/api/v1/PostsController.js:358 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"999572413220159deb25e7852f8f09b8c3b986d10cee5c35296e7cd53e6a42a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/controllers/api/v2/AppTokensController.js:78 \u00B7 app/controllers/api/v2/AppTokensController.js:117 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/AppTokensController.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff4d445d9c070b7341d9cb1f5b10f5f94fe517208c730c6336ddde27859f658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/controllers/api/v2/CalendarController.js:101 \u00B7 app/controllers/api/v2/CalendarController.js:155 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/CalendarController.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b2f07178018159c313c18333891727663394eab08fd108c4f412f208d70297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/controllers/api/v2/ExtAuthController.js:44 \u00B7 app/controllers/api/v2/ExtAuthController.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 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":"app/controllers/api/v2/ExtAuthController.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3518aa123aacbc290dab570247318eb3fa619f388461021787654b7cd44e6917"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/controllers/api/v2/GroupsController.js:66 \u00B7 app/controllers/api/v2/GroupsController.js:98 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/GroupsController.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a04e161f082f6d84a85a745e6849acadace1e621429006caf1446dfe8ae31bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/controllers/api/v2/GroupsController.js:91 \u00B7 app/controllers/api/v2/GroupsController.js:114 \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":"app/controllers/api/v2/GroupsController.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe284ee2db267b21271243c4662dffb48716346156e91e911db0babf3a304b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/mailers/NotificationDigestMailer.js:238 \u00B7 app/mailers/NotificationDigestMailer.js:294 \u00B7 app/mailers/NotificationDigestMailer.js:311 \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":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf8c6d96e62ef41d848da69754e0ce7295967b4349e1abad65bc8528918287c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/support/DbAdapter/attachments.js:240 \u00B7 app/support/DbAdapter/comments.js:262 \u00B7 app/support/DbAdapter/jobs.js:190 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/attachments.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d332c0376a24c9246791a1490264765e23c5a3399a42766bcd79bfb74bb7aebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/support/search/parser.ts:142 \u00B7 app/support/search/parser.ts:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/parser.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bfe0ce04fabf2a48472eeeaed66fe7cea534fca94e6acd5125daada926ee8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/support/search/parser.ts:240 \u00B7 app/support/search/parser.ts:273 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/parser.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6cbd1cb654c9ddf42d45be55fd4529bf54cac476b007d30487e0e1e499e3d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/support/user-deletion.ts:109 \u00B7 app/support/user-deletion.ts:169 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/user-deletion.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"36adf6a04e31c3139a6804b55473dacc1577967bec4325d6ff75154ea6f81dc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): data_transfer/PgAdapter.js:205 \u00B7 data_transfer/PgAdapter.js:273 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/PgAdapter.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa01f98dbe24f3056f552bdd5d7af0a923f1bae6e8801cacc1b8268ff512f0c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/controllers/api/v1/GroupsController.js:175 \u00B7 app/controllers/api/v2/GroupsController.js:55 \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":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f67942d6fee16389950a3e341f7fcb75f267bfd9f28c307aa9abb41ced6577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): app/controllers/api/v1/UsersController.js:305 \u00B7 app/controllers/api/v2/UsersController.js:30 \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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4c7e0e82e1c7eed96567fc4432d0daaef209ded6a759610663a5a956c16077"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/controllers/api/v2/UsersController.js:63 \u00B7 app/controllers/api/v2/UsersController.js:75 \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":"app/controllers/api/v2/UsersController.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e33e5e53eb29267dc918837398a53f251463fa266df278697804a649f9e01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/export/gdpr.ts:186 \u00B7 app/export/gdpr.ts:246 \u00B7 app/export/gdpr.ts:344 \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":"app/export/gdpr.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"89625c6e0509a7279c5456428add4e2a529c3c44c8201055b5b519486dcffe4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/pubsub-listener.js:638 \u00B7 app/pubsub-listener.js:665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a9636f1fff74af2f9e9490bf37e72070ec7af3f5ab88de96867d1507590211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/support/EventService.ts:1051 \u00B7 app/support/EventService.ts:1077 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/EventService.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9209209b521a17da40489d350ea9c890418bc3d5527a4f7cbde16fef2c1445b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/support/ExtAuth/OAuth2Adapter.ts:132 \u00B7 app/support/ExtAuth/TestAdapter.ts:33 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/ExtAuth/OAuth2Adapter.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c83aab0b04cb45954e7d966c6c73abd18150436f228b086520e5ac3c94212d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): migrations/20170303123742_archive_tables.js:37 \u00B7 migrations/20170303123742_archive_tables.js:60 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20170303123742_archive_tables.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e365d760941ecda8ff64811377702c6bc0f04e8b8edbf9e2b640942b67d291f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): migrations/20170319231315_add_events.js:1 \u00B7 migrations/20170826160415_notification_email_log.js:1 \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":"migrations/20170319231315_add_events.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3584f5fe5fbf3c655a1d7e073ab146df742eb44b9b016bf6b7877142afa4588"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): migrations/20170319231315_add_events.js:1 \u00B7 migrations/20180710150307_invitations.js:1 \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":"migrations/20170319231315_add_events.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdf9933b496503376a86f6e9ef04811dbb425cbc70156cc369e4b54b906e520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): migrations/20181209090032_app_tokens.js:1 \u00B7 migrations/20191003212404_external_auth.js:1 \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":"migrations/20181209090032_app_tokens.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa4490d9993ee7b3f677e071c675e795cdef221a4f0716b6842fc01388d2597"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/controllers/api/admin/CommonController.ts:10 \u00B7 app/controllers/api/admin/ModeratorController.ts: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":"app/controllers/api/admin/CommonController.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ee3f6ba157b4eece9359ab44032514345b4490b724663a27bd1afa3220aaf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/controllers/api/v2/HashtagsController.js:7 \u00B7 app/controllers/api/v2/UsersController.js:226 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/HashtagsController.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2987888864fe5f9b8e4d3b07041af95fb403d5ea4ed584cfb2aa4ec5411729c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): app/support/DbAdapter/hashtags.js:123 \u00B7 app/support/DbAdapter/hashtags.js:137 \u00B7 app/support/DbAdapter/hashtags.js:151 \u00B7 app/support/DbAdapter/hashtags.js:165 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/hashtags.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73c17ae87685bac7f1ef091e8fc0a1286cebf24e3c1a1e06c3036f272b00022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/support/DbAdapter/hashtags.js:155 \u00B7 app/support/DbAdapter/hashtags.js:169 \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":"app/support/DbAdapter/hashtags.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e1b502cc71f2fcd451463423483b319f2d33a9f3d0ff8babcc8af9d6eb6f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): data_transfer/transfer.js:99 \u00B7 data_transfer/transfer.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":"data_transfer/transfer.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"07917c107c72cace748eb05ad26672536022ae11e9c902423225a77039fb986a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): migrations/20160405133637_initial.js:71 \u00B7 migrations/20160405133637_initial.js:129 \u00B7 migrations/20160405133637_initial.js:147 \u00B7 migrations/20160405133637_initial.js:187 \u00B7 \u002B4 more site(s) not listed \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":"migrations/20160405133637_initial.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edc3d61891a881cb84231181f0cc7cf335c069af1f96dd5366058414423bde1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): migrations/20160706160930_intarray.js:1 \u00B7 migrations/20160706160930_intarray.js:27 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20160706160930_intarray.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c19688f328aca5bc179fbf9012578425b10730d88bd8608f7e6a27483a920b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): migrations/20161017084640_directs-read.js:1 \u00B7 migrations/20161020084149_meta.js:1 \u00B7 migrations/20170424094311_archive_urls.js:1 \u00B7 migrations/20170621225620_notifications_read.js:1 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20161017084640_directs-read.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85e548e2d4b1266ea1e9966b315a56054558d3a7dba8be8dd893cc01e28edc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): migrations/20170306121521_bumped-idx.js:1 \u00B7 migrations/20170516203300_user_idx.js:1 \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":"migrations/20170306121521_bumped-idx.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9d21b6d5bd5815895e876c5112f93cd94db85739e4bf32b5df3ddf66db7413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/controllers/api/v1/GroupsController.js:82 \u00B7 app/controllers/api/v1/GroupsController.js:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d7742b3c043991b2f2070dd3a2256fc68efba77f3044cccbef85d286424af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/controllers/api/v2/ArchivesController.js:11 \u00B7 app/controllers/api/v2/ArchivesController.js:62 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/ArchivesController.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"14544cff90586fa5e7880b3f998ef98cdcb2c3d5d228f85117cd5598bc3bd4a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/jobs/user-gone.js:54 \u00B7 app/jobs/user-gone.js:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/jobs/user-gone.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"068561534d24882ffc5f338a9bfea446e59040c98c9cae904e921677c7fccb53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/models/group.js:240 \u00B7 app/models/group.js:263 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ad1abde4acc33641f4568a3f1a8174819a7dd85299cce93734e5aa3c705224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/pubsub.ts:112 \u00B7 app/pubsub.ts:138 \u00B7 app/pubsub.ts:148 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b707ad40e3726d351c65fbb8b2644e32703488132f88988613f6a407483e3867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/pubsub.ts:138 \u00B7 app/pubsub.ts:148 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca099a0a6bb79a37410ec02f5f34f9497925e95ecb8a85316f53c6878aca9e91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/support/DbAdapter/comments.js:189 \u00B7 app/support/DbAdapter/likes.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":"app/support/DbAdapter/comments.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90f0782f5817519ac4d55bb5938a4b494c4788a183aee4746447b46d9f904f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/support/DbAdapter/users.js:42 \u00B7 app/support/DbAdapter/users.js:66 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/users.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8999a11bf65c34f30d37b4e5100c9e41f9b36c70ec7de8f4989f5935073995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/support/open-lists.ts:64 \u00B7 app/support/open-lists.ts:86 \u00B7 app/support/open-lists.ts:108 \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":"app/support/open-lists.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e54a623c5dd2921f9305ee243975b2275c6b04dd6a3531c93108cfcb412785"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): app/controllers/api/v2/SearchController.js:13 \u00B7 app/controllers/api/v2/TimelinesController.js:32 \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":"app/controllers/api/v2/SearchController.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d15cd43577fbb4389c9fd71c10801bf8f0c5f40dcbf61d5f3ddf7504b5045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): app/models/post.js:68 \u00B7 app/models/user.js:89 \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":"app/models/post.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf69a6a2ebd53b8f1656adfbd64f787faa2ebc8aca52cb7bc39df2a249b2939c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/serializers/v2/attachment.ts:75 \u00B7 app/serializers/v2/attachment.ts:102 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/serializers/v2/attachment.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd99ded0c5c5bc6b62deaba5315e9c0f35954a3c6f2bae03fe00ffc5b2713b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/support/DbAdapter/bans.js:7 \u00B7 app/support/DbAdapter/bans.js:49 \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":"app/support/DbAdapter/bans.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750813a7a21636ad3e99bf5f798e0ab9ca3e69bb1a3244fcc0f826942cdf77c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/support/DbAdapter/subscr-requests.js:77 \u00B7 app/support/DbAdapter/subscriptions.js:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/subscr-requests.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c02fcd9741a6dba54f0d4376dfb38be41ae9b26d2d49149353c17090479891"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/support/open-lists.ts:82 \u00B7 app/support/open-lists.ts:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/open-lists.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd348ba9d76790dcb46fccf17e3a74a90f254b025ad1b5d2120178739e55cea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): migrations/20170306121521_bumped-idx.js:2 \u00B7 migrations/20170516203300_user_idx.js:2 \u00B7 migrations/20170516221200_user_idx.js:6 \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":"migrations/20170306121521_bumped-idx.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6896f0fdd50fedf65dc1ede528c5a4c1196c37ff787435122a4dadaf7d3f547e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/controllers/api/admin/AdminController.ts:21 \u00B7 app/controllers/api/admin/ModeratorController.ts:124 \u00B7 app/controllers/api/admin/ModeratorController.ts:157 \u2014 the 3 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/admin/AdminController.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e951dab2ed6c22dcadd8ce5e430f69106db09b37f4a1ec789621a5acd41fc11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/controllers/api/admin/CommonController.ts:14 \u00B7 app/controllers/api/admin/ModeratorController.ts:37 \u00B7 app/controllers/api/v2/ArticlesController.ts:139 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/admin/CommonController.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3e6cfb6cbe4ed2fcbde5f461f5c443df27a9a07ab8a37901b652e00a1ddeff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/controllers/api/v1/PostsController.js:39 \u00B7 app/controllers/api/v1/PostsController.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":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83078651b564e3836be935280b9004374f129b77548652732198d05c6b9aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/controllers/api/v2/CalendarController.js:48 \u00B7 app/controllers/api/v2/CalendarController.js:113 \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":"app/controllers/api/v2/CalendarController.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"531f7b37a864396666bb6097013b919d080c3cf04e7da11917535d278eb355c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/controllers/api/v2/CommentLikesController.js:9 \u00B7 app/controllers/api/v2/CommentLikesController.js:33 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/CommentLikesController.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"54215b5cb21418dbab18f3a9c09bd856f3107fa19274b2f50b9847ebc398d4ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/controllers/api/v2/InvitationsController.js:140 \u00B7 app/controllers/api/v2/InvitationsController.js:149 \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":"app/controllers/api/v2/InvitationsController.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b811440eaad9b37ba1c32593fa12b7e196233edf984b60510baf93163068b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/models/comment.js:330 \u00B7 app/models/comment.js:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/comment.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdf063b6c8d9084e99f8a4e2715e4d97c9b6696ab01e7491f89d92fe4e7ca1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/support/DbAdapter/articles.ts:178 \u00B7 app/support/DbAdapter/articles.ts:239 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/articles.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0e30b76ca8bbc52e7d91fd91cc7d30134809a8a92035b6569b72da7c872485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/support/DbAdapter/posts.js:324 \u00B7 app/support/DbAdapter/posts.js:332 \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":"app/support/DbAdapter/posts.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe21c5394e79cb51712e907c63d4dc9e1d29d8bd119e07d4a924bb5251c7daae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/controllers/api/v2/PostsController.js:44 \u00B7 app/controllers/middlewares/post-access-required.js:14 \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":"app/controllers/api/v2/PostsController.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14298c38aae6d0254418c12cb24fc701ddd3ce97c4a02ea60bc2133c64169b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/models/comment.js:129 \u00B7 app/models/comment.js:270 \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":"app/models/comment.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2726d78950a7a4fd8cb4008de59f1a2600b2e52afd583645d3e197129c85de9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): migrations/20161201214054_stats.js:1 \u00B7 migrations/20170319231315_add_events.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20161201214054_stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde35b8a6321c0f4f0c9091248d56fba3d89af1fee735cd4726f3f37b7e8a3ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): app/export/gdpr.ts:59 \u00B7 app/export/gdpr.ts:68 \u00B7 app/export/gdpr.ts:77 \u00B7 app/export/gdpr.ts:86 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/export/gdpr.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6596f26bfd5cb122167f280eae5b53f3257f884d218672d6e18f845a97286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/mailers/NotificationDigestMailer.js:74 \u00B7 app/mailers/NotificationDigestMailer.js:113 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa11b8b722b6c33a6ce6671e6df5ab6c148b68df5196390e827d18701fbb07f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): app/support/DbAdapter/attachments.js:192 \u00B7 app/support/DbAdapter/users-cache.js:52 \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":"app/support/DbAdapter/attachments.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"576658820800779c3ac9b8d1afbdc963794c91b9efcb2191aae31f68e4da31b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/support/search/query-tokens.ts:101 \u00B7 app/support/search/to-tsvector.ts:15 \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":"app/support/search/query-tokens.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0638badb78d37dc10283333d4ac245efa3b75c0318224542d7e168a8f712db1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): migrations/20160405133637_initial.js:198 \u00B7 migrations/20160405133637_initial.js:214 \u00B7 migrations/20160405133637_initial.js:236 \u00B7 migrations/20160405133637_initial.js:260 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20160405133637_initial.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b27ec0f8191b9df6ea048fa3b6bbc69dadcfa5e190848dedefcc0640f06d76"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: app/support/s3.js:3 imports test/integration/models/fake-s3.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/s3.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bd2729aa8637921bb44b00d6dcad7809bdbf29faec23e6843929505662d46b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: types/koa-body.d.ts:4 reaches into another package with a relative path (../node_modules/koa-body/dist/esm/types) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"types/koa-body.d.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3b320f87238ab8fb1e11165e4f00597fd171f10b9a1e02736ded686097449"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 45, cognitive 55): (anonymous) has cyclomatic complexity 45 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":"app/controllers/api/v1/AttachmentsController.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35a604d3c375184fd65813f435d05e70cf71119682d57ce88009fb7fbc3dfdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 35, cognitive 36): search has cyclomatic complexity 35 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/search.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d003ccd6599a2efcd73e21261e202a66ca39e88c1414f926314405260e21419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 33, cognitive 31): (top-level) has cyclomatic complexity 33 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 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":"app/support/open-lists.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93a66c382374ecb9726ea27dab41d78dfe467d491dbe5173c63adff03c47963"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPostsWithStuffByIds (cyclomatic 31, cognitive 44): getPostsWithStuffByIds has cyclomatic complexity 31 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6755043d32b87d61445473a5758dc15aaf87a2d1b5b0544a5ecc393af330696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 39): (anonymous) has cyclomatic complexity 29 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/serializers/v2/user.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9b098ded961c26662eab9f66d8e01aa4aaade4977d216593a7cd8274f5a4f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 57): (anonymous) has cyclomatic complexity 28 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/parser.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a956051ab7dbee846e3a851cec43ea0e8313446ec596a92d261c753783047ade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 27, cognitive 35): update has cyclomatic complexity 27 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa358e30bfe8e3230dc6ff47f507051e00a87b9b2e3a5fbf90f5d513d1336eaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMediaFile (cyclomatic 24, cognitive 38): processMediaFile has cyclomatic complexity 24 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/process.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"322e9720b8c40909d20a20b20a9434b44f73cc96fc2072b4aed56c93dcb7f37c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeFeed (cyclomatic 24, cognitive 32): serializeFeed has cyclomatic complexity 24 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":"app/serializers/v2/post.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"69747e4e4f9facb248042cfe59d42526d3e42958f87f16d14b070cbbb2f781e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectMediaType (cyclomatic 22, cognitive 26): detectMediaType has cyclomatic complexity 22 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":"app/support/media-files/detect.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e0fc840aadcee9730121cde3c10819db2443464351f443ba7bf75eb07c540b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 32): (anonymous) has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4f42bb52e1e3c42483eb2bce653d0416a0472a1a09543493b7e62627b1f099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 30): (anonymous) has cyclomatic complexity 21 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/pubsub-listener.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef1aba7d7fa6ce9f89200550d42512bff29c0cadad613562ebcbc596947b50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function userTimelineAsQuads (cyclomatic 20, cognitive 47): userTimelineAsQuads has cyclomatic complexity 20 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/export/gdpr.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bf66f03f9acdd45692bd4c91c2bd7af752c813a4fe9d3d86d5f8dba78870a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 34): (anonymous) 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":"app/controllers/api/v2/ExtAuthController.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7524dc97c3d98aa34c8e704e19013dbda90129c7e9d7775f3821a08c73d9251"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processVideo (cyclomatic 19, cognitive 32): processVideo has cyclomatic complexity 19 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":"app/support/media-files/process.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eb7d193e9321600b0e9796926449d2d0caf4146e6eff1f3bc8a52c93fce5be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function genericTimeline (cyclomatic 19, cognitive 26): genericTimeline has cyclomatic complexity 19 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":"app/controllers/api/v2/TimelinesController.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd069685f56a7e088a4bdcfd467da96c02295d4ee4643164343737a98230b34c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 25): (anonymous) has cyclomatic complexity 18 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":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f2c13c42438e932a63b7aaa9c96b5cba0d57b1e277bd098bc2e35a293d9189"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 18, cognitive 19): constructor has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/user.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e754f7f907157b39076467370e88e7f3c30d228861b7c859006b5b672a23882f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDateExpression (cyclomatic 18, cognitive 17): parseDateExpression has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/date-parser.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5062e8ea5ffdcf00ea91e67bd16598287823e38139a49f4e379130cf7a794bb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function up (cyclomatic 17, cognitive 41): up has cyclomatic complexity 17 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"migrations/20200421151829_feeds_cleanup.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ae04dd0a8fe23922236c915e45de7b547d1de20989fc1bc05b49a75a391ed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeAttachmentV2 (cyclomatic 17, cognitive 34): serializeAttachmentV2 has cyclomatic complexity 17 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":"app/serializers/v2/attachment.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f95e318f1c654042eb624a506c49746f0e276618132f8f2d57c67840cab459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 17, cognitive 18): update has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/group.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3517d0ee317f346c8a5f234f9bb18cd1c4d3029c18a5e063d13f45fc0f05e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) 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":"app/serializers/v2/event.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"32793849ceae8d1a1e8952197e10d68e8191ed57a09508269e0194dd5b408028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) 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":"app/controllers/api/v2/ArticlesController.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0465642e62e18df48e8aca97917ec839d9d1c739af0c7496b9755d73b8e9c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectPosts (cyclomatic 16, cognitive 22): selectPosts has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cce8ad55ac4c0f0da24f37bab474f0893ff8eb0fea978b532ff2d620a6c94d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function middleware (cyclomatic 16, cognitive 19): middleware 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":"app/models/auth-tokens/AppTokenV1.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faac43ce1f4f36fa4d4aec5868fbd766794e3e3027e46fa66686dfa8a6e9868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 16, cognitive 17): constructor 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":"app/models/post.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac3b7f0c65c08454b589d7d525e8a3f3f0ced678ed436a4942ad638eeec3090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jobHandler (cyclomatic 15, cognitive 19): jobHandler 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":"app/support/welcome-directs.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"253472c240c9eb73405cad77833d7e0e41a9fb5669a54f5b7fc810bae8e38376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCounterExpression (cyclomatic 15, cognitive 17): parseCounterExpression has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/counter-parser.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a87749c564ff97e0139c2a5db2eae103a965429c3bb9ffded87b576ce4a44c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 15): update 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":"app/models/article.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05de536cc36d0f1bc18acb626a8719cb9b99e6c22fcee49e271aacf3472b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/PostsController.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4965da7491c2bed6ad10889a7cdaba926980d3a54eeb58923bb346ed01fbef7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 14, cognitive 15): resolve 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":"loaders/extensionless.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ea1ed1751d5491f29c6a569fca1f34c24d126474d2c580fa83527c9caf6ad5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"814abca6f197c7c11025d77601b13195b2dfa7078000dd52e2566a3e03448320"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rateLimiterMiddleware (cyclomatic 13, cognitive 20): rateLimiterMiddleware has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/rateLimiter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f764ed349dc1bc62bfb2ebabc866b25c999c564116ea5dcab22022bd4d93e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInvitationAndSelectUsers (cyclomatic 13, cognitive 18): validateInvitationAndSelectUsers 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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aa356b1dd67f2882c9f32ae88ad3a99fad97e22487ad3cc4bb4715212ab5c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDestinationFeeds (cyclomatic 13, cognitive 17): getDestinationFeeds 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":"app/controllers/api/v1/PostsController.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b76322db60cdcd88c9ffc475e7bfbf98a98c58abe537275fd2f986af49ed08e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeCreation (cyclomatic 13, cognitive 16): finalizeCreation 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":"app/models/attachment.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cace97c8b71e348ffc7f8b0e806dddc3789488b1061b8848dcffca63b480121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxy (cyclomatic 13, cognitive 14): proxy has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/CorsProxyController.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da8aa7746bea7957bed267a12ac87521c6e53fd2cc9b4794948a720e5ceba1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getVisibilityLevel (cyclomatic 13, cognitive 14): getVisibilityLevel has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/timeline.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e37be98c03b74bbdc053d3975217973d4091766d2ef12c7e4e75c7f2df122"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadURL (cyclomatic 13, cognitive 13): downloadURL 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":"app/support/download-url.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d94729c81feca042b950f5a284d795f9b12f2d7384a8c7d71c1ab6371a0873"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAppleJpegHdrPreview (cyclomatic 13, cognitive 10): createAppleJpegHdrPreview has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/media-files/jpeg-apple-hdr.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dfcf810dbd848c77813dd726f6976f3a37cb66c0fe17c0fba74c7292d77bac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/UndoController.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1052be9bbc8fb3b29bc002b0cd6d5cd7ae6daaad93f89e35fd3c16200523cea9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticateUser (cyclomatic 12, cognitive 14): authenticateUser 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":"app/support/local-auth.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b471012fd39f02690128b1d976bb003bb6541a78e3946e6b5d68efcd15d7565d"}},{"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":"app/controllers/middlewares/post-access-required.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a09373e41d6b4c296073b4a3cb546b8d4a48a225e4c6569be2d207131c9540"}},{"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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2896bff99489ed249277a2a0f260583a42180655839201d16b589782c2670d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUnreadEventsIntervalStart (cyclomatic 12, cognitive 11): getUnreadEventsIntervalStart 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":"app/support/NotificationsDigest.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bb293cff61ca9c36af8f3a2a118f81e6b95af4feeb1cca00abbdd1cdbd746a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) 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":"app/controllers/api/v2/SearchController.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba4daef1a09aae77560aefe2051ff11ff6c6217711bd4a6b9a63d0065ae6156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCommonParams (cyclomatic 12, cognitive 10): getCommonParams 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":"app/controllers/api/v2/TimelinesController.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb454db4c3452839bf0df379c58f13eb2b8b3a6c1f0fc4a5b083654702544bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImagePreviewSizes (cyclomatic 11, cognitive 18): getImagePreviewSizes 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":"app/support/media-files/geometry.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ae18cb01f25f964cb469d01de83d86c2a756b241002735896b82d06f46e382"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEvent (cyclomatic 11, cognitive 15): createEvent has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/EventService.ts"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08f5a944f5f6cd50ed57f4ea4e25ab8e9b61b8bb03dbea252abea88fcb91e7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 15): constructor has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/ipv6.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"89caba80e2f7815cfecb9d267dc55900b284067067f0ca5de2ce13127d048055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getQueryParams (cyclomatic 11, cognitive 14): getQueryParams 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":"app/controllers/api/v2/EventsController.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4754660b7d5d7bceacd5cf1a43134f672226addb93983b26f15e9af4d044173a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postItemMaker (cyclomatic 11, cognitive 13): postItemMaker 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":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"63917ea557226e21b8070d25a42a6ad6a3ff89cf284da834b4487863b6689df2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toTSQuery (cyclomatic 11, cognitive 13): toTSQuery 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":"app/support/search/query-tokens.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b672ca943d53bb13ba6aea468e9d4f69a9fe69b87ffae5c67142fa55d39f02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stats (cyclomatic 11, cognitive 12): stats 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":"app/controllers/api/v2/StatsController.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06d6b037e451a891b1d808cd70c69094e1c547338ac09d0e92c935d32197bb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 11, cognitive 12): render 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":"app/views/emails/best-of-digest/Post.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3b0ec30090877a3fc6f9d502c28dd720e70687d27184854257751ed4db3a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInvitation (cyclomatic 11, cognitive 10): validateInvitation 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":"app/controllers/api/v2/InvitationsController.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15cc9e685b5349f4cf2931c6bd55ccf278e266637a77a6485f25b89e6a6b639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeAttachmentV4 (cyclomatic 11, cognitive 10): serializeAttachmentV4 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":"app/serializers/v2/attachment.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ea5d18681587f9cc6d81399429548519a133eda420a50001200130ab5dcd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkImageSignature (cyclomatic 11, cognitive 10): checkImageSignature 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":"app/support/media-files/detect.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"714a9bd0202ed6e966293948854ebac852143b6c13423f561f23b095810ed628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInputs (cyclomatic 11, cognitive 9): validateInputs 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":"app/controllers/api/v2/CalendarController.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a4fcbabbe213477d4615e59f94f140f78538ac3d1c1655e8e08e9303e8095"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function userCanPost (cyclomatic 11, cognitive 9): userCanPost 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":"app/models/timeline.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1122d48efae6a4dda1d3357b57d1605bb2cad423a53917f9eb340ac84ad88683"}},{"ruleId":"R3","level":"warning","message":{"text":"app/models/user.js: 1142 lines of code: app/models/user.js has 1142 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":"app/models/user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a0401b2e7fe40f80f5855be11f1fa90221b8507f300d0d50c70a28d88d46e9"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/EventService.ts: 1010 lines of code: app/support/EventService.ts has 1010 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":"app/support/EventService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9340abe7d66a8b0cb222609a8ade4e067e7dd24124731096db400841bddff4d"}},{"ruleId":"R3","level":"warning","message":{"text":"app/models/post.js: 924 lines of code: app/models/post.js has 924 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":"app/models/post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa63911386e7b650923e9978c805d2ceaed10dd66c2c58ef0651469155fe1c8"}},{"ruleId":"R3","level":"warning","message":{"text":"app/pubsub-listener.js: 913 lines of code: app/pubsub-listener.js has 913 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":"app/pubsub-listener.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c5924776220a4bfa6c5cf4fcca64bf1a13346c2408a0c8d69506b638459b9b"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/users.js: 750 lines of code: app/support/DbAdapter/users.js has 750 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":"app/support/DbAdapter/users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c86ea2c767032aa669c463130a66b58e17197cb2fec14f942225c7608ff4b84"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/search.js: 719 lines of code: app/support/DbAdapter/search.js has 719 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/search.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff5187c843333f17a325d9c5528df0a248196e9233c154415c58439359798e1"}},{"ruleId":"R3","level":"warning","message":{"text":"app/controllers/api/v1/UsersController.js: 702 lines of code: app/controllers/api/v1/UsersController.js has 702 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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058173534d13dc8d30f31fa811b99ac4a62f8283a84812cc7cd1fd436a8add4a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/models/attachment.js: 647 lines of code: app/models/attachment.js has 647 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":"app/models/attachment.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d89b12576cb874287c89d4bba68cd7923b6abe7c5c6b84c56ee5d29c641c7d"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/media-files/process.ts: 600 lines of code: app/support/media-files/process.ts has 600 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":"app/support/media-files/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8658edb718d6bffaa3ffc280e332de2738e223b650a1b31d76b4d50cc9b9c3"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/subscriptions.js: 580 lines of code: app/support/DbAdapter/subscriptions.js has 580 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/subscriptions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab38c38d21ee914f41e67324001e86211a0019d4f6fbade5827eb578c820fcd"}},{"ruleId":"R3","level":"warning","message":{"text":"config/default.js: 526 lines of code: config/default.js has 526 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":"config/default.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06576e6e85e395eb8e9ad5d33fc117a10b5f24f647a3a5543b2d92f03e42a1ab"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/timelines-posts.js: 520 lines of code: app/support/DbAdapter/timelines-posts.js has 520 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/timelines-posts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cf284ae78400f6f470da9be819f24aa1e08ac98e1caba039d55fd9d9ba7ef6"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/posts.js: 506 lines of code: app/support/DbAdapter/posts.js has 506 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":"app/support/DbAdapter/posts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efcb9791dbf20f16f3962d8e35c3f6960966bddb83ec17dc415df26289c8c02"}},{"ruleId":"R3","level":"warning","message":{"text":"app/support/DbAdapter/articles.ts: 457 lines of code: app/support/DbAdapter/articles.ts 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":"app/support/DbAdapter/articles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"693d125ba2fbd6283865c480124c0e607f172e297d462dcde81cb129d7b4ad4c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/mailers/NotificationDigestMailer.js: 417 lines of code: app/mailers/NotificationDigestMailer.js has 417 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":"app/mailers/NotificationDigestMailer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8cc51240aa9992a2da23a9a1534b078f4941167e563798bad29b682b6bb4f"}},{"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":"config/default.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33fbc3ac6927404f5530ebb0bb11e44bc5b896b61e397a4dfde0a50c005f11b"}},{"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":"app/export/gdpr.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ebd802b69abc1eb9d9c9561b67cd97d88ceb96c2672c99f3f6ba186c8a499d"}},{"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":"data_transfer/PgAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18ac9972b81e42743dad9ce9d5fb0c506c1974e55a6b5ca58ef9009a110b981"}},{"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":"data_transfer/transfer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92bdf9c062ce851465863778f5a03d2832cf1a9020c82b8c6ee137a039ae265"}},{"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":"knexfile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c5c4ccaeed4dd9460660aa24782db96b2b146b4684c5d9c67ce0a39e87bc72"}},{"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":"index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9c6863b3d8b2e3133cab1d9ec730fe7b712fa5c1c8fecc21bd4b1873d5052"}},{"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":"app/support/migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b7830693259282517f15e3beef0dc7530bede816a4909eaf5e41560a47c428"}},{"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":"app/controllers/api/v1/Deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d98f4ef4f636c20aa05615772ef7d58bad57c098a257f1ee8bafb2ea2979389"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~587 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/default.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7102ad458f6b8f631bfd4b1dea73cef12382b23f33775bffb1dd7b31168112"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~445 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/export/gdpr.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b78e7bd46f7ac19fa8feee4a480ca8fe844841afcdb4e43c2dde20c2fde8946"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~371 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/PgAdapter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"228387a3464633d6e60c8d97396b476a2a5ffb5db9b651f27fb6d1e1a302ce92"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~317 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data_transfer/transfer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119c1b76d0b7f8e783abffe810579e33550827414c44d6275d77e2df84db559"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705919989c9928cb5b966a5b9281289a6673ef9459b3c321d6de3ed5dab89f23"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"knexfile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789fc760c7ba20757c09daefe6d6a77ad59d16b22ba3f6505f0a92e21157738e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v1/Deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93046c10f62e835fa4f117f33b45967550ea24e3e012413ffb9abf0acb6d75c4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (3 application, 96 tooling, 176 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a269e1b747aeb0e43c9c16459ebe012aebd75fb46ac04b38f316d4194348fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027sqlInOrNull\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/DbAdapter/utils.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3d1510fd7c34ba32dff87ac82a09a8dd17d5b7387135c6e12d0b4e1e1f8afe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isHtmlTagClosing\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/tokenize-text.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d749444fb960c9eae7f0dfcbe4ea6e4f403c0998e69602844977f12128401e52"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isLink\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/emails/best-of-digest/link-types.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"211abd6d7979a846119359604e1766946225b43635daa92bbb775d3201b285de"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027readonly\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/auth-tokens/AppTokenV1.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5dac603a46b1f388f988329e2f0b305e5c0f0b86aa215ff06a0960bb28940f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027readonly\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models/auth-tokens/SessionTokenV1Store.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0f9d941fc21f9e60801b107b1ef3cd21b4303c8ce41218c31b8a80171ebc05"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027formidable\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"types/koa-body.d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8da35991d22e24ab4e2b3fec338dfdc790d1ad70f6c81f224e644665e503b7c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ejs-lint\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3791f6b542b736ff205dd85a7a256b359a8601b4e9db66b612cffdc80ea79ad"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027js-yaml\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef88102794f3f7c425c578bbee9306ad9e295a2ed84ca570f2f20406f6dbe0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027source-map-support\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a776fcbce11e118b7bf93e61ca1cea29d5dc12398d38d84083d70cd8415ed802"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027pg\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/export/gdpr.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5d69165c00339f1d9dadc163ae453e77da160f0ffb0a1cdb29ae3dc624dcf1"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/controllers.js \u2192 app/controllers/api/v1/FeedFactoriesController.js \u2192 app/controllers.js (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b927b5a160a6f0284b1043eb9f445b5d989bb344375b30506291551206296f5e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/controllers/middlewares/comment-access-required.js \u2192 app/controllers/middlewares/index.js \u2192 app/controllers/middlewares/comment-access-required.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/comment-access-required.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d6ef8e1a6d43d09e9146353f711cb0381fad3093a9ea54d6cd138732d2fe93"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): app/models.js \u2192 app/models/attachment.js \u2192 app/jobs/attachment-prepare-video.ts \u2192 app/models.js (one verified cycle inside a mutually-dependent group of 44 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/models.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9173c0d59d03d7d864f0a0653feb3dc1dc326466f639d285de9ebf61a8223739"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/jobs/periodic/auth-tokens.ts \u2192 app/jobs/periodic/index.ts \u2192 app/jobs/periodic/auth-tokens.ts (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/jobs/periodic/auth-tokens.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7612f8d24edcd18599b677fd67160395a3e85ab1f5860ccd9a4760ea4d506f33"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/views/emails/best-of-digest/Post.jsx \u2192 app/views/emails/best-of-digest/post-likes.jsx \u2192 app/views/emails/best-of-digest/Post.jsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/views/emails/best-of-digest/Post.jsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"490cdcf06707bed8474848a5ffb2baa6d3c812c0f6ab5e535db90257540136f4"}},{"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":"app/controllers/api/v2/TranslationController.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"81425cbe69a848aba1e4811c544cd8ea3a859a6d3595f59e4a4cb020acbe471a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!viewer \u0026\u0026 post.isProtected === \u00271\u0027 \u0026\u0026 post.isPrivate === \u00270\u0027\u0060 appears character-identically in 2 files \u2014 app/controllers/middlewares/post-access-required.js, app/models/article.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/post-access-required.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0299ad5804f6e4be30cd2ff63e6ccb015146144a501e2c3e13b8669e7f8d28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(params, \u0027description\u0027) \u0026\u0026 params.description != this.description\u0060 appears character-identically in 2 files \u2014 app/models/group.js, app/models/user.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":"app/models/group.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dd23387a58231bea65fe51a6fbed10541d16e60735b1956494ced1eb01d93f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(params, \u0027isPrivate\u0027) \u0026\u0026 (!Object.prototype.hasOwnProperty.call(params, \u0027isProtected\u0027) || params.isPriva\u2026\u0060 appears character-identically in 2 files \u2014 app/models/group.js, app/models/user.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":"app/models/group.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f27913f04c61a1bf065bd2e20ede44cfb8008a51658bc7426de43a1f3c6d0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(params, \u0027isPrivate\u0027) \u0026\u0026 params.isPrivate != this.isPrivate\u0060 appears character-identically in 2 files \u2014 app/models/group.js, app/models/user.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":"app/models/group.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0817bd004a2d1af1383bd6bad7d6c7b8e2f2c90fbfaf1d1feae4f7757dc93d72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(params, \u0027isProtected\u0027) \u0026\u0026 params.isProtected != this.isProtected\u0060 appears character-identically in 2 files \u2014 app/models/group.js, app/models/user.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":"app/models/group.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"03417775fc7dbb61ae1c5c0ebbe62285b030ced9dd5aa4a181efac4da1014b1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.request.files \u0026\u0026 ctx.request.files.file\u0060 appears character-identically in 2 files \u2014 app/controllers/api/v1/GroupsController.js, app/controllers/api/v1/UsersController.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":"app/controllers/api/v1/GroupsController.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25ba72d3b4817129396156ba56207e8f6fd3b52abc932d2db1be9e137ce93e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.state.authJWTPayload?.type || \u0027anonymous\u0027\u0060 appears character-identically in 2 files \u2014 app/controllers/middlewares/index.js, app/support/rateLimiter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b820e4a659ae7b70fbe5cc49778e6c879944edfc3c3d3cd0faef491b53fc9e44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lookup(ext) || \u0027application/octet-stream\u0027\u0060 appears character-identically in 2 files \u2014 app/controllers/api/v1/AttachmentsController.js, app/models/attachment.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":"app/controllers/api/v1/AttachmentsController.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d29a5683693c7b2cc94250abccdc0e4b851a9a895eb33d4c21a1fc645c2aff5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseInt(ctx.request.query.offset, 10) || 0\u0060 appears character-identically in 3 files \u2014 app/controllers/api/v2/CalendarController.js, app/controllers/api/v2/EventsController.js, app/controllers/api/v2/TimelinesController.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":"app/controllers/api/v2/CalendarController.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d732f897dc734110dd9171db0581e5a09d0cab7904d7170fd7b78b453f62d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.type === HASHTAG || token.type === MENTION\u0060 appears character-identically in 2 files \u2014 app/support/search/query-tokens.ts, app/support/search/to-tsvector.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/search/query-tokens.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"05758ac1995d0a0b8d703028b70876ac97784a6e9a7b8a0d9407347257010893"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deepMergeJSON\u0060 is exported and takes \u0060base: JSON\u0060 from its caller, and it calls itself at line 28 (\u0060deepMergeJSON\u0060) with a piece of \u0060base\u0060 \u2014 and nowhere in \u0060deepMergeJSON\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 \u0060deepMergeJSON\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/deep-merge.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"15798ba7e0ba8cc9d9644765397020af6f8c3b8ac5b800adea5706a4f0910880"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalizeStrings\u0060 is exported and takes \u0060val: object\u0060 from its caller, and it calls itself at line 28 (\u0060normalizeStrings\u0060) with a piece of \u0060val\u0060 (and at line 33) \u2014 and nowhere in \u0060normalizeStrings\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 \u0060normalizeStrings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/middlewares/normalize-input.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163491364faba87f5693b74f7294fd84d48895eecd6845b64587cedcfdce837"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/6 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: recaptchaVerify: \u0060recaptchaVerify\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":"lib/recaptcha.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6c17c1379135d76675732013af6b394f2911821ce861cbec85a349993e1dc1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadURL: \u0060downloadURL\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":"app/support/download-url.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e30d8186a31b55cdee5dbfc6e38e9e085f8cc96df7815db26892dfdd9726b2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: translate: \u0060translate\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":"app/support/translation/service-google.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2243fa1430d59d1b45cea1d63dee4a62913bd5512b0e3bea101c16beafb32def"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(a.url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4963afb08c89b64b4395807eca98e9723ad03ec14b70d2fe1f398ff4d5ea3a86"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(a.url)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9370faf026718fb8f3f136956e72bc1132fa2ab6855b4f548f557f4d253d6bf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(originalUrl(a))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b52d3d7c392257a3bc44359bf92632a8a095220cba11a1dbe41f34fbdd040de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(originalUrl(a))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3230c1bd709334da36514b99e549305f6e76a7dda65ab031bb2325b55c3abd4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(originalUrl(a))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/controllers/api/v2/TimelinesRSS.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d9eed79d2d0178ba8374bc7a678bb1e26f832dc0a504d1e4fd3d73ec149703"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060recipient.username\u0060 is text this program did not author, and it is written into the text of an element through EJS\u0027s raw \u0060\u003C%- %\u003E\u0060 output 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":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c907f0fc9be7e9097e26815fe4628a3f708be238e9fdbf210221c1d94af83b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060digest.body\u0060 is text this program did not author, and it is written into the text of an element through EJS\u0027s raw \u0060\u003C%- %\u003E\u0060 output 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":"app/scripts/views/mailer/dailyBestOfDigest.ejs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"736865121165bd4cd5001bf927316bd837438aa9eab7066422c4d8574fa9bde3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060digest.body\u0060 is text this program did not author, and it is written into the text of an element through EJS\u0027s raw \u0060\u003C%- %\u003E\u0060 output 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":"app/scripts/views/mailer/notificationsDigest.ejs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"657ed76b8536b3580a6812d025df9e3b667d83327690232f5633a535378dd424"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060recipient.username\u0060 is text this program did not author, and it is written into the text of an element through EJS\u0027s raw \u0060\u003C%- %\u003E\u0060 output 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":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a611ad52dda6dd46ed94c140fbfa273baf83c288b80723f0db462b122a3ccf39"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060digest.body\u0060 is text this program did not author, and it is written into the text of an element through EJS\u0027s raw \u0060\u003C%- %\u003E\u0060 output 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":"app/scripts/views/mailer/weeklyBestOfDigest.ejs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f294444b266cc00efdf1d8a32fa300e44aee7ca225235957228d6a21a611e92"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(emailHref(token.text))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/rss-text-parser.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"525dab1fc73204095502a8100c98e495b3e119fadad074f0f67fc51bc6508789"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060htmlEscape(linkHref(token.text))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup this function returns 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/support/rss-text-parser.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a148587fa3e2f04285678e32d0f7301fee74c4ecf48aebd64b2d032186f0160"}},{"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":"loaders/extensionless.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c89c08d2e3e5621fae200e167371bbfa9a1192d99a216f00ff80b0e74b19c37"}},{"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":"app/pubsub-listener.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089aad891eaebd5194c0032f9797831e3ffcdf96475de4c3bb4a3eeddfc0999"}},{"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":"app/views/emails/best-of-digest/linkify.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"819fd9b52368c15e3c9c81521f2511ea7b6358703a4a293b35c141c92e58e136"}},{"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":"app/support/ExtAuth/OAuth2Adapter.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0142469a275c19cdabbc1f63dc84cf3f8ff94511f3d73b35c094693b232478d6"}},{"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":"app/models/attachment.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7246a6822e92e8cc691dd0e2d873cec6e4bf9f5313957e1bf179e18aebf721ab"}},{"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":"app/models/attachment.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c610672fad720b371e136dddbfd722268faacc3bbb576120628c7f6c5eb32"}},{"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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3866bbf35d9b059ceedeafecbd9f91abcdfb8d550ec0951accb1d18588fc2abc"}},{"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":"app/controllers/api/v1/UsersController.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4588e2f9c0d310bbb4a0c6043b0b113b14314bf81ddb2c34edf1f4232458ebce"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.9 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 12 assertion(s) across the 13976 source line(s) of the 152 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: app/models/auth-tokens/SessionTokenV1.ts (9), app/serializers/v2/attachment.ts (2), app/controllers/api/v2/CorsProxyController.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":103,"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."]}]}