{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"api.getWikipedia (cyclomatic 29): api.getWikipedia has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (getPageImage, getPageExtract, searchWikipedia, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d185d323358272e160809504ef6b1a525c7efe008948fbf776dcde644be921c2"}},{"ruleId":"D1","level":"warning","message":{"text":"passport.handleAuthLogin (cyclomatic 21): passport.handleAuthLogin has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e211807094793e5ce893ceccf822921d5af98eaef82574734f172232cafbbc"}},{"ruleId":"D1","level":"warning","message":{"text":"user.postUpdateProfile (cyclomatic 20): user.postUpdateProfile has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c195fac207e0f817a899c97bc437fe0c5e2934f71046bfa1f62593c6e093dd"}},{"ruleId":"D1","level":"warning","message":{"text":"getPubChem (cyclomatic 18): getPubChem has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 17 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de54e3c4783239ce30d83ca46a42f5ef5467e4161aed629a431567e9650281"}},{"ruleId":"D1","level":"warning","message":{"text":"user.postLogin (cyclomatic 17): user.postLogin has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 101, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c69327ff6172b11ca1aec2cad8d8d5321d84463ec3ed7aa3667ff49a471356"}},{"ruleId":"D1","level":"warning","message":{"text":"webauthn.postRegisterVerify (cyclomatic 16): webauthn.postRegisterVerify has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/webauthn.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4f5e4c0bc7785e3b7347558f28f324dc620e4ba5d315a0b994070a28809f8"}},{"ruleId":"D2","level":"warning","message":{"text":"passport.isAuthorized (cognitive 32): passport.isAuthorized has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (26 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 19). Of this number, 19 points are the body\u0027s own statements and 13 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: config/passport.js holds 3 of the 14 methods over the threshold \u2014 including the worst \u2014 and 32 of the 74 points over it (43%), 2\u00D7 the next-largest file (controllers/api.js at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32844042953a483699627162e5eacb22c1069e29d744b601d7b05ada6ec3957"}},{"ruleId":"D2","level":"warning","message":{"text":"api.getWikipedia (cognitive 31): api.getWikipedia has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 10, ternaries 3 (4 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (getPageImage, getPageExtract, searchWikipedia, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"842f6fee33901af8804808bde9b5007c9b51bee2228d0277bd213f41a333b6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"passport.handleAuthLogin (cognitive 29): passport.handleAuthLogin has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 8, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: config/passport.js holds 3 of the 14 methods over the threshold \u2014 including the worst \u2014 and 32 of the 74 points over it (43%), 2\u00D7 the next-largest file (controllers/api.js at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2114cc546721655e1161db88cbfa838c5ff89ddddd4e115a164ff79ff15070"}},{"ruleId":"D2","level":"warning","message":{"text":"user.postUpdateProfile (cognitive 20): user.postUpdateProfile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"898b7511e77e7ecb72234aa1c8edde29d73ed7b9759e626cc0e384e1d1fee355"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-agent.postAIAgentChat (cognitive 19): ai-agent.postAIAgentChat has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai-agent.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9315881475182fe080c95da31cb9230e1903f7ebed51033af9f75c573c2c86"}},{"ruleId":"D2","level":"warning","message":{"text":"user.postLogin (cognitive 19): user.postLogin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 101, 122). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5700817736137f5b9ee6261964f1f784f9c355857bc36f0cb7203964d2a25eed"}},{"ruleId":"D2","level":"warning","message":{"text":"ai.withRetry (cognitive 18): ai.withRetry has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3a11e6b3723fda5ec37ecede8c29ff6641ce5350919134c7f070a78526a862"}},{"ruleId":"D2","level":"warning","message":{"text":"contact.postContact (cognitive 18): contact.postContact has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/contact.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8845e87809bc539d575b396d65a69cd8b5798a41ee78e282b6a524d904e68f"}},{"ruleId":"D2","level":"warning","message":{"text":"getPubChem (cognitive 18): getPubChem has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, error handling 6, if/else 3 (6 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 5 belong to 17 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d7fedd65e73be68293ba04a849834ae930fc725b9afdd1f00e5bbe56199568"}},{"ruleId":"D2","level":"warning","message":{"text":"passport.saveOAuth2UserTokens (cognitive 16): passport.saveOAuth2UserTokens has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: config/passport.js holds 3 of the 14 methods over the threshold \u2014 including the worst \u2014 and 32 of the 74 points over it (43%), 2\u00D7 the next-largest file (controllers/api.js at 16). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdefb9c9ae684a6f89f4098768a1d3ffe4f70338dc1be0382d4a49a1671ab32"}},{"ruleId":"D2","level":"warning","message":{"text":"user.getOauthUnlink (cognitive 16): user.getOauthUnlink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"59770d23682f099e4ae1047d7933d564ef3e24286df293a71550505d1388eac3"}},{"ruleId":"D2","level":"warning","message":{"text":"app.app.use() (cognitive 16): app.app.use() has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a7157857948576adc3037453966a59c6620e90f409ff16f1c700225bf86617"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3bc744c5e802a567bf56cdb4c232857e4ee822c4dcaed24bd21703a0e53c74"}},{"ruleId":"D2","level":"warning","message":{"text":"postRegisterVerify (cognitive 16): postRegisterVerify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 3, error handling 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/webauthn.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee942df3e2324fe6f871040581fc23b6c9928fe788073db6c7944e9dbedebf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/api.js: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f462ebd1fda53aa3c1b06332224aa484880a59f419ee54660f44a7c1c18b6e5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/user.js: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfe01f530e8b2e5a4d63480c67606a857fd5803b9277e01ada56a5dcdac1477"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/passport.js: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\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":"config/passport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e728b9379c2d903fc4ea38b17bef3b481422afe9be439001c7fd7be67f40a"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the mocha suite in the repository root ran and not one test passed (Error: Download failed for url \u0022https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2404-8.2.6.tgz\u0022, Details:), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/google-maps.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a897dff7837b5c9e01f13bd5145bb53bb67affae11140d971c35a3043c39a8f6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/here-maps.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd5f0698ee60e6a296cbeefc89afb3bc1d1bdb709be36dd69b157af7a19bb96"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/lob.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5939aec70432e51c716db9ea891aedfa1d6e453a301c8ec3036ce4a1e4cf6c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/rag.e2e.test.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a57ab63c1e79022ac98a9198e692026e1048277bacb2007ac576dd7d7ce09f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call next() when authenticated: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"381a61bf3f3c100463815a15c83af5b0508e5e7124db881402db9573cfb86f36"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should set an error flash and redirect /login when not authenticated: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebc2d22f5a5605171e831fb9962b644003ce78e3dc613f71832ed830e7c68fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 1: should redirect to auth provider to get new tokens when user has never authenticated with the provider: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc7972a64365416a247fdeec916eea1e8bd94627b0418a1f49af05187d21139"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 2: should proceed when access token exists and is not expired: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"999ca2712699ebca6dc04a3a13e410c766336fe1feaaa13dd747159a73edef96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 3: should redirect to auth provider to get new tokens when access token exists but is expired with no refresh token: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e507aaf0101573b8575521b49f7b6b4d7c11a112848a0e68fd03db0d5047ebb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 4: should handle expired access token with never-expiring refresh token (no expiration value): This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3d568393970eab212543df3c42be6c0bcdb281e2c8f9001c1d3d380ea53552"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 5: should handle expired access token with non-expired refresh token: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f423362ba8829581e858679acdc424d5471b2179ee0aba00972c4f984ed518f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 6: should redirect to auth provider to get new tokens when both access and refresh tokens are expired: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf6c95a3ca4d129fbbe2a81c3f9b6c3a3a29ce2edcefde0da2ff6c314b54901"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 7: should redirect to auth provider to get new tokens when refresh token exists but refresh attempt fails: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/passport.test.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"560e368d0bfcc5a08d5d362c7f902fe8ba95bcc5c9c19572949f86d3a5c232e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to /account if user has no password: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbea75f8ff457799dc489d97b9f4b0bd74b0b8d611f7825b52fba36b73dfcf3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to /account if email is not verified: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc8cb77f19f2b75a7245e51c418fdb050836355682beef53b3dbcbfb93e0f05"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login for invalid email: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c1cf00f3ec06c2b31f9c57ca9d0892839693f7bea8c046acb3d05f9a32af7e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login when password is blank: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfc3f257e3445a84429ff107f7ac22a83a0f817c88b959087a8dd6dd749ddba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should send email link and redirect /login for email-link login when user exists: This test sets up 6 test doubles (for example \u0060sinon.stub\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ce7de8dd468e058d04f7cdb76c536cc725d23b6a94bd8a304f6e2941a8731"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect /login with generic info flash when email-link user not found (anti-enumeration): This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c1bd630b0921b3b449748a2c4bb1c7cdb25068bd372be8868f34df155f732d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should log in and redirect to / when passport authentication succeeds without 2FA: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd15c7c4637f937471aa94af6020d83d94a9da931876d35c75c25ac03acbd1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash errors and redirect /login when passport returns no user: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"322fbe6f86f9cf2182723d8ad3491d8fa9a5bb10ea2b0f4658c29f203dfb060e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /signup for invalid email: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fde8383fd270427143b6e2dcf30934f971c3b2f909dd5a1861c8e4c0d7a7360"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /signup when password is too short: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024ff39a8bef2b3e1f638293a6910e37224329e7a7249d9552d92bab5fef9e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /signup when passwords do not match: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"076ebf5dd92c8f224273ae2065610ea7f8c9e8387a5f9ac3435411002f835973"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for disposable email addresses: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce656056948df11e226f45d2378f4c14277f78f77642473df7ded0e0e27210fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should send login link and redirect /login when email already exists (anti-enumeration): This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04ba78ab3420605176c520c38c5f45ea420f853c1cb945b1d307116bab993eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should create user, send passwordless link, and redirect / for passwordless signup: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a9ffbaaa370fa31356833048056f52a2d85d42bcd11e2d008a2657b6785e1f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should create user and log in for regular signup: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39d143e9506d9505e5283cfd346386f9d0ead88db7190824a2ee63882ec8d8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /account for invalid email: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ed4daca6fc67944c77b550d1e2390d3baa24e03beba68f9c3cee10b9b089d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should block email change when email 2FA is the only method: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb96db15662b6cfde3cee6cf1aa8530a05b5bf72b39cf81da9dd53c2a5ba360a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should allow email change when TOTP is also enabled alongside email 2FA: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbd513b4face7dac32669045b2913277e89d6b4633ae98b3149e9d6631d23d3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should reject invalid picture source: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"120f51cfcb698a481885b7a615520bbe2fb3323081a41c86edf6c57ac2823bd9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash generic error on duplicate email (err.code 11000): This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"6614e10053fd8d08176931c8fd206e8f1dd8c75386a7d63ec2e438239d632fbe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when password is too short: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4509601eae5536c7ae0c6aecef85e8ad6c38c4ec837caac4343cae9e8795b46"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when passwords do not match: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2fb7ba206a3d11102b3f332a725d102be261a995421e015880446b750711ec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should revoke tokens, delete AI data, delete user, and redirect /: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"54030b5383102ae49ec45301e39b1b71126a16cf44888ee8a02154cd133b8992"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call next(err) if an unexpected error occurs: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0f643e8828077f228917c47cef18eb89808778d1b15dddd9903c3c75e93e88"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should block unlink when it would remove the last login method: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0116e0ffae1c5968581c6ff3dc0f314e1ceaf29a8bb10cafedeef0496f9f24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login for non-hex token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f301a902c3727b5b514b59582bfb4883b79c00d5b6aa1b3b6d4bbdfc27816"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login when token not found or invalid: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"2112eea4df3b1a56b2719e33aec5cce20f2887946cbd154a4f0656bcc95ce181"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to returnTo URL if set in session: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"46723a3ac632a9b2861a352d3cb9e5a5acc320d85300f9b9b44883446149f9e4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to / if already authenticated: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e19a8d505f4996531fbda943605bd48e3ac079bedccb0ed34fae62c7725a2e4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect / when user is already authenticated: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c0369b7c41d4c383a1350d7090c2f918a510fd9641ec1935b77c32c95bb616"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /forgot for non-hex token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecee0d2d7b43228cb516c804b9cc6e79a4082fbd90c65560598c5527cef2af3a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /forgot when token is invalid: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51173efbca48b8f6b01ad67de92ff35871c1388588c2bc2bd936137bd3c37b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should render reset page for valid token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9318dbc613a31885c32f3bbf1d53e4238630a77abca5dae8aaaaf8cc2c604a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when password is too short: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"7562c5067a7a1e0af028e3599954e4777fd8c902d30f6bdf646ad451d73bfd9a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when passwords do not match: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a78c4c815713497e24cceafdd5ae9fdd1078b8e3c3cd3800830d441bd92ebbc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for non-hex token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc47ae92e0ab71afc0faa612fe846ae1e0620380cc678ac204ce439e1328d26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when token is invalid or expired: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cb53365c839629f75744da262dd6f05eb2874c5571dc5cac10155588414f19"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect /forgot without throwing when the token matches no user: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"590dae7dc20ce4a9257533c0dd378b6d92fa208443ee85eb3ad24ea70c466449"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for invalid email: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d969b60b72820968700cfdcc5609188f518a355d6fc647f3b309115acf02e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should show generic message and not send email when user not found (anti-enumeration): This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"41671d35006dab0b29f0e88d73c8ef643a86c8ef43af47a3533ff7ba163b45d4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should remove all sessions, logout, and redirect /: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d5f454e0386243d9ff395912e067340651109e5f3407f936bb50a4e4a567d8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call next(err) when session removal fails: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc3e9e75079f2109ef91441df89386ed210566d3da5ebc001ecc6a7f345622"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect /login when no twoFactorPendingUserId in session: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae63daee53afc44665ac69e4beb7c3c8a2bf42927edafb89ef53ef3e11a631c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should reuse existing valid code without sending another email: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2428735ea943066c70f84069050b64a14cae896f9fb3b5f9afa209eeedc7bd44"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to /login/2fa/totp if user does not have email in twoFactorMethods: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4dcb2a44e27a3f4b02abc2aa455c8e89a78259d67bfc2c25b8de2adec4af26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login/2fa for non-numeric code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"463784b023ab18e5dbb800c92a05de9209706a942e798153faa5ab5b38b7d351"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login/2fa for code that is not 6 digits: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07ac964cb433eff6eb6aa6904372f14f41b7128160f8c4d19457cb045b10c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login when session expired: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e26a8f59fc05fe2a03c3b904b73ec8877857ab46201916a5d2cd93e86e07ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login/2fa for invalid code: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c1c30ce6f75ed016a6eb47f993d677c4605b1abc80629ed3acf2bf4508e29b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login when session has no pending user: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1938f35eb1c7403b6db794f4083c2916713ef888a77cc1a8e9107959db8a1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect to /login/2fa/totp if email 2FA not in user methods: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c82cc9dd36c7073c6b77b9f7c498a37de2c25149c3923c8c7fa4253ce68688"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when user has no password: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a8b09c2866d4993b234b4551a0a1ac490dd69e3761e6b71c200b685304dc2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when email is not verified: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bf0ce329b0368a276d01170b4a20012a85af72d5f5b63e6be709eaa3d97f16"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when code is not 6 numeric digits: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"5273dda0d1ebcdf04de00880c80ba8ae187c744469def81953b462723043f481"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /account when session totpSecret is missing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dd3238e92f105a2294470ad3b56f3b99f2a2aeff55a245033ed237f7df7b2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /account/2fa/totp/setup for invalid TOTP code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8da6f4d2ec8072a60090393885b3b8595b96c30bb12017bffb8e4ed669edf9e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should redirect /login when no pending 2FA session: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a24bb17700981ef1c6fdde71d0c32cdaf074fa50a9c6aa68d914b572f9ce606"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login when user has no totpSecret: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29be4f379ba87a720a1f0f8ad803aec0fecd8b4a55e70aa565db57ea9624327"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error and redirect /login/2fa/totp for non-numeric code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb397b403338ea6fa1e8a210c83acceb753a37bcc25051a453e4bc5ddcc0f96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for invalid TOTP code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09fa8a04774e26c79f8671feb242ab1277d4ec9eec96c62e8b3374d4f9387d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash info and redirect /account if already verified: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a1f0e38fa135ae826154aec62df5a9753922a840c88461726596ff6e571c6e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for disposable email: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"9101f8afb5314d590fff40f517299efa7fb88bfb03ec199cf7f29f07a69fc13f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash info and redirect /account if already verified: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bb2fd489a62391e600493936886bacf13a264782970fc46007e21fe00e2b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error for invalid token format: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1933}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c747cb6e662ce87897382f67b3c979fac2bb4828e42a503a0a97b761af69e90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should flash error when token does not match: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/user.test.js"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b5601be7b375e12ae04256cd901f9ca29e534fc1725e9a399a8881a118093"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 5: Error handling redirects to /account: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/webauthn.test.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"426f57fcb791f30a72983928bf67a460ff2130ce472553fc472ae99223b91608"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Scenario 6: Handles Mongo E11000 duplicate key error: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/webauthn.test.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3651e4c3a3751b506225200dd23b0fb2e0bdac1bad58d84cf73e65fab51f057"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: bootstrap-social: \u0060bootstrap-social\u0060 is declared as \u0060github:SeattleDevs/bootstrap-social\u0060 in package.json, which names no releasable version: a git source with no ref tracks whatever the default branch holds today. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c6b13d61a542e34755129084b8309856db1ad66097ba24850817754eb9304e88"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: controllers/user.js, config/passport.js, controllers/ai.js, controllers/ai-agent.js, models/User.js, config/token-revocation.js, config/morgan.js, controllers/contact.js (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"78bda2f89abf3fa186b5ea25b4d38d53eb086f6af6588fa6ee11f2b5811359ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 430, 470, 511, 544, 572), for example \u0022Tool: Get Order Status\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai-agent.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87b881fa6df0cc928e33cd24c322b73684c2f8c1bb7276cb29bb3a5ce5e6b0c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Middleware to clear expired tokens on save\u0022 repeats the code it sits on: 4 of its 5 words (clear, expired, tokens, save) are already in \u0060userSchema.pre(\u0027save\u0027, function clearExpiredTokens()\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":"models/User.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"688d23074b582218e007c1cf8cb97669fd0ad6dab210d02fd65ef889c43c7d8d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Patch require cache for nodemailerConfig\u0022 repeats the code it sits on: 4 of its 5 words (require, cache, nodemailer, config) are already in \u0060const nodemailerConfig = require.cache[require.resolve(\u0027../config/nodemailer\u0027)];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/contact.test.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88459f74bc43a306dbebd8da4598bd4b34e0252956a2e535bac7658ed387c21"}},{"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":"6df1cb24c05b3041de0ade089948405d7a0bf04445ba335736b5bba8f2bca1c7"},"properties":{"commitSha":"70894e1956e95b7db2a17bc291959baabdc8aeb4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0d1cc36f19777dcc06e97b28c88319eb97a8f2e04944297839d2d5d7bde714e"},"properties":{"commitSha":"70894e1956e95b7db2a17bc291959baabdc8aeb4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab177925d3568255dd6346ccc5065397712343ec3efcb3628ad48d63942ab729"},"properties":{"commitSha":"e62c8f37ee31aa14f4c101cb287472f57abd1ea1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"171348e1835207efd0e8f93684f1da314d43e6b007b759162728a3f5cdf01b2d"},"properties":{"commitSha":"4198b98cb4725d9da1257c08de0edfd0ff4c6331"}},{"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":"f372e28cc56bc7f6f53c5c5587a62d40dd4f77e5dd27c6fa69ac67b68eec3148"},"properties":{"commitSha":"cd80ac3b303b41347bec3fc15d626f7df0763357"}},{"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":"14c1d95c4a6cb8c82288ed94ff46d2f9a85d1b93eb3d624f3dbe38f597c7f84e"},"properties":{"commitSha":"d4af82594f4c6f6c39c79d2c99609bbe121627bd"}},{"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":"aeb7bea927513480b44d9d65ad3c4d72a928c5c36252003ad26e48e289c392f5"},"properties":{"commitSha":"67da9d7f01ac733bebdae8ff47ed0171348d1ec5"}},{"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":"01f979f7e8cb3a7973b09a15b967c0732e5c9ff35285ad5e172270d69501e957"},"properties":{"commitSha":"4e40745a5e66d20eb8d9508bed4e7051d15fc311"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9603565aa6069e0abcf535dcde33980e7f55a15fa6af1c7abedeeffe7f52bf08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74e4d9d0be6b8e3d81f682a38fbea383bbb915e487a9f94dfff6f7f8d18c5700"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b20c9e3f5f07cd9ed7d38e1ad9e3677b956fa28fa72534ce39bdba4769b42e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28f56afe7c09f291eb1136d1dd784e41ac034331e7273450fc012f72b324709f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7eb62ec0551a35d18583f1b7e97d393d69c6fc8f848bd5229d52134e65ced660"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bb61c63de177648bfad1ca8b29abfd12d3b9e8c2f07dcb7e665a0bd1cb7dc4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"144ad22a4fb679c564259a24539db0b2f66c0a8611e713c2e4cf5007960db7c4"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f00bc37f418c1f874d045524c68c35c3d36e14760340d05512571c8876fd4815"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c23d2e58acf9f65ae35fa777aedc8f8fc92d751a8800defa2ea6336194b8275"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8302781708a9ccb5d20669383e682931a03fa8f4c4071492d84537be13ce990d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"806fff0faea90b1c5c48062ece89dd5b7809032bb2f61aed30e4e74c6255746b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3477e7c637c9c11a50a7b355fb71606f48eda9458cce50d1bca74339affec17f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12598b33b5a23c9397efce2d96085b4df77bdbe8f109d69f0a9e274049eeaa0d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4b58918ec7a9de1e4741fd01b0ce655424bb331d8b0f54c9a43f9a3a80921c2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b16bce42aa6863b30fd971e91ddce7e8ea397645fd8dffd68dc6a89df322ff94"},"taxa":[{"id":"CWE-601","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfb502937d1ffbc999e57106e82a6875884ed6ffc2a1cb5e0b2edfa9025d6f63"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8892be44a4239273451be0723f98fc524e29583f1eeaf945b46ca38f6c03eb31"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c6cef53c454a1b6563580b121316887df9f0bf60be704ca25b8cb4caf1bdde23"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"883f0551d88b4961aef8194a59bf462917ea4a8412d7fa3fb83ba145265caf74"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D37","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":"a5a4c3705dd96beed2ea3999e56d96dff4ae0ffb483cb6062f65a3750c448f7e"}},{"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":"views/account/profile.pug"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"94db5e5ef3a398d62dd819a353e6093047b48cffa72813a4aac5af657505e3a7"}},{"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":"views/account/profile.pug"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d73b38711ad61024d3ce70a3fe6247d69b9cdad3f118e6e9987f2fce2d59d4"}},{"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":"views/ai/index.pug"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafc79f769d5681c2b3313af8cf6c9221f3ba5682dee27efe9e0cb7525bf3743"}},{"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":"views/ai/index.pug"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f812be2c08374d60da0d4879ebcc7d9a8f64e94717f335e1298127388984c9"}},{"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":"views/ai/index.pug"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6af6399cf42c7b615ee6156877875fa7f903d0bb8bbedb4eedd49f3bdc2ba81"}},{"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":"views/ai/index.pug"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e1e01890bd2b0d5c140ead63280e5a4f0409a556b2a7838fb0937de6820325"}},{"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":"views/ai/index.pug"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ef36692a11e784ad4646bae51791819a195dc8a1d842844a5d64728a800363"}},{"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":"views/ai/index.pug"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab036c707b2030db9c9643d5144871e9f0ecb04ce6f08b9a6a2f9c5543be86be"}},{"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":"views/ai/index.pug"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a6ebe5e60914b5ac27ceec1fc07ad621a13e940fef60bb4c821ead43de2b9f"}},{"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":"views/ai/index.pug"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc5aa1e8f392948d3db7dc5708df2f2bf7972042144c84a76d0d497a74d643"}},{"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":"views/ai/index.pug"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fa06e224b42e511a6ff9900a0f88dce993c3fc8b06399ac3466b7ccaa182f1"}},{"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":"views/ai/index.pug"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f175245e847c678d2773a6d6709d4e73b123263a4de353deb3d27cd0a37c9cdb"}},{"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":"views/ai/index.pug"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49de8c5de14a9476da297f23310cbb980f003f88550c73889e23881eaf877d5"}},{"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":"views/ai/index.pug"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25f9234423a633d4892079cbb264a15880b2db895594210651470e970a90f9c"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/chart.pug"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea07db38e57c0b1708695818963f631636099ac413d7831e723df59febe10db"}},{"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":"views/api/facebook.pug"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"22daebf25a308d48d98f6ee7f353e1e101c7dbad5bbfda83df85d23b72c60a11"}},{"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":"views/api/google-drive.pug"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdd518bc58facb9e82fb485b009636130c7419a696f62f7bb4f2836edc0ce74"}},{"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":"views/api/index.pug"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"303624ded26515e39856b95eb8b96564d5fe33bfb82cbccce76794f3f863f36c"}},{"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":"views/api/index.pug"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e4227832dd3d7cc75f9b9f617f2453353fc2434d99c8be2e26f94f56240cbd"}},{"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":"views/api/index.pug"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa20cdbc9427a8886f3a2e596be08f8d8fc7655cf6cad4e45a8688fe1309ae9"}},{"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":"views/api/index.pug"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6619ce6558a0fde4976d8ac6ab28ffe5a4b121cf6d479f411ac4f376cd55680"}},{"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":"views/api/index.pug"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77accd9370babf904f7289e314a95f7e092445275f19bdf586623e53c120c1"}},{"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":"views/api/index.pug"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a5a5003126fe9c037cb7775ecdd78404a671c77a302ac4b68331ff0b324d8f"}},{"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":"views/api/index.pug"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"82901aaa402ddcfa6ae7fb50c0e497477660d26c391640052fc04e7927458362"}},{"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":"views/api/index.pug"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda8d8c61187100699dd2b107734019e55f91ad22ddd1604d4ba4fc739bc5313"}},{"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":"views/api/index.pug"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f116a2d4393a386751fb845486e23076f02a714b804f6d54bf2f2e06106f01d"}},{"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":"views/api/index.pug"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb04b496250387ae7c8435d0926a9b13b3025338a94727e1a6d7316f966fc48"}},{"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":"views/api/index.pug"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea742884c550778dbfa263d212d13f7fac447037f5e375224a6c52167279beeb"}},{"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":"views/api/index.pug"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff49404d2076dffa66a53371cb68c2f6a7fd40c8ba25fd08489e5b5756e6a9e2"}},{"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":"views/api/index.pug"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8a3af16c8b579d698b307a65b6f2995f59476b947fff2dda6ffe27625109d"}},{"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":"views/api/index.pug"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb890f7e8811a4e9cb7b5033faa8273df7db7dd7b91d4ede071c514823dac69"}},{"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":"views/api/index.pug"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a820237fc749639d89fba6922afaf404d7f6159542d660a6665604d08dde8c"}},{"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":"views/api/index.pug"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744eb1560be43e15205b96ba0d5d170554a9e1a3488935d56c6a73aeb501d15"}},{"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":"views/api/index.pug"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd49c3eb9f3d2e16ec3c60137f0857e5756467e9f3af4859aeb6caf21262a7d3"}},{"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":"views/api/index.pug"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4f479ac52214f46197842e9627a805689b1d8f8694226b875dc7025eae1879"}},{"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":"views/api/index.pug"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd40ba11a5aeff89d346a636ddef402c048ef587b762570e3434458202007f0e"}},{"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":"views/api/index.pug"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf34c7e9ed9da69d9c4001d73988276254da15768747dae8275591212c2ef932"}},{"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":"views/api/index.pug"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ea320387b5ddd9ec72e46e2cf68594a789dab66677426dcf81b1d05c2c90c8"}},{"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":"views/api/index.pug"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"868644bdffb3bc44f87329faeb742cfc9ebe62355bdb93bfed41321b9158df74"}},{"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":"views/api/index.pug"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e59746d1ee14aa69323e6d7786e37f6cbcb56d87a90f42176c70450fc0fe555"}},{"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":"views/api/lastfm.pug"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1208774441f65ae396e21e1e9f7c21ec05407ceecf802104d8a0beeef0ce03"}},{"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":"views/api/steam.pug"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d545f1aba1451420b4ed69a3b36675484fddf38e87927f12c56631330c4711f0"}},{"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":"views/api/steam.pug"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71700c716cda4aa697bdd0154b76885a8135a8f6f6c69df4c50243dd36c55096"}},{"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":"views/api/tumblr.pug"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d73728453cb9679adcc4bd4c76812677b1c4c3eb2e1545337dc2a149d819844"}},{"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":"views/api/twitch.pug"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6520edf5c6054754744645e9caa6d11922435de31ddaf48bdf57486c5fae083a"}},{"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":"views/api/twitch.pug"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37d1fa7bb2aad6c33969e79ae7a23bbf2d0249f8af5a40a14ab5d7b1629669"}},{"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":"views/api/twitch.pug"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"680f2e5543dabb643e15035fcc7c4ffd8882d3c469cd8abf654e39a5dd4a5077"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ebce8dba438cde3acde8d5e831293a7eb1251a785fbe867f13444945d23dd4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c62fdf77be1f9b5bdad248c38fe89684398565544bd059d179f38b25684631d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a71bcbe9e6ff32d71a1abcae697cf9de8b3fa67d20078557fa6367960f7f89"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9b8296a98a9cbde56a91a0b7301a9559a339553a2c511852899da234b780c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f79c1929ff0150b7a76d8b6d6eaf8b116c905d1d23a37d41cbfe0801f5f45"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5c3b193f0c8ab59f8085ce3b9e18a2d8a16d22359ef92aac9454d72903aa32"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8bb4e03c6b4f0fb5e8f898d86041de09738b8a5f61bd1ea70a797d6f3b2d71"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/account/profile.pug"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5aca389752af85777f9993444eef01fec83cab509c02a3693a6234d829a464"}},{"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":"views/ai/llm-camera.pug"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f469b7e1578c097dd81b7bbc802730dcf71d80c9a50006b3cf961978f0dfd4c7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/giphy.pug"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50558afbfdfc636a35287c93211a78723ecbfbfdf4b929e70690aff46834edf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/giphy.pug"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"892149317bc133eb40339a5574c442c3f4a7f39e7975cd0d166c3e71d121d33a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/twilio.pug"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ab12a34ccb768a75a1b3c5af424a0228f192d881556be7959043662861c298"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/twilio.pug"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0030ce99833313f4db6a289e7c11951495236176fcb2c589191d5b0485278a1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/upload.pug"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d2a47f3a41469052ba36ac65e2e5444625051d0de8b33528f8cf0111a5835a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/upload.pug"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ef0d1e316e94629e259ca61106875da81800a16cd107c6964934390bcb6d4a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/wikipedia.pug"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"77320a9bf165e924bf29484dd25b3e9b8c8e2edba0f8d5424f337e3e0cf98bb7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/wikipedia.pug"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ae461bae6fd7bab77304b71dfa257cde7c23b9020a912b6a4cb96fd5c8ae6f"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/privacy-policy.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb01ccbc14f188e6584837fad8a6a60d2b753689b35233f6931d752ff65633"}},{"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":"public/privacy-policy.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88e44c1a5283331d5b84a5be0885c8ee9eaf76317b15e7b6ecc5b29ba8416d5"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/terms-of-use.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59ecde31a8132cde25b8dfbec968bc43cfc87499f06a251e17b9157f5a45ad3"}},{"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":"public/terms-of-use.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc6ed1ea589e195a688ad57d4fd389751f999c29b4f873f7cb13f3f4c8addd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/ai/ai-agent.pug"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9104d3bdf436a4870b1af00b0bd4e5e44b6b843f81a0eff5e224ad4d33d43dfd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/ai/index.pug"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2c2a357426363c2ac1350c809691698463d7ad4c156fa96172200bcb398982"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/ai/llm-camera.pug"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fee1cfa0ae23f0447e5539c8ecd8bbfc0d4d900155bc3eccfc1cb772f46c8f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/ai/llm-classifier.pug"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c4602dff863e872cd6eaa78532686f652480c00e68989b395e14b25c0858e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/chart.pug"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e62ce85c2dc75128a20db61d1d870dbb1e810d3f23e2a89225ad83e7328e05"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/facebook.pug"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff60036c40bd8b228813a4f691f6cef6abe966c47476d1c1f28e25ae89e27ea"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/giphy.pug"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"358c9dc42a03d15be5c39446ce5c76f450f42e7559a45fde21e6db43136ddb37"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/github.pug"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6f01611e6da4d2161cd7c23890a8872dfe50c19270750ff8e43e0de2cd7639"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/google-drive.pug"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"40597b2085b8efe43f4504903fdb474a6b6ae4e8faee98417825b0aec1bc35a4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/google-sheets.pug"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd198529f5173c986e5c81e3edadd0104832e120ef60532de1d3762409f11d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/nyt.pug"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3890027857eec4efd44d390da0066ff5bf749f80a0930e645c0fcb36162b09a0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/pubchem.pug"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"620940bb7ca74ca9aacfcce0a4ee7a6a6cc8d58f913aef7a5c984a299fd80a52"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/steam.pug"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a66111209c4b99371abe4e87f5ed2e9018dcba44b5220fde90e10cbd40bd4f"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/tumblr.pug"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d23e64e28325cb2d4e8b115fdbacc8d30d924484ba8b5568e2a68764cf03b4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h4 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/tumblr.pug"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f30087de77e3462567dceb74e8bf5afec60f43c79a595ed72842f6e9eb77c6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/twilio.pug"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e1664e489b838f4d5556f85cd8012c296633f83de37a430d6bd74a13f597d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/twitch.pug"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7c3be64c8e7dbd0492103806c3ddada97bc958417caf09219c82e48a1b8d3a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h6: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/wikipedia.pug"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f96a68c7214a37866dd95c0930900079642c44ccaeaea08dc44d2528e65e7b"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h3 to h5: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/wikipedia.pug"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9101dce5f35ba1a2cccfd888583b970b6aa34d0db11aaa61e5159cf15919e82"}},{"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":"views/layout.pug"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59c289037fa7d1915e1e1cd73907b3a41b590b9f72ace701c015af71fe70a20"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.2:1): \u0060\u0026:hover, \u0026:active\u0060 sets color: #fff on background-color: #0f97ea \u2014 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/css/main.scss"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"09413e832ac1bc1e13e14eb5fa5b35dd2d04ae263b4e50f560de334caecfb068"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed59deec9eb6823fc6463b6bd197a0e2db65c6739ff22e6a3bfe970a8ca38e38"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2713 \u00B7 export \u2717 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/google-maps.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c07bb20189c8dd0f113c1c83031d6b555781470c7819404a16880cdfda310c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/here-maps.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6901585c698df4420a66a42c599924c27191621040e0e5faafdfde6323f7ae2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/lob.e2e.test.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc3b9b8a29313826abda9ab7a48f94792f323ac3f61c3a695c9229acef09b5d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/rag.e2e.test.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86f9302037be0e3d803ca93af64c8d266979004fadca80a2a5cd19db7ec3e5a"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060app.js\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md names OAuth 2, but the manifest declares \u0060oauth\u0060 ^0.10.2. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 19 JavaScript/TypeScript production file(s) this check read across 1 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4907749c7f557f566aacaaf0ce075da89e833fd14410948e1addb7ff39b9bb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade89cf3f3f2f2357442e52de6a9728bf4509d86e11570d155c832db336ab3a1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b411dac3b6a649a3d3074b847cfdf9937bf05ab07c1f76d76636f8e8a95647"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de2ca594b12478fc5114fde93c486fc96a624eb8440de466b9775b78357614"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6341c4439943b13ac43399bbeb841af5f3acf5052ea54aeccf3e1272d8782f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a657c7ad6cb746414cb3bb1aaf31d0a051c7576fba1bdf591c2f9c207226ab3c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29589839d699457c2b901c635f726551b07904ef5ade7ccd0175cb30ffdce000"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0a357ada88033907b1834002e11234ab6092c87045952af67dd387f159de6c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d95742d4f7a51f63fca5d413ba8904afaf9131dbe8a58ba44bf82d82a74de15"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"967b3c474daa2cad22323064ee21e0b8f935b877b5886b81fcc05fd992d67c84"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3454ba9395658dbbd252c040196118fe6f3a5f65ddefaeb838506132763b42"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2d76e7e4290a78332b9de6a231729b48a30270fd409d5dbdb410d19f104dbe"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e8db35996cd1b3da8dcbd694c6cb404bd6559df6ddb1d56cd19f7530bf56f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"608f7076fe5574024142909429ec176cb800a9713d9bc5987aeb4a4ccbe7e611"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b114535662ae533dd5c5ec78e1f196fc0cc64f6bad34664ab9d548cfeca56b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"8096dac9f6ab11f8cf144c800274e730058175c71bc875f7f92af67847c047a2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6ec8f63ffcd4fe03f704a1d8f275eb837d0e48c37c37435123fa5d106a161"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"287c16c05aae2c8523c5b71ea48f61b3533f82e2c55cfe7b37c00733ad33f839"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b122cb7b14ae0e691c83308ad7e7308036de1d935672c8065a91c3967e56d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"83348ca0d63aff2c78d099e968963c65996bc80cbd7dd8cc4fa5cea84531dad3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d432881a4f1f3ce1fa8381149326dd9213e536aaa220de3cc74a32478fc09a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b76a460efbe5e3b7442e28dba84ff1c9ebbd790193a63470c84ad44d9db36c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84e380e6238705e6d5841c3900ad9ce9e32f754aea3d1647ea26c8a764240ef"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7b8a626fa0d9e4a70c0b6e7140b7c326f08bb41fbb1d58cad29d5c4a7fb5ce"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a90e6b035c3664e88e7a63cfc77b4f8b1b559555f1005395c5be060f079dd9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fdf345286d1fece9d111df08a6e09daea08aa4621937ff2366b0111c0f16be"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd34a8132eac70c96f28fc98d1b98907e4bf2be3d5590fcf78670bcb63514255"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d677e162bdafe7b6a5e69e5db58afbd644c6b0ede6b8d7635a6762bbb89581"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d557712da9e7a693bda1722cf12af6c475ad8a5da442b1c6d9f619b5b53afc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0c20d020baf8a2c9a63bc22cc4c0a6df116163274dfbdc4c8e72799ada6ef"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4335cae632082fd94480a8ff909296a5429151601815306692d3635d1c42a6d4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6854c2c767f15f0916be75cc729b44e93e61e6d201a7bff1b282165ead14eee5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e780f687c61f3f0b45816c1b44d43206d4f83ee9ea03dcea5ba1064233bdc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ac6bef60150e863c5e9f16d0d53ee3e44c61ca2fb127cf5492172d67681298"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f7f6b1cd6ff3581583a2ed42130145edf6fc850e6efc52023c171e7d87cd87"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4c23dd575262000b2a308fa0e529571fb4e03c39cf19898fe0125da37a793"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/contact.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b065bf84ce57cf6750a9e85ee9ef31545b76537d0bd6b059ca4f28e948009947"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 54 plain JS \u2014 the untyped files are app.js, config/cacheBust.js, config/flash.js, config/morgan.js, config/nodemailer.js, config/passport.js (\u002B48 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3 locations): config/passport.js:420 \u00B7 config/passport.js:473 \u00B7 config/passport.js:716 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"741bcd42af9d841febd88ea9b276d80f34f6715bbf20c71a6c8493f313c7a162"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): controllers/user.js:874 \u00B7 controllers/user.js:979 \u00B7 controllers/user.js:1049 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fc8813ad0ff50fa2d4b19b9710a6f1c0ee468614314dff23a1d322d1ae1be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): models/User.js:215 \u00B7 models/User.js:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"models/User.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"911771995cc227217eefa32009f117b1d18e012be7c98d97113dd26fe9dca432"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): controllers/api.js:421 \u00B7 controllers/api.js:439 \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":"controllers/api.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3ee8a639154a7a008c4c7a3b1986a392531e9f2454868a7c9744e61e5d4f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): controllers/user.js:916 \u00B7 controllers/user.js:943 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9d0f084fce315de41c3dd53af454d7622f37962b19b6236ca614c09f17d166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): controllers/api.js:1165 \u00B7 controllers/api.js:1194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec29e51e9df946f83bc88b532909006212bf0d8bb9f38a3e20a78ae0ad83af0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): controllers/user.js:57 \u00B7 controllers/user.js:206 \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":"controllers/user.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d59dffa8e25ad58eeb778b4b1d9581cb3febf750423406208d7da69bcf9a384"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): controllers/user.js:503 \u00B7 controllers/user.js:909 \u00B7 controllers/user.js:1089 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcdbc6d4803c7d19e2b0f36ee5f5fa409d86dce68502512bbf3e40153dc104f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): controllers/api.js:586 \u00B7 controllers/api.js:600 \u00B7 controllers/api.js:613 \u00B7 controllers/api.js:626 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3cf6e5da121e5bb5047c4b017714e7523ee054b8509870baf3848daf7d88f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): controllers/user.js:837 \u00B7 controllers/user.js:1022 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1203ab000e212e986998344609464bdf020868498d2fd42e0fc608c655ab9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): controllers/api.js:312 \u00B7 controllers/api.js:324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad150e951ef06994e179392a8813a431fa04de825f8b9f5fb0ca998effb7f5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): controllers/user.js:24 \u00B7 controllers/user.js:304 \u00B7 controllers/user.js:693 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78b9e19fe7bf1eb75c82f608b708f96523e26848808bc49ef8299695821d40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): controllers/user.js:939 \u00B7 controllers/user.js:1112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"071829dc53b263cb8416f8af24b0b49ec4b33d753e0f6da0bf6ccaee49ef6ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): models/User.js:156 \u00B7 models/User.js:170 \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":"models/User.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"114f64ac359df6c2a75cc941e5dcd951c3e24c20ea1d5ad2af49c69e9745e94c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): controllers/user.js:253 \u00B7 controllers/user.js:316 \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":"controllers/user.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fa7fff3b8e180b3967b46e38e3e410254fe8faa2d014b5277eb43772323b8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): controllers/user.js:1110 \u00B7 controllers/user.js:1130 \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":"controllers/user.js"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6dc12639f3e8ed93b3ef7035417dd36e6c148b79fcdf2e552e501ffd42ced1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): controllers/api.js:1370 \u00B7 controllers/api.js:1385 \u00B7 controllers/api.js:1401 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69a70a4685f9e37a244a64dc1d4cb287a84e32bf36dc8d2e70f922765b933e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): controllers/user.js:386 \u00B7 controllers/user.js:941 \u00B7 controllers/user.js:1114 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9c43a0e6f988033675f742b3c22057da867216ad78e77020b696cce026a531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): controllers/user.js:137 \u00B7 controllers/user.js:405 \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":"controllers/user.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3210c45b84305be28bf56669d12a74e7f57f1c765dd8d2855ca04de14e872c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): controllers/user.js:491 \u00B7 controllers/user.js:649 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb5b15010d89a772c21da6a03354f720d27f43893622f351a83922c1e07f21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): controllers/user.js:817 \u00B7 controllers/user.js:1035 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"044a498c9e7037a2b37cbc8b0e1cff92073c7bb270fabe88758cd30a39696cb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): controllers/user.js:122 \u00B7 controllers/user.js:505 \u00B7 controllers/user.js:910 \u00B7 controllers/user.js:1090 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bc24fd1d4ad23cecd6322ae70971eb084ebea1bd41d0977ebaed0e86ed5e86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): app.js:366 \u00B7 app.js:374 \u00B7 app.js:382 \u00B7 app.js:390 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"754c91d5a30b592127f2342656a1dfa0bc13d312f4f61b46a2c8cbe27f600ebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): controllers/api.js:1392 \u00B7 controllers/api.js:1408 \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":"controllers/api.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7916ffdad844c8bc8c039d42b70a58283ac63f911b8856461417d8e23e173d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): controllers/user.js:166 \u00B7 controllers/user.js:202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7421c0ef4ed300be60dcb34e30c05a7d4d8c785eae15536a42f687a6f6ae61a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): controllers/user.js:1007 \u00B7 controllers/user.js:1082 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"2592c3d9caf0ed9411e38e2a9f8cb0aae6032437f60084d7ec8f670f72662c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): config/passport.js:407 \u00B7 config/passport.js:553 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea0c2f8ea32111669889389efeab421ec5262f46a848452670cf7ef8d6b563d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): controllers/ai.js:413 \u00B7 controllers/ai.js:537 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8d39ee2fb3a05eedb0343bc2a48cea0f248ef1d900ed1328c15683a47da10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): controllers/api.js:1360 \u00B7 controllers/api.js:1378 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b8851b11920c3e0cda416a7374fc28defeb581a560301040fa2b66f60ff8e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): controllers/user.js:366 \u00B7 controllers/user.js:633 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22469bb7498821696b6ababa87c2174d81e2ad1088b40f1ab043ff868a5605c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): controllers/ai.js:560 \u00B7 controllers/ai.js:567 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"248b585d79fcaafe0e83db1e2ce7eae6ac770627bf86bf48ae7896921e63bf20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAuthLogin (cyclomatic 21, cognitive 29): handleAuthLogin has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60f54e106e671a59bc2b28dd92db848bee405d03de6f5779fc2cf82256e2a3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postUpdateProfile (cyclomatic 20, cognitive 20): postUpdateProfile has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2b0103e8fc07bcd1ba6f35807f13f5766eaee5fb3a94cd6fdb3283b295461b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postAIAgentChat (cyclomatic 15, cognitive 19): postAIAgentChat has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai-agent.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1609f1246876179a239e5c5b3b6b5109cc688bd7fe5c58cdfecdd161e09f4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fdda54e1ebd1cf13a2bdba341a84a3c780430997087542138e0155a40242d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postRegisterVerify (cyclomatic 15, cognitive 15): postRegisterVerify 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":"controllers/webauthn.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe230c9ed60e37cee5b2a7c3ef4f8ea6373203434f709823de3f2482d2ac460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanViews (cyclomatic 14, cognitive 27): scanViews has cyclomatic complexity 14 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/simple-link-image-check.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdd0e8ff24437512f1c42add316ba0d0fd7e9b770a68017dc87ded4e4aad737"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactByField (cyclomatic 14, cognitive 19): redactByField has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/nock-server-fixtures.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa95e1a770b7cca3504e1eaf44dc8753e4564562cd8d76eeff1e7017a79221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPubChem (cyclomatic 14, cognitive 13): getPubChem has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570731a270dfab0fe907748f18546d01303a324dada6775353c57184576eafb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postContact (cyclomatic 13, cognitive 18): postContact has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/contact.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4589569c0f5e2e03c71af8be0b734f27a5897291766a4aece9f7343c1b630083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSecretValues (cyclomatic 13, cognitive 17): buildSecretValues has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/nock-server-fixtures.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"168065b354f37246709860bc8592f4024cee01ab5d39bc4999430a3c63b18109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkList (cyclomatic 13, cognitive 17): checkList has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/simple-link-image-check.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"afac79a642c3c1e28a27b962bd651a75340969b5555ee9788968e775d0f8772d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isNonRetryableError (cyclomatic 13, cognitive 13): isNonRetryableError has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f322d0f35bb73579ef56df34c17741e715d86d12ca044483ee1f79a14bda89dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e-nokey/pubchem.e2e.test.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"15103cb0d33435c603321eaff686f3d529c0e73f543a1e354ea0026135da76a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveOAuth2UserTokens (cyclomatic 12, cognitive 16): saveOAuth2UserTokens has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c464b5790408b3af7381a66ec82265147f71bd7afc7adb33696a2b7f05863402"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f81c475b326892ad634fa228c299e38ca8f2ae19c28b5edbb8cd4da14c6318d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 14): main has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/start-with-memory-db.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bb565502ac399c41651b15fe3613733b9d7b5ce09ae8625b35715c5398a6f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36a98801a18ac7c5609e9aa65e43fab3a4c803c8063e5d81ca444a8f0749628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc257dd8b091d86feac285ff125e5a4527e87e91974da5b2c8bf722cdd839a39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc36133dca7fe9081f2a863e5b7ff5981b2bb398a0efbcaa6a98e945408f0215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff71afdaa6d2c836eb5c1ac6345b5e950aaf8de910ae980f48cf91d7bb844e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkUrl (cyclomatic 11, cognitive 21): checkUrl has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/simple-link-image-check.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1781e87eac98c2f4c3bdc36cc5bd456f6e2db2c157d215dec15d00eab28df634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/rag.e2e.test.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"966ad339844d31c054d95c30c582db92b8c72dacb3263a7e5538310f35aa8de3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOauthUnlink (cyclomatic 11, cognitive 15): getOauthUnlink has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7113e220d5062e2547492e89c2fb6911e7a028b9428ce915d2a6d93b25208047"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postSignup (cyclomatic 11, cognitive 12): postSignup has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4314da57b1250b08bb9e45596027b0132d72c450d029f0726e4215866bb4cde1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/nock-server-fixtures.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c8b0fe7c8e247ff1f05ad5aff7c012025305d3f674de4db67277ad809bb2fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hook (cyclomatic 11, cognitive 10): hook has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai-agent.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d2851389eaa98522b2f90522a0ae7b2a206c74374ef5f783b458b39b166952"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function postRagAsk (cyclomatic 11, cognitive 10): postRagAsk has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9a345f5a6ad59fa22fa78da05885852c4966e2c02460dbad7cb287ad0e1f6"}},{"ruleId":"R3","level":"warning","message":{"text":"controllers/api.js: 1393 lines of code: controllers/api.js has 1393 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":"controllers/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04376c43c8d8009e9349e97f5dfab11a7f6734aa5cc528058228a5c84ac2ac42"}},{"ruleId":"R3","level":"warning","message":{"text":"controllers/user.js: 1038 lines of code: controllers/user.js has 1038 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab109d02a4409ed357998bdc33f0f5aaec45c7bfbd759679b7ff9b180736391b"}},{"ruleId":"R3","level":"warning","message":{"text":"config/passport.js: 867 lines of code: config/passport.js has 867 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/passport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c707c64a2c89a3376c23ad46a31ebfc23aeeac05febabfe49d7f0f250dbcc7"}},{"ruleId":"R3","level":"warning","message":{"text":"controllers/ai.js: 799 lines of code: controllers/ai.js has 799 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":"controllers/ai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc3ade13ffd6b236ee4d1232a9a37070714be3f1506132e41fb4ce95176360"}},{"ruleId":"R3","level":"warning","message":{"text":"controllers/ai-agent.js: 623 lines of code: controllers/ai-agent.js has 623 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":"controllers/ai-agent.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7884be311fc34eb142ccfb147c17100309f347ceaf43682fb7b9be21b5a45a13"}},{"ruleId":"R3","level":"warning","message":{"text":"app.js: 424 lines of code: app.js has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56758df0414b54d4f1d9ee17bf123cae357aed5847957a85362ba2c8f12271ee"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \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":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai-agent.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5ff500a17962ae363e0dc747b58347846c04b74a2e7343f6b6cc72a747e5b9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@eslint/js\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a8e2bde32c020cc36bca097752e4963f147b2eec0e363471016e61958cbb0a7"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@langchain/langgraph\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8868e6d128aa62c8a267d717728a3103b847ec43d9fa09c3dff479688018b837"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060rejectUnauthorized: false\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the option so Node validates the peer. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: pass its CA as \u0060ca\u0060 (or set \u0060NODE_EXTRA_CA_CERTS\u0060), which keeps the chain and hostname checks on. A managed database or broker that documents \u0060rejectUnauthorized: false\u0060 publishes a CA bundle for exactly this purpose."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/nodemailer.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1c8d390f8c36954e3b84e37b69bbd3a05f8030f9dbaf85921f56ce53804a6a"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://js.api.here.com/v3/3.2/mapsjs-core.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 6 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"views/api/here-maps.pug"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d84ac260721b9784f07e4674798f810fd3cd7859c9000b9b4e79a183b1033a"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060app.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"048242334f04cf1a2cb6269eb72b76d48e65e7cd7d05d7e2372f34448dac2806"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/16 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: callGroqApi: \u0060callGroqApi\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"09204217cca96a84f9983724f61374573f3d291517fd94104c5ba80208f76506"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPlayerAchievements: \u0060getPlayerAchievements\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca3786ffff8de3b40aa63ed7218925ab55ccf32d6562052b8c23c20c54570d0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPlayerSummaries: \u0060getPlayerSummaries\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"890ab340a450b6e122ff72116f3bb5d6ef7e000315417e867a126f1e6a08fd78"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getOwnedGames: \u0060getOwnedGames\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1401f58ba2fb56a1f7d04b85e2fcf85a74d53c3fd71a57684ed6a923718eccd6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getUser: \u0060getUser\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bf43b167e739ffbc599b90c9f605c28aa5339ec5702a45c389d6c5a8085820"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getFollowers: \u0060getFollowers\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"2474e7ca1c97b6bd23931f00542dfe82146e7341f41b08c6434ae9178224c08f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getStreams: \u0060getStreams\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"600396e4e3b86b56f2dfcd23589d81935d5aafbc6155cf453a5ab787d3eca20c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getUserByLogin: \u0060getUserByLogin\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780c0040248868af3fe7f38668861296cfa462a2fa1febfe35bb2964c7a4238"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPayPalAccessToken: \u0060getPayPalAccessToken\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec8106600f921e9315ef0db5ffec896d6ed07ef656ab2791b0293e34e3a64ca"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: searchWikipedia: \u0060searchWikipedia\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e87760429f5e106a8a4ce8905dfe149f5b2ba9c1ce6cbd1aa0a1de8b55142b7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPageSections: \u0060getPageSections\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7a2bdcd3bd246a798cefbad474f4b74ff054c0c67bf4debb216f296325de2f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPageExtract: \u0060getPageExtract\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"15163255560bcfebdf7e49a69a169576d7542f43f23c7b353c4304abc22b98f8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getPageImage: \u0060getPageImage\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/api.js"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83b1d3c31099bf468a8ea45cd43b3609a33177398286ba357ce8f41e77f5ed7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: validateReCAPTCHA: \u0060validateReCAPTCHA\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/contact.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa20ade84bb6187be794e5d3ff7463b63e26fce9b67c050373432c87fe530c98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/js/theme.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d20a6a4424f1a06f7ffc3562ad3af4582d29cceda5285cd9ee95f24e875476"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/ai.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc02d7d1b766e6257de0918c4cf0335999b8b07ce591d0e185f02706648edb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bodyFingerprint\u0060 swallows every exception into \u0060return \u0027nohash\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tools/nock-server-fixtures.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd336716873bed951b9e8209f67e6f3e190e72b8061f3b94f5cb9d5e98909852"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-601","guid":"9b8963d5-129b-475c-90cf-2d1766e66f2f","name":"URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)","shortDescription":{"text":"URL Redirection to Untrusted Site (\u0027Open Redirect\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/601.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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."]}]}