{"$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":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"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":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Socket.constructor (cyclomatic 31): Socket.constructor has cyclomatic complexity 31 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 6 belong to 5 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":"assets/js/phoenix/socket.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713fef50d8ac1093d8448723f840f0484d4ffe30ae423e75b085f5780294846"}},{"ruleId":"D1","level":"warning","message":{"text":"Socket.onConnMessage (cyclomatic 16): Socket.onConnMessage has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 863). 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":"assets/js/phoenix/socket.js"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6dae3715d6a6fe2f73f29a35206dc37a29a32d2a4c6f522b8034f23d99c988"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 34): constructor has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 21, if/else 11 (13 pts) (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 13 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/phoenix/socket.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a39fd29905ada1f2d783fcdb945b138e8b6b90cb3e79a6783ff1b10db72d5"}},{"ruleId":"D2","level":"warning","message":{"text":"New.run (cognitive 21): New.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/lib/mix/tasks/phx.new.ex"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fe1e23faa97d5ae1e7b3219dec7ebdd3b141f86245440b82be5de92c847c57"}},{"ruleId":"D2","level":"warning","message":{"text":"Socket.onConnMessage (cognitive 16): Socket.onConnMessage has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), loops 2 (nesting depth added 1). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 863). 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":"assets/js/phoenix/socket.js"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef752bb4a5a2418b6cfdceff9b45267393fee41ef79857feb6a8627c866e34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phoenix/controller.ex: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 85 functions. The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaabac1c9cff6de3476dbc31519ac71f658bb615211d2b222c82c8a1922195d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Socket: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/phoenix/socket.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72d3a67ddc24f8fb98fc9ef4f7e248c796e0bd600ebc7166f0be0140bfe7773"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phoenix/verified_routes.ex: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 240 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/verified_routes.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b368107d8aefa6935b7ec288c1b825daf5ce82c448befd5714e3c3cfced866"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phoenix/router.ex: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/router.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe219844469a77d78751d49571bc4e1d2c5580b2dc99bc5ab27df27fba75d36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Digester: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/digester.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c568cc3458e977b649444aee998af7c2aa18ee17ad275722fc127496064244e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Server: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b436a77a773fe872f8be1280a6741c830842766d8e5090def7b2f543247f8c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phoenix/schema.ex: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 44 functions. The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/phoenix/schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83990ffec098702d6ce4febb965d48d5fb73f47e15928e4efbd0f7d3637ccf24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/mix/tasks/phx.gen.html.ex:226-259 | lib/mix/tasks/phx.gen.json.ex:218-251 \u2014 before extracting anything, compare \u0060lib/mix/tasks/phx.gen.html.ex\u0060 and \u0060lib/mix/tasks/phx.gen.json.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/phx.gen.html.ex"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80026e78ebe725834aeac6326911640ceff5db82d24a5c76de6cb203ece0a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/mix/tasks/phx.gen.html.ex:130-153 | lib/mix/tasks/phx.gen.json.ex:129-152 \u2014 before extracting anything, compare \u0060lib/mix/tasks/phx.gen.html.ex\u0060 and \u0060lib/mix/tasks/phx.gen.json.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/phx.gen.html.ex"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb82f48e54fa418de2d8d65bfbedca85d15093a0711f11a402d2cef5f4d0eba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/phoenix/router/helpers.ex:34-53 | lib/phoenix/router/helpers.ex:67-86 \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":"lib/phoenix/router/helpers.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bd7108ad2e8697697e78f99f06ad2df44a118b5fa2e193ba87593bf8349943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/mix/tasks/phx.gen.auth.ex:729-747 | lib/mix/tasks/phx.gen.auth.ex:757-774 \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":"lib/mix/tasks/phx.gen.auth.ex"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"29925cc30b405f3fba48f9b4bb5075674f1f269739fc4f17a220f49966c3a6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/mix/tasks/phx.gen.auth.ex:836-848 | lib/mix/tasks/phx.gen.auth.ex:881-893 \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":"lib/mix/tasks/phx.gen.auth.ex"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e2f949b1a7fbfe25422ae93d8fe47c67cde31ee853cab574b9082e748e6fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): installer/lib/phx_new/generator.ex:164-173 | installer/lib/phx_new/generator.ex:182-199 \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":"installer/lib/phx_new/generator.ex"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c34ba3f3abc8303c31415a5e10fcb1e1d55fa0e602c55f02bcb3bbaa66f80b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/mix/tasks/phx.gen.html.ex:192-201 | lib/mix/tasks/phx.gen.json.ex:191-199 \u2014 before extracting anything, compare \u0060lib/mix/tasks/phx.gen.html.ex\u0060 and \u0060lib/mix/tasks/phx.gen.json.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/phx.gen.html.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d44b996f40780581020db0fd82ea89c217a677ebb05b073c1205f44e0c7adbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/mix/tasks/phx.gen.context.ex:161-168 | lib/mix/tasks/phx.gen.notifier.ex:79-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/phx.gen.context.ex"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb7f933d55609aab9a4cb75c2923f301740f7b243c85fc208fd8f8bd7bd8d5e"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the jest suite in the repository root ran and not one test passed (FAIL assets/test/socket_test.js), 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. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: sets state to leaving initially: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da109c99f1e72e0c62d9ec9c174dec227a57820c2b83a5ade3502f262866dc8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: closes channel on \u0027timeout\u0027: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d78e0920061bd7dff29cf1c9048d24722eb4d5b39ceec4c4e76cdc9010558"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: accepts timeout arg: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fc196f1ee0f835667ae4e9bd4ad508f203ce580f81acf43f059c4e78e9ab73"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not trigger other receive callbacks after ok response: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2c3a9f049ea668d93154c82770593d326cd3806b2681113af8673a58c9f7c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not trigger other receive callbacks after timeout response: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8926f1195a506682b4205fb75f25fd6be7bfed2b9ff7b1220fdb7a8d1f1b69a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not trigger other receive callbacks after error response: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11548fe189f207aa0f80720dc79a44c1ac8997f5741e9464cdfb7e1f6539f3f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes all callbacks for event: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"02947d654076064ecf640f7003eb1d2a2016ca2aca8bde1c780881bea3a1fd92"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invokes ontimeout and clears timer when fetch rejects with AbortError: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/longpoll_test.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14c2935b8b7ae3f27b0d0f5e25047f871f94e71892a1b1b94dcf9273ddbe421"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: postgrex: Runtime dependency \u0060:postgrex\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in integration_test/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:postgrex\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fcbc7082662e7dcc321686efdf20be35007c155396c10a8ef7dacec2a4eb4176"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: myxql: Runtime dependency \u0060:myxql\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in integration_test/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:myxql\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e18aeb17c237b6e46478d1020cebc5a6a5fc3b44bbb09d17beb820262ad1cfb"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: tds: Runtime dependency \u0060:tds\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in integration_test/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:tds\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"30da5b03003f17c245de7334f5d9c93ead55322a0cc01e52af08182fce28e144"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: ecto_sqlite3: Runtime dependency \u0060:ecto_sqlite3\u0060 is declared \u0060\u0022\u003E= 0.0.0\u0022\u0060 in integration_test/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:ecto_sqlite3\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d4a2a864b4ac57eaf1dad80c5e73c55cdd91181ebb8259d7338f0059623262b4"}},{"ruleId":"D12","level":"warning","message":{"text":"Unbounded dependency requirement: lazy_html: Runtime dependency \u0060:lazy_html\u0060 is declared \u0060\u0022\u003E= 0.1.0\u0022\u0060 in integration_test/mix.exs, which has no upper bound \u2014 every future MAJOR release of \u0060:lazy_html\u0060 satisfies it, so the next unlocked resolve can pull a breaking change. Use \u0060~\u003E\u0060 (e.g. \u0060\u0022~\u003E 1.0\u0022\u0060) to bound the requirement to a compatible range."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"411807e2c6288650684471a2f59340e8ae9ad42de37a707e747db24a3f0ab9f8"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f2586e26987f193cebdf6bb131715d23f3eb3a98a44b3ec70143b4dc08c8888"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da97aefca5f83bd651984bdd0931cfc3c8ed740f3e2fcb4690b1e047cc7b37a0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"294f556f13267335b433ae337cd2db19973145f9fbb2b2a45f1c26c8a57e52b1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf0c881d21e476782c762cf5a2d693b7fb2acf428bb6d7e5676db7c8175e175e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: assets/js/phoenix/socket.js: assets/js/phoenix/socket.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in Socket.constructor at line 122. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 16:36:43 \u002B00:00\u0027 --until=\u00272026-11-06 16:36:43 \u002B00:00\u0027 --full-history --no-merges -- assets/js/phoenix/socket.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":"assets/js/phoenix/socket.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"661debb1769512183f62c5108cd530d6a290c4ffb7af6d2ac48dc5b40584fac6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: lib/phoenix/transports/long_poll.ex, lib/phoenix/naming.ex. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a61631c85dab49d56c5f0fd7bf6aa6c54e12917ded82bb6580f7cadf8416eb"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (4 single-owned of 61 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 61 of the 93 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: integration_test/aggregate_summary.exs, lib/phoenix/transports/websocket.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Drop phoenix_view as an optional dependency in Phoenix v2.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mix.exs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1662313a3d7d0c24adc83df9c50b7c1313be4be471864893235a0e38a4c822"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove in Phoenix 1.10 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/test/channel_test.exs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeb365af860b8d6617077ca800f2e1a2db60809e472ce5bb17dcf0da2a758f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove in Phoenix 1.10 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/channel/server.ex"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"280ae0a8756b1205b7acb9d16e757b2eae4538fb27d34a7338323c146fb5eb56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use parameterized tests once we require Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/integration/long_poll_channels_test.exs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9388aa35125b5780a6f62344700bec656373698253575c7e666d7472681e8efd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use parameterized tests once we require Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/integration/long_poll_socket_test.exs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320d30bb17f468bdba9fde1ab34863ab9b1ffb1d65d87035db5cf5d37506706"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use parameterized tests once we require Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/integration/websocket_channels_test.exs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce76e5b39d2c2899f104f64b0f8161c6c244334d7a0c0ef9b649aef4fb7e7df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use parameterized tests once we require Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/integration/websocket_socket_test.exs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d763b30b1b573866f9fa184a83a0200639ee7fa0f67e014d37fe25b8420d0a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} tuples are removed (Phoenix 2.0) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/endpoint/supervisor_test.exs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ce29940b5274d360c68e97d9e4f294e2d7ef6200171b16070f46a647104362"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} tuples are removed (Phoenix 2.0) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/endpoint/supervisor_test.exs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d0c01365c16011f5ab02f5e1917b5c324456ba60e9d74e3cc13e804fe62995"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} tuples are removed (Phoenix 2.0) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/phoenix/endpoint/supervisor_test.exs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c5e5d1e4d98421a77738766fc40296442f65b5ec5533ac5d67d51bd0447d44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Change the default json library to JSON in Phoenix v2.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix.ex"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f693a882b59ff2600c1473d6ce0ba8b0ec7b7b8e012e49e0a3aa9c53d803c247"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deprecate this whole branch on Phoenix v1.9 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"643b18290b4440e57cc46f79e5dd19f8ed5215a56d37720db29849bb0c10f91a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove | view from the spec once we deprecate put_new_view on controllers on v1.9 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc62796cf7b46e824f7360e6c40d81026577ff4e064cebb707c1c8aa27157fe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove the first branch once code paths are deprecated and then removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"32945f79af5665fcfc78921899797972d9efcecc181303b9196c354532fdce49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deprecate this branch on Phoenix v1.9 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c23f4ee8354c05e00c27ded79b606fd777be03779ed4df651196b58756f5474"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove | layout from the spec once we deprecate put_new_layout on controllers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"d320d332c52dc15a6bb495fbe0337f33be1d82125d78dbc6c05c15a6384a80b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove _ handling once layouts(false) is set to remove all formats \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ffa89734c9a91d53d66cf98212bea14b4d741223a0c175c0a0ad54822f213"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove _ handling once layouts(false) is set to remove all formats \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd4f29adfdff954e5e998b05314d2d4f638eae58d68cb795614f200b5d9c3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deprecate passing :layouts altogether in Phoenix v1.9, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/controller.ex"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e635ba19686441f33e105b4f9b031396c13cccbef7c0b299bb8da5ae3220e3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Require :helpers to be explicit given \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/router.ex"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c989bbf93a90cfa3957a664a1f28a72efb10b674451d285a42027a9627ca1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO v2: No longer automatically import dependencies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/router.ex"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0d4c9fbfa9c24a0926fef3d0d66e9ffc0b638959cabfec90af493334938c61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: replace with Process.put_label/2 when we require Elixir 1.17 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/socket.ex"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be4e3726349430c477254ff22abb9557afc8a8b0df2a2d3294096c3f80f13cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: replace with Process.put_label/2 when we require Elixir 1.17 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/channel/server.ex"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd29380524a8ddc03065c8674e33a60885a6a5485dd1782bc693874e35815adf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} deprecation is removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/cowboy2_adapter.ex"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb098f2b281070761ad3275402e2cfe27528540421a82eaa6fd5a2f7efed2ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} deprecation is removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b70ac4608271b7c2ca646b78f88d86428834d70b563881a0deb875094b4b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once :pubsub is removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92317fbb68dbbf86ff77569fc20ef0a0543432b034eb7e20d53cf6c9921299"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove this once {:system, env_var} tuples are removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"59000a647700ed635e33b2cef63f3ca0e652d8067d8bf8179c999032e0588ea5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # backwards compatibility. TODO: Change this to default to Bandit in 2.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3530f35af68ab2b922f07877879cfa4ce6ee355bf32d702e0146e7737fc17889"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Gettext had a compiler in earlier versions, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdd80982ec3c559d668f14eb24d8bf7aba44ff81eefe9948e707d6cfea6b9c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove the first function clause once {:system, env_var} tuples are removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/endpoint/supervisor.ex"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb5e7a1b91e3d11430de5501b9a612d83d380297f6fab575b5f7c7a5caf1c2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove once we depend on Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c6c4934ed327b77f6ea6473026471dd0d26d526962fd14357bd362f4d6e9a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove once we depend on Elixir 1.18 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0dfbad7ec23c149c2e2f0a3958af4961ab0c04368bc64c4e656b6abbde3284"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO: Replace this by Mix.Task.Compiler.run/2 on Elixir v1.19\u002B \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e27539c5aca087ca103991e9122a57ee2184533dc7558aeb5c3aaae3371eb27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Convert this to an error on v2.0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"43753dd5f9ef237b9fc577a005b592c5c0ae99671e15641cf7cd2e1ddef67fb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove once we depend on Elixir 1.17 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"67884edff681878f468d229fd1402e309370c235bf9d71c5bea9855172b22e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove once we don\u0027t test with Elixir \u003C 1.18 any more \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/config.exs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2e21ff5b75d8f7897d8176e986cbd85a6d7f6732fef837a836b00aa75b6ae3"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Spy on Ajax.request\u0022 repeats the code it sits on: 3 of its 3 words (spy, ajax, request) are already in \u0060jest.spyOn(Ajax, \u0022request\u0022).mockImplementation(() =\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":"assets/test/longpoll_test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06d5f4b998bcc91e8447023ad16f84530e24eacb4f29c40d44644a0fb8daa8a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060(repository root)\u0060 (21780 LoC, 90 module-visible types across 15 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e2544c6676219e542e9c0466d00da50cdc9f7432417bad14c33b8ca6f3cbdbd"},"properties":{"commitSha":"380f0ef1ad99baa0efd384a7fb58a83632848b27"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a16c6eb819d3056399b05bb422ae6d3d88c27a2cacd5b5d2a40c5446cbb4a1dc"},"properties":{"commitSha":"bcda38918967f79d8dd3f4f34a337c7786321462"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0336c876fa9c7a4da904b2e24699a4b84613fae32ebfebcb9d247e9a42b4a8df"},"properties":{"commitSha":"0ff870e90b6195b6c14a49a95ea63ea4fc7d82c3"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcc867ee1a413bca9bb3589948604728b5aabcdc13cb04fbed575241ae0c19d1"},"properties":{"commitSha":"5477ad04ab55cdc86b1fc9d1b058a66cf8a55f29"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"a92f1ce5ffaf971104e483aacfa297fc5f787a0d1a55a75a80361f080c8d6553"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a8d562e8ba1494cf0663b0278d4254bede14bd21187eecd4a21cd5b3525abfc"},"properties":{"dependency":{"package":"bandit","version":"1.12.4","advisory":"EEF-[CVE 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]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[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]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12192512338528ab229b69a82f3b5f1b5c2b67cd1c3402767296d0878121b0f2"},"properties":{"dependency":{"package":"plug_crypto","version":"2.2.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"844a326dab15c5b46db0011b51a3955c42aec658527526e4786ec8d53e5a66f0"},"properties":{"dependency":{"package":"cowlib","version":"2.19.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49effe6e6565edf8bc086350f8f9783f474779f40db347049df940f146fd2ff8"},"properties":{"dependency":{"package":"cowboy","version":"2.18.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78fb365146500b5b528e3d6c9007c50bf98e8c9e85bc88df895185b4be91583f"},"properties":{"dependency":{"package":"phoenix_html","version":"4.3.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2c0d303d9969db61c54a042f7122f819cf5de43de6e49fd466e948c76412c3f"},"properties":{"dependency":{"package":"ecto","version":"3.14.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02b944c9cd1a38137e4a798d2ecfe251e64d84562c78285bb586604fa3320137"},"properties":{"dependency":{"package":"mint","version":"1.9.3","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","EEF-[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb299a523c0dd68baccdf1c55ce6028ed49f73e1b17b14a131cda3e2b1583213"},"properties":{"dependency":{"package":"decimal","version":"3.1.1","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e9000c2bd507df28256240f5e667dc5bd000db7924b970af4d2cceaa1078584"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65502758f473fe4b7079fcea72f0dab2f395f9968614b99ee4bb0b108e411516"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e0476bd497e48de52820371550edd3933596aa200ddc099b90c98989d8adefb"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b3aa859fdee17ef9231417c7710dfea229f0a7aa2cd8881986ca1ad5726abf2"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4ab27a9e1ec6441e9f5a5fb0755c44a2713204023b6addd7e8425483a67a05e"},"properties":{"dependency":{"package":"vue-template-compiler","version":"2.7.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e48ac159ff7e45e7e8caf46fd08634e372e75c9d630e99e5dd84a5fa49a5f3b3"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6dd1639b54072da076c55bddf9a42c8cad9c1665a1880485b12f01ba56c405a4"}},{"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":"a39230d023e48ec83746ac803eb20b68cc477ca9d5f8877dd576e60a442e4849"},"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":"3d836d3661ebef8dafc5ef11a228813bab5550f5cb55ca9318b6796fde3c4249"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 10 of 61 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; 61 of the 93 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: lib/mix/tasks/phx.gen.schema.ex, lib/mix/tasks/phx.gen.notifier.ex, installer/lib/phx_new/interactive.ex, lib/mix/tasks/phx.routes.ex, lib/phoenix/socket/serializers/v2_json_serializer.ex, lib/mix/tasks/phx.gen.channel.ex, lib/mix/tasks/phx.gen.socket.ex, lib/mix/phoenix/context.ex (and 2 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/phx.gen.schema.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8075db3da8387ede4ced135c5e743ebe940b7f48e6db18025672ae6865bbfefd"}},{"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":"lib/mix/tasks/phx.gen.notifier.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a5918503d4da4fe21c16ad36f6048245e7bfb3ca74126d29dcdbdd49eab592"}},{"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":"installer/lib/phx_new/interactive.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e25e5993c5e86f97d9c96b2f20434401f1beb3cd69df677a83da0d5bb30a6a7"}},{"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":"lib/mix/tasks/phx.routes.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b7c3ed6483ae56a5e1c4b00909f8d107a719c24b989a6307bfacc4eae54fe4"}},{"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":"lib/phoenix/socket/serializers/v2_json_serializer.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da333eb41ef98d69f445897d012ee7b9f90b3dbf561df0966832c6d7efffaf"}},{"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":"lib/mix/tasks/phx.gen.channel.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6e105dc62862b44a57193d51745be62ee54316293ed8818bb13d72177e8933"}},{"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":"lib/mix/tasks/phx.gen.socket.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2b28f07e1703d91ca87be908cb2358c7c149ec8c48e8e72cb31d57be744cf"}},{"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":"lib/mix/phoenix/context.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9164e29814cfc8244420d8bcda7b9c8461b1a9cf3ac55bb3fc9b443587a162f6"}},{"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":"lib/mix/tasks/phx.gen.embedded.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1791ca37ddf15091e7f323010f5aca48ecd473a481bf486dfd927379600e072"}},{"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":"lib/mix/tasks/phx.digest.clean.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96e9c0a08d2f8ea2b3c9087dc91085fb423cd6465123c2cc08d202d6e03e0b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: single.ex \u2194 web.ex: \u0060installer/lib/phx_new/single.ex\u0060 and \u0060installer/lib/phx_new/web.ex\u0060 change together 71% of the time (17 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060faf11c53\u0060 Update gitignore templates to match Elixir upstream (#6780); \u006055ed8fd7\u0060 Fix new app generator and move topbar.js template; \u00601ccbc3f6\u0060 Generate channel case on demand (#4698) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/lib/phx_new/single.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce005fe472675793a7268289f933b4455384b339b075a23fd75aa8e5e02a4b7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: generator.ex \u2194 project.ex: \u0060installer/lib/phx_new/generator.ex\u0060 and \u0060installer/lib/phx_new/project.ex\u0060 change together 64% of the time (9 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006018521490\u0060 Remove unused installer template bindings (#6786); \u006030fed979\u0060 Add --no-esbuild and --no-tailwind for more fine grained control; \u006006565eff\u0060 Add LiveDashboard to phx.new (#3713) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/lib/phx_new/generator.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb010e097ed50d6a0b3a1f119940dd99ac0645d9bb233201edc2d57cf7d22ee1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: phx.new.ex \u2194 project.ex: \u0060installer/lib/mix/tasks/phx.new.ex\u0060 and \u0060installer/lib/phx_new/project.ex\u0060 change together 64% of the time (9 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00601b06ea12\u0060 Support PHX_NEW_CACHE_DIR for cached builds (#6104); \u006030fed979\u0060 Add --no-esbuild and --no-tailwind for more fine grained control; \u006006565eff\u0060 Add LiveDashboard to phx.new (#3713) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/lib/mix/tasks/phx.new.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"467a08621685b85cfffd375ef82d90d5cf020221ad9f44ff34bf50e6a117e5c0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: single.ex \u2194 umbrella.ex: \u0060installer/lib/phx_new/single.ex\u0060 and \u0060installer/lib/phx_new/umbrella.ex\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060faf11c53\u0060 Update gitignore templates to match Elixir upstream (#6780); \u006018521490\u0060 Remove unused installer template bindings (#6786); \u006014256468\u0060 split AGENTS.md into small parts (#6385) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/lib/phx_new/single.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"772365942050a207f490f0ccc49f98db74e10174f052cbd7ed8dfe2aef4c0e27"}},{"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_web/components/layouts.ex.eex"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0a859586f08173f0b8e3549b2e081f5b4258c88d3b02afcdbc8c87aa64826"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_web/components/core_components.ex.eex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eba8b0a2f7c8eff40180077be22c40bcf4164ff79ed326216258b3d6674f19"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_web/components/layouts/root.html.heex.eex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f7e22adaf0d535cb49a8b49fd3ecb754ac209266a97ff07a860213cfc5b238"}},{"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":"installer/templates/phx_web/components/layouts/root.html.heex.eex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdec68878522f4c82993e5a70f7bafb69046137c7fe6daff3dbc7e5d5a7b441"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.menu :where(li \u003E details \u003E summary)\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"33baed25ff96d689d29989db45ef025c376a4576ece767f439d77e15e85e8a34"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.menu :where(li) \u003E *:not(ul, .menu-title, details, .btn).menu-active\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0232e4bf1140ca2f4dd795775936b670a1ccbe6a7786a3034cbea8657661f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.menu :where(li \u003E details \u003E summary):after\u0060 moves (\u0060transition-property: rotate, translate\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e1ec100283a446c34aeed2c2b26e2fcd4e1324b06c1c47f817cba8afe9d70"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast \u003E *\u0060 moves (\u0060animation: toast 0.25s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69b9bf9ed0f2d1629507e50428f1c46e6cc394cc07a1baa44e1aeb4e1566090"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toggle \u003E *\u0060 moves (\u0060transition: opacity 0.2s, rotate 0.4s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5397e51cea2439d5a57584930611796b53f12ee50f13c23181127eb6ba21b73"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toggle:before\u0060 moves (\u0060transition: background-color 0.1s, translate 0.2s, inset-inline-start 0.2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abd65bc78b33c8b5fc33b37725c5821193e6bf232805befd59936111d52b332"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.checkbox:before\u0060 moves (\u0060transition: clip-path 0.3s, opacity 0.1s, rotate 0.3s, translate 0.3s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ab3cab32ffbc174d6c6000e31630663ff17b880b06c9edb7f3b059fb6b128b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress:indeterminate::-moz-progress-bar\u0060 moves (\u0060animation: progress 5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"30882852a004e2b6b84d4baae102c0f8532edbc950967f476c506a6951d2755d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress:indeterminate\u0060 moves (\u0060animation: progress 5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bdab123e7909aeb7dc06da296ee74e6a9b9da6363f772160aa0844311e0a73"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton\u0060 moves (\u0060animation: skeleton 1.8s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/templates/phx_static/default.css"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b8cf50b502531c805091782ecae618a0bf1efd2e6b28d8118386b6d943b0f0"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (an a11y linter that can read your UI \u2014 no component framework was detected, so the JSX/Vue ESLint plugins would have nothing to lint; use an HTML-template a11y linter (html-eslint, htmlhint) or run axe/pa11y over the rendered pages) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 24 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060installer\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add sobelow (Elixir/Phoenix) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 5 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060:httpc.request(\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":"installer/lib/mix/tasks/phx.new.ex"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a34549efeb1d01209359a63d7cf07c2e1221af8b5f980f2fca173781588f09"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060:httpc.request(\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/mix/tasks/phx.gen.release.ex"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6578454f8cf50f1555f885b4a8a312ab9d8eb412ececb5f5a519368a15ec73c"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 20 plain JS \u2014 the untyped files are assets/js/phoenix/ajax.js, assets/js/phoenix/channel.js, assets/js/phoenix/connection.js, assets/js/phoenix/constants.js, assets/js/phoenix/index.js, assets/js/phoenix/longpoll.js (\u002B14 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 22, cognitive 21): constructor has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/phoenix/socket.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993f1f3960533b5b2cb00c16cdfae851280a426a8e3747c559ffb7fba89307f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/phoenix/socket.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ffc4ba92856b844c45b7da996f595a6ef0040d1e39825f838df9102ed60fa"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/js/phoenix/socket.js: 842 lines of code: assets/js/phoenix/socket.js has 842 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":"assets/js/phoenix/socket.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9589cad16fa3cb204bd95ed4e0208eae2153d8ce0d4166d3aaef313b1f92edad"}},{"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":"installer/templates/phx_static/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a3e3212852bbe6af175a7c2dbbee0942eb1950cf4a9518a9c2922643c58cf2"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint or typecheck script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"658a995477a4f3b704a1d0c61d78cffb4c5cc1944c2f896c1bb70ee901a201cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (20 application, 2 tooling, 8 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":"installer/templates/phx_static/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dab984a9df2a525134faa8a69916a4b0dc5b0a1ef5daafd100fecbfb880b6ba"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@jest/globals\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/test/channel_test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8631471c2e8239aaa933c6e8df1bf021f97f23c44e01c9d95bd8124cceb79631"}},{"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 (\u0060:crypto.hash(:sha256, data)\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":"lib/mix/tasks/phx.gen.cert.ex"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a18c4df8fc7594b21f230b75043ce5d086fd8f6dad6e2167b1ba08bc6ffa4e"}},{"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 (\u0060:crypto.hash(:sha256, data)\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":"lib/phoenix/code_reloader/server.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba9c9240c3f2f2dabb3b522f3a4213d7478fb0cfcc1fd06d484302c0f483bb"}},{"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 (\u0060:crypto.hash(:sha256, data)\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":"lib/phoenix/digester.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"946029f818d8955360536c783e1b9da9aea8642a03498d2fbf03317c25a20dd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060File.exists?(mix_path) \u0026\u0026 File.exists?(apps_path)\u0060 appears character-identically in 2 files \u2014 installer/lib/phx_new/generator.ex, lib/mix/phoenix.ex. 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":"installer/lib/phx_new/generator.ex"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46fca82290d2b935b668fda9baa208973c96a17a6b324bf6c821a780bdfa6a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(string) and is_integer(number_of_spaces)\u0060 appears character-identically in 2 files \u2014 lib/mix/tasks/phx.gen.auth.ex, lib/mix/tasks/phx.gen.auth/injector.ex. 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":"lib/mix/tasks/phx.gen.auth.ex"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ab0af591cbca2aeb06bfe4c5dba55b795cd46136bae1b80fab28b191981ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060opts[:context_app] || Mix.Phoenix.context_app()\u0060 appears character-identically in 2 files \u2014 lib/mix/phoenix/context.ex, lib/mix/phoenix/schema.ex. 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":"lib/mix/phoenix/context.ex"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4296c60bd1adc625b5dc83245978449f4ce987226a62757ad6a2f12ada8324"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema.scope \u0026\u0026 schema.scope.route_prefix\u0060 appears character-identically in 3 files \u2014 lib/mix/tasks/phx.gen.html.ex, lib/mix/tasks/phx.gen.json.ex, lib/mix/tasks/phx.gen.live.ex. 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":"lib/mix/tasks/phx.gen.html.ex"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9502f6d51c32216da181af543405896bbdfb2cca98194826d8b9cb563f70cdfa"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-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":31,"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."]}]}